blob: 45f7b7da66a917f26378a9545977a80753e1acf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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"
|