wok-current view prelink/receipt @ rev 20212
Force host arch to i486
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 12:51:10 2018 +0100 (2018-02-24) |
parents | 891649a16bcb |
children | 238f49914432 |
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
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 }