summaryrefslogtreecommitdiff
path: root/user/libxpm/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 04:48:00 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 04:48:00 -0500
commitb22651914ca9fd192f44150118d94158e9aad657 (patch)
tree7ae070169bfa752f72cf505660fef6385cf325aa /user/libxpm/APKBUILD
parent1e5d7d523f6fcdce7e7bd4e0da7407cbe2c35492 (diff)
downloadpackages-b22651914ca9fd192f44150118d94158e9aad657.tar.gz
packages-b22651914ca9fd192f44150118d94158e9aad657.tar.bz2
packages-b22651914ca9fd192f44150118d94158e9aad657.tar.xz
packages-b22651914ca9fd192f44150118d94158e9aad657.zip
user/libxpm: pull in, take, fix up bull
Diffstat (limited to 'user/libxpm/APKBUILD')
-rw-r--r--user/libxpm/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libxpm/APKBUILD b/user/libxpm/APKBUILD
new file mode 100644
index 000000000..53f3e6fab
--- /dev/null
+++ b/user/libxpm/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxpm
+pkgver=3.5.12
+pkgrel=1
+pkgdesc="X11 pixmap library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="libx11-dev libxext-dev libxt-dev util-linux-dev util-macros"
+source="https://www.X.Org/releases/individual/lib/libXpm-$pkgver.tar.bz2"
+builddir="$srcdir"/libXpm-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="a5707d5f758d577414101b0723af334fc8ac223e5b9f869994765735e1cbd8dafed48ea2851ebc479fecaf84381bfd5fbef842ec971a487f7fa9e77d54d3a17e libXpm-3.5.12.tar.bz2"