wok-6.x annotate libpfm/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | |
children | e2c5d2f085f2 |
rev | line source |
---|---|
pascal@16246 | 1 # SliTaz package receipt. |
pascal@16246 | 2 |
pascal@16246 | 3 PACKAGE="libpfm" |
pascal@16246 | 4 VERSION="4.5.0" |
pascal@16246 | 5 CATEGORY="development" |
pascal@16246 | 6 SHORT_DESC="Improve performance monitoring on Linux." |
pascal@16246 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16246 | 8 LICENSE="MIT" |
pascal@16246 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16246 | 10 WEB_SITE="http://perfmon2.sourceforge.net/" |
pascal@16246 | 11 WGET_URL="$SF_MIRROR/perfmon2/$TARBALL" |
pascal@16246 | 12 |
pascal@16246 | 13 DEPENDS="" |
pascal@16246 | 14 BUILD_DEPENDS="" |
pascal@16246 | 15 |
pascal@16246 | 16 # Rules to configure and make the package. |
pascal@16246 | 17 compile_rules() |
pascal@16246 | 18 { |
pascal@16246 | 19 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk |
pascal@16246 | 20 make OPTIM="-m32 -O3" && |
pascal@16246 | 21 make DESTDIR=$DESTDIR install |
pascal@16246 | 22 } |
pascal@16246 | 23 |
pascal@16246 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16246 | 25 genpkg_rules() |
pascal@16246 | 26 { |
pascal@16246 | 27 mkdir -p $fs/usr/lib |
pascal@16246 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@16246 | 29 } |