summaryrefslogtreecommitdiff
path: root/user/libice
diff options
context:
space:
mode:
Diffstat (limited to 'user/libice')
-rw-r--r--user/libice/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libice/APKBUILD b/user/libice/APKBUILD
new file mode 100644
index 000000000..8d2fea498
--- /dev/null
+++ b/user/libice/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libice
+pkgver=1.0.9
+pkgrel=3
+pkgdesc="X11 Inter-Client Exchange library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=
+makedepends="util-macros xmlto xorgproto-dev xtrans"
+checkdepends="check-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libICE-$pkgver.tar.bz2"
+
+builddir="$srcdir/libICE-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-ipv6 \
+ --enable-docs \
+ --with-xmlto \
+ --without-fop
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="daa8126ee5279c08f801274a2754132762dea2a40f4733c4b0bf8e8bdad61cba826939a2e067beb3524e256a98a2b83f23c8d4643f3e75a284ab02cc73da41b7 libICE-1.0.9.tar.bz2"