wok-next view libpfm/receipt @ rev 18363

Up zstd (0.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 13:47:02 2015 +0200 (2015-09-16)
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 }