wok-6.x annotate prelink/receipt @ rev 25342
Down python-bcrypt: last version supporting python < 3.6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 17:10:41 2022 +0000 (2022-07-24) |
parents | e197a1539e2e |
children |
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" |
pascal@24954 | 9 WEB_SITE="https://people.redhat.com/jakub/prelink/" |
devl547@16270 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24974 | 11 WGET_URL="https://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 } |