aboutsummaryrefslogtreecommitdiffstats
path: root/main/libice/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libice/APKBUILD')
-rw-r--r--main/libice/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/libice/APKBUILD b/main/libice/APKBUILD
index 50023319de..1ae34ce073 100644
--- a/main/libice/APKBUILD
+++ b/main/libice/APKBUILD
@@ -7,13 +7,20 @@ url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
+depends_dev="xproto"
makedepends="pkgconfig xproto xtrans"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libICE-$pkgver.tar.bz2"
-depends_dev="xproto"
-build () {
- cd "$srcdir"/libICE-$pkgver
+_builddir="$srcdir/libICE-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \