summaryrefslogtreecommitdiff
path: root/user/libxaw/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 23:39:10 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 23:39:24 -0500
commit19e2a8b18c498cadcae318f07e52b6ddeb3a69e9 (patch)
treeb1fe4af1633e4854d015bbcd6adb292e5ca530c9 /user/libxaw/APKBUILD
parent2497ff18e90b6e0aaffb3ab57b106b3f6a422692 (diff)
downloadpackages-19e2a8b18c498cadcae318f07e52b6ddeb3a69e9.tar.gz
packages-19e2a8b18c498cadcae318f07e52b6ddeb3a69e9.tar.bz2
packages-19e2a8b18c498cadcae318f07e52b6ddeb3a69e9.tar.xz
packages-19e2a8b18c498cadcae318f07e52b6ddeb3a69e9.zip
user/libXaw: pull in, take, fix up
Diffstat (limited to 'user/libxaw/APKBUILD')
-rw-r--r--user/libxaw/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/libxaw/APKBUILD b/user/libxaw/APKBUILD
new file mode 100644
index 000000000..a817b0bb1
--- /dev/null
+++ b/user/libxaw/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxaw
+pkgver=1.0.13
+pkgrel=1
+pkgdesc="X11 Athena widget set"
+url="https://www.X.Org"
+arch="all"
+license="X11 AND MIT"
+depends=""
+makedepends="libx11-dev libxext-dev libxmu-dev libxpm-dev util-macros
+ xorgproto-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libXaw-$pkgver.tar.bz2"
+builddir="$srcdir"/libXaw-$pkgver
+
+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
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d768a39f7111802493fa1df1b80d858e4139ceeb883d45ff13ce3b7a0e775a7d2834b7ad157c8330117f04c32f38979795332dd7a119adb2344fcb1aa9cf1e2f libXaw-1.0.13.tar.bz2"