aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-03 13:08:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-03 13:08:46 +0000
commitf48632069e0bee30cf4c9a4d2c443900062fc767 (patch)
tree055da0985400e4335563a21d7184f061a82317e6 /main
parentfb822c4e034441a21a083102b59c9510ce8f5c0d (diff)
downloadaports-f48632069e0bee30cf4c9a4d2c443900062fc767.tar.bz2
aports-f48632069e0bee30cf4c9a4d2c443900062fc767.tar.xz
main/libelf: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/libelf/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/libelf/APKBUILD b/main/libelf/APKBUILD
new file mode 100644
index 0000000000..88a52258bc
--- /dev/null
+++ b/main/libelf/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libelf
+pkgver=0.8.13
+pkgrel=0
+pkgdesc="libelf is a free ELF object file access library"
+url="http://www.mr511.de/software/"
+license="GPL"
+depends=
+makedepends=
+subpackages="$pkgname-dev"
+source="http://www.mr511.de/software/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --enable-gnu-names \
+ --enable-compat || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make install prefix="$pkgdir"/usr || return 1
+}
+md5sums="4136d7b4c04df68b686570afa26988ac libelf-0.8.13.tar.gz"