wok-next view libpfm/receipt @ rev 17649

Up: attr 2.4.47
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 22:13:27 2015 +0000 (2015-02-14)
parents
children 0fd9d6a0dc21
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 }