aboutsummaryrefslogtreecommitdiffstats
path: root/main/libee/APKBUILD
blob: 90eeac8ad162e7026fba85140e18c1bc088f3111 (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
# Contributor: Uros Kolar <host.uros@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=libee
pkgver=0.4.1
pkgrel=0
pkgdesc="event Expression Library inspired by CEE"
url="http://www.libee.org"
arch="all"
license="LGPL2.1"
makedepends="libestr-dev"
subpackages="$pkgname-dev"
source="http://www.libee.org/download/files/download/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
}

build() {
	cd "$_builddir"
	#make fails on parallel builds
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -rf "$pkgdir"/usr/lib/libee.la
}

md5sums="7bbf4160876c12db6193c06e2badedb2  libee-0.4.1.tar.gz"