wok view prelink/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
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 }