wok view libpfm/receipt @ rev 18602
Up tazlito, tazpkg
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 16 02:51:15 2015 +0200 (2015-11-16) |
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 }