wok-next view prelink/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | f2262a46d539 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt.
3 PACKAGE="prelink"
4 VERSION="20130503"
5 CATEGORY="system-tools"
6 SHORT_DESC="ELF prelinking utility to speed up dynamic linking"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://people.redhat.com/jakub/prelink/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://people.redhat.com/jakub/$PACKAGE/$TARBALL"
13 DEPENDS="elfutils"
14 BUILD_DEPENDS="elfutils-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/^LIBS.*/& -lpthread/' src/Makefile*
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 }