wok annotate libpfm/receipt @ rev 19382
down palemoon
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 18 21:55:17 2016 +0200 (2016-08-18) |
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 } |