summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/libelf/PKGBUILD
blob: 18bd1181948150e2ded6d682723380c3cdb64e3f (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
# $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.13
pkgrel=1
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')

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 prefix="${pkgdir}/usr" install || return 1
}
md5sums=('4136d7b4c04df68b686570afa26988ac')