aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++
diff options
context:
space:
mode:
Diffstat (limited to 'main/libsigc++')
-rw-r--r--main/libsigc++/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/libsigc++/APKBUILD b/main/libsigc++/APKBUILD
index e7e44d9a82..6da1bf843a 100644
--- a/main/libsigc++/APKBUILD
+++ b/main/libsigc++/APKBUILD
@@ -11,8 +11,15 @@ makedepends="m4 perl tar"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/2.2/$pkgname-$pkgver.tar.xz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,7 +29,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}