blob: 88a52258bc755b504f1794eb1920f01ed8a06912 (
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
|
# 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"
|