wok-current annotate prelink/receipt @ rev 20214
Force host arch to i486 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 15:49:51 2018 +0100 (2018-02-24) |
parents | 3705d68ed8f3 |
children | 241fb98cab1c |
rev | line source |
---|---|
devl547@16270 | 1 # SliTaz package receipt. |
devl547@16270 | 2 |
devl547@16270 | 3 PACKAGE="prelink" |
devl547@16270 | 4 VERSION="20130503" |
devl547@16270 | 5 CATEGORY="system-tools" |
devl547@16270 | 6 SHORT_DESC="ELF prelinking utility to speed up dynamic linking" |
devl547@16270 | 7 MAINTAINER="devl547@gmail.com" |
devl547@16270 | 8 LICENSE="GPL" |
devl547@16270 | 9 WEB_SITE="http://people.redhat.com/jakub/prelink/" |
devl547@16270 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@16270 | 11 WGET_URL="http://people.redhat.com/jakub/$PACKAGE/$TARBALL" |
devl547@16270 | 12 |
devl547@16270 | 13 DEPENDS="elfutils" |
pascal@17736 | 14 BUILD_DEPENDS="elfutils-dev pkg-config" |
devl547@16270 | 15 |
devl547@16270 | 16 # Rules to configure and make the package. |
devl547@16270 | 17 compile_rules() |
devl547@16270 | 18 { |
pascal@20214 | 19 sed -i 's|uname -m|echo i486|' testsuite/Makefile* config* |
pascal@17736 | 20 sed -i 's/^LIBS.*/& -lpthread/' src/Makefile* |
devl547@16270 | 21 ./configure $CONFIGURE_ARGS && make && make install |
devl547@16270 | 22 } |
devl547@16270 | 23 |
devl547@16270 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16270 | 25 genpkg_rules() |
devl547@16270 | 26 { |
devl547@16270 | 27 cp -a $install/* $fs |
devl547@16270 | 28 } |