wok-next view libpfm/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 6bebe30dad3a |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpfm"
4 VERSION="4.8.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 SPLIT="libpfm-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk
19 make OPTIM="-m32 -O3" &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 libpfm)
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 ;;
31 libpfm-dev)
32 DEPENDS="libpfm"
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/include $fs/usr
35 cp -a $install/usr/lib/*a $fs/usr/lib
36 ;;
37 esac
38 }