wok view prelink/receipt @ rev 19699
bash: patches in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 09:37:31 2017 +0100 (2017-02-14) |
parents | f2262a46d539 |
children | 3705d68ed8f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="prelink"
4 VERSION="20130503"
5 CATEGORY="system-tools"
6 SHORT_DESC="ELF prelinking utility to speed up dynamic linking"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://people.redhat.com/jakub/prelink/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://people.redhat.com/jakub/$PACKAGE/$TARBALL"
13 DEPENDS="elfutils"
14 BUILD_DEPENDS="elfutils-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/^LIBS.*/& -lpthread/' src/Makefile*
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 }