diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-02 15:45:56 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:53:39 +0000 |
commit | 2d007568362d6420722091c4d6360880093e591f (patch) | |
tree | 7d32e939d9273ad39615379093393eba7c62b7a2 /main/libxext | |
parent | 906e14222500d1a4b82e1907367bad35f0c8ce52 (diff) | |
download | aports-2d007568362d6420722091c4d6360880093e591f.tar.bz2 aports-2d007568362d6420722091c4d6360880093e591f.tar.xz |
main/libxext: modernise build, add proper doc deps
Diffstat (limited to 'main/libxext')
-rw-r--r-- | main/libxext/APKBUILD | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/main/libxext/APKBUILD b/main/libxext/APKBUILD index bac8f86604..bb0579aec2 100644 --- a/main/libxext/APKBUILD +++ b/main/libxext/APKBUILD @@ -1,43 +1,36 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxext pkgver=1.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="X11 miscellaneous extensions library" url="http://xorg.freedesktop.org/" arch="all" license="custom" depends= -depends_dev="libx11-dev libxau-dev" -makedepends="$depends_dev xproto" +depends_dev="libxau-dev" +makedepends="$depends_dev libx11-dev xproto util-macros xmlto" subpackages="$pkgname-dev $pkgname-doc" +options="!check" source="http://www.x.org/releases/individual/lib/libXext-$pkgver.tar.bz2 " - -_builddir="$srcdir"/libXext-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/libXext-$pkgver build() { - cd "$srcdir"/libXext-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - || return 1 + --with-xmlto \ + --without-fop make } package() { - cd "$srcdir"/libXext-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="52df7c4c1f0badd9f82ab124fb32eb97 libXext-1.3.3.tar.bz2" sha256sums="b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35 libXext-1.3.3.tar.bz2" |