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

26 lines
784 B
Bash

# $Id: PKGBUILD 35772 2009-04-17 03:08:05Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Rouslan Solomakhin <rouslan@localnet.com>
pkgname=prelink
pkgver=20060213
pkgrel=2
pkgdesc="ELF prelinking utility to speed up dynamic linking."
arch=(i686 x86_64)
url="http://people.redhat.com/jakub/prelink/"
license=('GPL')
depends=(libelf)
backup=(etc/prelink.conf)
source=($url/$pkgname-$pkgver.tar.bz2 prelink.conf)
md5sums=('a3ee7d324ecdf2f1a7b8b95c01ee75fa' '0793ed49e9b31c125cba4d936c333cf6')
build() {
cd $srcdir/$pkgname
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -D -m 0644 $srcdir/prelink.conf \
$pkgdir/etc/prelink.conf
}
# vim: ts=2 sw=2 et ft=sh