wok-6.x annotate prelink/receipt @ rev 24884
corrected recipe for loudmouth
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:42:28 2022 +0100 (2022-04-01) |
parents | 238f49914432 |
children | e197a1539e2e |
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 |
pascal@24453 | 16 # What is the latest version available today? |
pascal@24453 | 17 current_version() |
pascal@24453 | 18 { |
pascal@24453 | 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/prm/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24453 | 21 } |
pascal@24453 | 22 |
devl547@16270 | 23 # Rules to configure and make the package. |
devl547@16270 | 24 compile_rules() |
devl547@16270 | 25 { |
pascal@20214 | 26 sed -i 's|uname -m|echo i486|' testsuite/Makefile* config* |
pascal@17736 | 27 sed -i 's/^LIBS.*/& -lpthread/' src/Makefile* |
devl547@16270 | 28 ./configure $CONFIGURE_ARGS && make && make install |
devl547@16270 | 29 } |
devl547@16270 | 30 |
devl547@16270 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16270 | 32 genpkg_rules() |
devl547@16270 | 33 { |
devl547@16270 | 34 cp -a $install/* $fs |
devl547@16270 | 35 } |