aboutsummaryrefslogtreecommitdiffstats
path: root/main/libee/APKBUILD
blob: 06588b9a31474d973c6302f21957f4aecb291b8b (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
# Contributor: Uros Kolar <host.uros@gmail.com>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=libee
pkgver=0.4.0
pkgrel=1
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 --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="257a23d5cc8f211fb99464a462bc92cd  libee-0.4.0.tar.gz"