diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/libice/APKBUILD | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/main/libice/APKBUILD b/main/libice/APKBUILD index 8431ca0e8c..d455edd1b5 100644 --- a/main/libice/APKBUILD +++ b/main/libice/APKBUILD @@ -1,37 +1,40 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libice pkgver=1.0.9 -pkgrel=1 +pkgrel=2 pkgdesc="X11 Inter-Client Exchange library" url="http://xorg.freedesktop.org/" arch="all" license="custom" depends= -depends_dev="xproto" -makedepends="xproto xtrans" +makedepends="xproto xtrans util-macros xmlto check-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://www.x.org/releases/individual/lib/libICE-$pkgver.tar.bz2" -_builddir="$srcdir/libICE-$pkgver" - -prepare() { - cd "$_builddir" -} +builddir="$srcdir/libICE-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - || return 1 - make || return 1 + --enable-ipv6 \ + --enable-docs \ + --with-xmlto \ + --without-fop + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir"/libICE-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="addfb1e897ca8079531669c7c7711726 libICE-1.0.9.tar.bz2" sha256sums="8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202 libICE-1.0.9.tar.bz2" |