blob: 7f56536b1ba5382e5838281ddc555983cb71ca97 (
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
49
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ulib
pkgver=1.4.2
_gitsnapshot=f4cc822edd7797a0dd4b47379f555e05b9ab8990
pkgrel=1
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="https://github.com/stefanocasazza/ULib/archive/$_gitsnapshot.tar.gz"
_builddir="$srcdir"/ULib-$_gitsnapshot
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="458f67f667e022ef320754e1ec11cab5 f4cc822edd7797a0dd4b47379f555e05b9ab8990.tar.gz"
sha256sums="ce212c4d4680cff642be84aacf6722a495a322ac497933d286da15b015fbc9db f4cc822edd7797a0dd4b47379f555e05b9ab8990.tar.gz"
sha512sums="615da26a311666ab18be1ae0e87adbbb615a7b0e27612e2ff6ad5013321dc42fdfab571b7e12002f5c3819502c0ea1dca9648143a932b9d7c5ee616002c1e1b1 f4cc822edd7797a0dd4b47379f555e05b9ab8990.tar.gz"
|