summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/libelf/PKGBUILD
blob: 0cf517bd4d28287f297b0e7e694ec549b4c2a8b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 20525 2008-12-05 13:31:11Z jgc $
# Maintainer: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=libelf
pkgver=0.8.10
pkgrel=3
pkgdesc="libelf is a free ELF object file access library"
arch=(i686 x86_64)
license=('GPL')
source=(http://www.mr511.de/software/${pkgname}-${pkgver}.tar.gz)
url="http://directory.fsf.org/libs/misc/libelf.html"
depends=('glibc')
md5sums=('9db4d36c283d9790d8fa7df1f4d7b4d9')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure --prefix=/usr --enable-shared \
      --enable-gnu-names --enable-compat || return 1
    make || return 1
    make prefix="${pkgdir}/usr" install || return 1
}