wok view libpfm/receipt @ rev 19715

Up cookutils(876): to fix amsn post-build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 16 02:22:14 2017 +0200 (2017-02-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 }