wok-6.x annotate prelink/receipt @ rev 19496
Up sdft (161116)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 16 19:03:59 2016 +0200 (2016-11-16) |
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 } |