summaryrefslogtreecommitdiff
path: root/user/libxmu
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxmu')
-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"