PKGBUILDs/extra/libelf/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
723 B
Bash

# $Id: PKGBUILD 45426 2009-07-11 14:13:23Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=libelf
pkgver=0.8.12
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://www.mr511.de/software/"
depends=('glibc')
md5sums=('e21f8273d9f5f6d43a59878dc274fec7')
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
}