diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-22 08:07:15 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-22 08:07:15 +0000 |
commit | 28b7d8691ebc6d8ddf0a87ec3b7c6ce6b604be4d (patch) | |
tree | aba96beb8ff1e4b4f43a5ffc5fa0807f257b4fc9 /testing/ulib | |
parent | ff88b9bec51da5fd3eb082f5412e0ae16c5bb76c (diff) | |
download | aports-28b7d8691ebc6d8ddf0a87ec3b7c6ce6b604be4d.tar.bz2 aports-28b7d8691ebc6d8ddf0a87ec3b7c6ce6b604be4d.tar.xz |
testing/ulib: nre aport. Fixes #4443
Diffstat (limited to 'testing/ulib')
-rw-r--r-- | testing/ulib/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/ulib/APKBUILD b/testing/ulib/APKBUILD new file mode 100644 index 0000000000..45f7b7da66 --- /dev/null +++ b/testing/ulib/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=ulib +pkgver=1.4.2 +pkgrel=0 +pkgdesc="ULib is a highly optimized class framework for writing C++ applications" +url="https://github.com/stefanocasazza/ULib" +arch="all" +license="GPL3" +depends="" +depends_dev="openssl-dev pcre-dev linux-headers" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/stefanocasazza/ULib/archive/v1.4.2.tar.gz" + +_builddir="$srcdir"/ULib-$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 \ + --prefix=/usr \ + --enable-static=no \ + || return 1 + + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="0aa1ec40e017ddf0f1df42447f9b5d86 ulib-1.4.2.tar.gz" +sha256sums="b88896d79301333c5bd20297c026d72360c6f0877a41dcdbb37cf48fdceccd5c ulib-1.4.2.tar.gz" +sha512sums="80af9887930611e6d8d714a9e6b9e80ec5abc866e3f8e62cb48f49457ff143bde424c2207b4d4081b4e7eab5a8d3705ceda6cb8c0e6ea28be62f33df0e116a7e ulib-1.4.2.tar.gz" |