diff options
Diffstat (limited to 'testing/libxaw')
-rw-r--r-- | testing/libxaw/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/libxaw/APKBUILD b/testing/libxaw/APKBUILD new file mode 100644 index 0000000000..39d730b09d --- /dev/null +++ b/testing/libxaw/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=libxaw +pkgver=1.0.12 +pkgrel=0 +pkgdesc="X Athena Widget Set" +url="http://www.x.org" +arch="all" +license="MIT" +depends="" +depends_dev="xproto libxmu-dev libxpm-dev libxext-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://xorg.freedesktop.org/releases/individual/lib/libXaw-$pkgver.tar.bz2" + +_builddir="$srcdir"/libXaw-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-xaw8 \ + --disable-static \ + --disable-xaw6 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="7446f5fba888672aad068b29c0928ba3 libXaw-1.0.12.tar.bz2" +sha256sums="96fc314874fce9979556321d1d6ee00b5baf32fb333b7278853b4983bc3cdbf6 libXaw-1.0.12.tar.bz2" +sha512sums="baf11625a20b89f08747e25dff6755ab796c8a5a91341d3cb21f85780733c4a3c25bbf134ac6259982207067d0a617f83f516c48aef6f57cbab14c8a9862944d libXaw-1.0.12.tar.bz2" |