aboutsummaryrefslogtreecommitdiffstats
path: root/main/skalibs
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2015-07-19 22:15:18 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-07-19 22:15:18 +0200
commitd9636ab585ea8c3cceb640fb3d5a0e008ad14f8c (patch)
tree7e43f8d2a8058ca552f5d34d60cabe2649383a18 /main/skalibs
parent4c317f94bb0d512ae091e3598475f6134cec0ba1 (diff)
downloadaports-d9636ab585ea8c3cceb640fb3d5a0e008ad14f8c.tar.bz2
aports-d9636ab585ea8c3cceb640fb3d5a0e008ad14f8c.tar.xz
testing/skalibs: move to main
Diffstat (limited to 'main/skalibs')
-rw-r--r--main/skalibs/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/main/skalibs/APKBUILD b/main/skalibs/APKBUILD
new file mode 100644
index 0000000000..504faa467e
--- /dev/null
+++ b/main/skalibs/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: John Regan <john@jrjrtech.com>
+# Maintainer: John Regan <john@jrjrtech.com>
+pkgname=skalibs
+pkgver=2.3.3.0
+pkgrel=0
+pkgdesc="A set of general-purpose C programming libraries for skarnet.org software."
+url="http://skarnet.org/software/skalibs/"
+arch="all"
+license="ISC"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --enable-shared \
+ --enable-static \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --datadir=/etc \
+ --enable-force-devr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="446fd2cf7f1936c85ca298492f68fb90 skalibs-2.3.3.0.tar.gz"
+sha256sums="3922148708cbd8c463b50624fc11f0fd0b92a3ceb903e74ae151870bff6d0f1f skalibs-2.3.3.0.tar.gz"
+sha512sums="171499d11ce13505bca36e87bfb58f9368051b4123c947c0385dd983f68bd7d65b0d2a38715723268cf64a59d2dcaf9b85c7dff27169c7bc0774cebb7bd59abe skalibs-2.3.3.0.tar.gz"