aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxaw
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-17 12:09:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-17 12:10:10 +0000
commitee16929e9ce0aa0784b0ad32eebead33af719b41 (patch)
tree825235e6542a1c9e25ac339e979964997e6bcd8a /main/libxaw
parent2883eed5a3cca752fc9d443793333e90cb06e5dc (diff)
downloadaports-ee16929e9ce0aa0784b0ad32eebead33af719b41.tar.bz2
aports-ee16929e9ce0aa0784b0ad32eebead33af719b41.tar.xz
main/libxaw: move from testing
Diffstat (limited to 'main/libxaw')
-rw-r--r--main/libxaw/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/main/libxaw/APKBUILD b/main/libxaw/APKBUILD
new file mode 100644
index 0000000000..39d730b09d
--- /dev/null
+++ b/main/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"