Commit 28b7d869 authored by Francesco Colista's avatar Francesco Colista

testing/ulib: nre aport. Fixes #4443

parent ff88b9be
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment