Skip to content
Snippets Groups Projects
Commit f1b17dd5 authored by John Regan's avatar John Regan Committed by Leonardo Arena
Browse files

testing/skalibs: new aport


Signed-off-by: default avatarLeonardo Arena <rnalrd@alpinelinux.org>
parent 856175b4
No related branches found
No related tags found
No related merge requests found
# Contributor: John Regan <john@jrjrtech.com>
# Maintainer: John Regan <john@jrjrtech.com>
pkgname=skalibs
pkgver=2.3.1.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="3d98ef7518b5e79dcf792100a32634d9 skalibs-2.3.0.0.tar.gz"
sha256sums="43191cce81ee8849907d3e9114826f22a6a82f5790e21205351f2b69f34d66fa skalibs-2.3.0.0.tar.gz"
sha512sums="b516b51a5bfb0d059ee2f78c6f239e6179389ea087ba492cf0ee72982a1461a38640b37cfe552049fcbcf815c1a26d4f0425f63bb186a16c936a165c7a9d9358 skalibs-2.3.0.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment