blob: b10382b79faf68d687e01d7b60833c664d34b775 (
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
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 54150 2011-08-13 19:36:37Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Rouslan Solomakhin <rouslan@localnet.com>
pkgname=prelink
pkgver=20110622
pkgrel=1
pkgdesc='ELF prelinking utility to speed up dynamic linking.'
arch=('i686' 'x86_64')
url='http://people.redhat.com/jakub/prelink/'
license=('GPL')
depends=('elfutils')
backup=('etc/prelink.conf')
md5sums=('2863a9c9e68d076916bf9a46ad6bca78'
'0793ed49e9b31c125cba4d936c333cf6'
'b347580536e078b34c547742d36a3e9d')
source=("http://pkgs.fedoraproject.org/repo/pkgs/${pkgname}/${pkgname}-${pkgver}.tar.bz2/${md5sums[0]}/${pkgname}-${pkgver}.tar.bz2"
'prelink.conf'
'arch-x86_64-dynamic_linker.patch')
build() {
cd "${srcdir}/${pkgname}"
patch -Np0 -i ../arch-x86_64-dynamic_linker.patch
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dm0644 "${srcdir}/prelink.conf" "${pkgdir}/etc/prelink.conf"
}
|