summaryrefslogtreecommitdiff
path: root/user/libxp
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 21:25:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 21:25:23 +0000
commit5b06505c8d39ecec8fd376cf476f5cc86e5a04bf (patch)
treec2fbd271767f9b250588427a40300756c11c27eb /user/libxp
parentbdd9fe41a31e0b4bba5369f2e179412569865975 (diff)
downloadpackages-5b06505c8d39ecec8fd376cf476f5cc86e5a04bf.tar.gz
packages-5b06505c8d39ecec8fd376cf476f5cc86e5a04bf.tar.bz2
packages-5b06505c8d39ecec8fd376cf476f5cc86e5a04bf.tar.xz
packages-5b06505c8d39ecec8fd376cf476f5cc86e5a04bf.zip
user/libxp: new package
Diffstat (limited to 'user/libxp')
-rw-r--r--user/libxp/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxp/APKBUILD b/user/libxp/APKBUILD
new file mode 100644
index 000000000..45cfad2bb
--- /dev/null
+++ b/user/libxp/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxp
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="X11 print client library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev libxau-dev libxext-dev xorgproto-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.x.org/releases/individual/lib/libXp-$pkgver.tar.bz2"
+builddir="$srcdir/libXp-$pkgver"
+
+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="502a2500ec0f519dae69ac035bf93c65c47e3bc301604aacb350e90043455f3485626194db45208e5521300b282843825e08b7f7c412a7497ffa02f5f1560c8d libXp-1.0.3.tar.bz2"