summaryrefslogtreecommitdiff
path: root/user/liblbxutil
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 07:11:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 07:11:33 +0000
commit8cab47cccc4cb3a21c422adc7bc99da75077ff67 (patch)
tree1f6ca5d03222e0a8cdb4a65dfcf6ccfafd7717e3 /user/liblbxutil
parentec6fca6049f7bbac28de3c421619cc669b23fbce (diff)
downloadpackages-8cab47cccc4cb3a21c422adc7bc99da75077ff67.tar.gz
packages-8cab47cccc4cb3a21c422adc7bc99da75077ff67.tar.bz2
packages-8cab47cccc4cb3a21c422adc7bc99da75077ff67.tar.xz
packages-8cab47cccc4cb3a21c422adc7bc99da75077ff67.zip
user/liblbxutil: new package
Diffstat (limited to 'user/liblbxutil')
-rw-r--r--user/liblbxutil/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/liblbxutil/APKBUILD b/user/liblbxutil/APKBUILD
new file mode 100644
index 000000000..def4dc83c
--- /dev/null
+++ b/user/liblbxutil/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=liblbxutil
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Utility library for X11 Low Bandwidth extension"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="xorgproto-dev zlib-dev"
+subpackages="$pkgname-dev"
+source="https://www.x.org/releases/individual/lib/liblbxutil-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ chmod a+w config.sub
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="93bdefef297d46a301dd1cab35ad186438e340822ba5aac20e9d8f4c51cd66e4118b0d9f4afc48ef33a67c6e413f551bcb59089d01597ed175b400902b9f23f4 liblbxutil-1.1.0.tar.bz2"