wok-current view libpfm/receipt @ rev 19074
Up slitaz-boot-scripts(429)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Apr 24 12:36:46 2016 +0300 (2016-04-24) |
parents | |
children | e2c5d2f085f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpfm"
4 VERSION="4.5.0"
5 CATEGORY="development"
6 SHORT_DESC="Improve performance monitoring on Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://perfmon2.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/perfmon2/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk
20 make OPTIM="-m32 -O3" &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }