aboutsummaryrefslogtreecommitdiffstats
path: root/main/libee/APKBUILD
blob: 91f15f2755aa26d601c2a97a65549af5c4ac9ba0 (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
# 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="LGPL-2.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"
	update_config_sub || return 1
	./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
}

sha512sums="810cbca8077c975b045b6761de22642708b3555aa8959c17e6be3f3865612642176762ca4def09274a6291256608f11b5833bfaaa25ba0d66f71d0dee6f594d4  libee-0.4.1.tar.gz"