wok-6.x view prelink/receipt @ rev 20274

linux: recook
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 18 21:05:50 2018 +0100 (2018-03-18)
parents 3705d68ed8f3
children 241fb98cab1c
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|uname -m|echo i486|' testsuite/Makefile* config*
20 sed -i 's/^LIBS.*/& -lpthread/' src/Makefile*
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/* $fs
28 }