wok annotate prelink/receipt @ rev 17736
prelink: force libpthread link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:45:18 2015 +0100 (2015-03-06) |
parents | f2262a46d539 |
children | 3705d68ed8f3 |
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@17736 | 19 sed -i 's/^LIBS.*/& -lpthread/' src/Makefile* |
devl547@16270 | 20 ./configure $CONFIGURE_ARGS && make && make install |
devl547@16270 | 21 } |
devl547@16270 | 22 |
devl547@16270 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16270 | 24 genpkg_rules() |
devl547@16270 | 25 { |
devl547@16270 | 26 cp -a $install/* $fs |
devl547@16270 | 27 } |