mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
35 lines
898 B
Bash
35 lines
898 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
pkgname=prelink
|
|
pkgver=20100106
|
|
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=('elfutils')
|
|
backup=('etc/prelink.conf')
|
|
source=("http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
|
'prelink.conf')
|
|
md5sums=('56e2a1b5a478795352bf6e4d2bc6e0ab'
|
|
'0793ed49e9b31c125cba4d936c333cf6')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}"
|
|
make DESTDIR=$pkgdir install
|
|
install -Dm644 ${srcdir}/prelink.conf "${pkgdir}/etc/prelink.conf"
|
|
}
|