summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 21:54:40 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 21:54:40 -0500
commit176d3aeeccf031e7894bd90f41997764102b5e2e (patch)
tree0892f892b84d99ad06fae29b7e401ac01b6e4a99
parent9722b59c749794cec6c6e3888de74dfd7dbcba03 (diff)
downloadpackages-176d3aeeccf031e7894bd90f41997764102b5e2e.tar.gz
packages-176d3aeeccf031e7894bd90f41997764102b5e2e.tar.bz2
packages-176d3aeeccf031e7894bd90f41997764102b5e2e.tar.xz
packages-176d3aeeccf031e7894bd90f41997764102b5e2e.zip
user/libxmu: pull in, take, fix
-rw-r--r--user/libxmu/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libxmu/APKBUILD b/user/libxmu/APKBUILD
new file mode 100644
index 000000000..80ec63ade
--- /dev/null
+++ b/user/libxmu/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxmu
+pkgver=1.1.2
+pkgrel=2
+pkgdesc="X11 miscellaneous micro-utility library"
+url="https://www.X.Org/"
+arch="all"
+options="!check" # No test suite.
+license="X11 AND MIT"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+depends_dev="util-linux-dev"
+makedepends="$depends_dev libsm-dev libx11-dev libxext-dev libxt-dev
+ util-macros xmlto"
+source="https://www.X.Org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
+builddir="$srcdir"/libXmu-$pkgver
+
+build()
+{
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --without-fop
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="eba4e3d10f7d75ba8464881fb69f295a89774a4b37793197d75f3312e3a342b2df8b7e13e3f5c887962704329b5347ff2f3395e229af9dadf46a93b1e8613cfc libXmu-1.1.2.tar.bz2"