core/prelink/PKGBUILD

39 lines
1.0 KiB
Bash
Raw Normal View History

2010-08-11 17:53:53 +08:00
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=prelink
2015-01-30 17:49:30 +08:00
pkgver=20130503
2012-01-27 12:32:41 +08:00
pkgrel=1
2010-08-11 17:53:53 +08:00
pkgdesc="ELF prelinking utility to speed up dynamic linking"
2015-01-30 17:49:30 +08:00
arch=('x86_64')
2010-08-11 17:53:53 +08:00
url="http://people.redhat.com/jakub/prelink/"
license=('GPL')
2015-01-30 17:49:30 +08:00
depends=('elfutils' 'libtool')
2010-08-11 17:53:53 +08:00
backup=('etc/prelink.conf')
source=("http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'prelink.conf')
2015-01-30 17:49:30 +08:00
md5sums=('4cab1571718a9b25665bd025069a02c7'
'0a5c9cd85df0c44966de78febf9299e4')
2010-08-11 17:53:53 +08:00
build() {
cd "${srcdir}/${pkgname}"
./configure --prefix=/usr \
2015-01-30 17:49:30 +08:00
--mandir=/usr/share/man \
--disable-static \
--localstatedir=/var \
--sysconfdir=/etc \
--infodir=/usr/share/info
2010-08-11 17:53:53 +08:00
make
}
2015-01-30 17:49:30 +08:00
check() {
make -C "$pkgname" check
}
2010-08-11 17:53:53 +08:00
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR=$pkgdir install
install -Dm644 ${srcdir}/prelink.conf "${pkgdir}/etc/prelink.conf"
}
2012-01-27 12:32:41 +08:00