diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-02 15:45:31 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:53:39 +0000 |
commit | d091d57d9b19e8c0a534062df827e78f0b4ce955 (patch) | |
tree | 44d29b3e01e10ebc3dc30394baebc6513809df51 /main/libice | |
parent | 2d007568362d6420722091c4d6360880093e591f (diff) | |
download | aports-d091d57d9b19e8c0a534062df827e78f0b4ce955.tar.bz2 aports-d091d57d9b19e8c0a534062df827e78f0b4ce955.tar.xz |
main/libice: modernise build, add proper doc deps
Diffstat (limited to 'main/libice')
-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" |