mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-25 02:52:16 +08:00
24 lines
721 B
Bash
24 lines
721 B
Bash
# $Id: PKGBUILD 66485 2010-01-31 10:45:08Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Maintainer: Jan de Groot <jgc@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')
|
|
url="http://www.mr511.de/software/"
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
source=(http://www.mr511.de/software/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('4136d7b4c04df68b686570afa26988ac')
|
|
|
|
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
|
|
}
|