aboutsummaryrefslogtreecommitdiffstats
path: root/main/libee
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-30 11:11:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-30 11:11:20 +0000
commit9976f92efb3566e0917f0d405919188617e9e407 (patch)
treeea690a7c20a8f98495598a9a8ac5c859279971f6 /main/libee
parent0ad18dd2ac14a8044f8b89c892855a354f5c4654 (diff)
downloadaports-9976f92efb3566e0917f0d405919188617e9e407.tar.bz2
aports-9976f92efb3566e0917f0d405919188617e9e407.tar.xz
main/libee: moved from testing
needed by rsyslog
Diffstat (limited to 'main/libee')
-rw-r--r--main/libee/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/libee/APKBUILD b/main/libee/APKBUILD
new file mode 100644
index 0000000000..06588b9a31
--- /dev/null
+++ b/main/libee/APKBUILD
@@ -0,0 +1,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"