wok-next view libpfm/receipt @ rev 21126

Hide more packages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 18 02:36:44 2019 +0200 (2019-01-18)
parents 0fd9d6a0dc21
children
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 WEB_SITE="http://perfmon2.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/perfmon2/$TARBALL"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk
19 make OPTIM="-m32 -O3" &&
20 make DESTDIR=$install install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 libpfm)
26 copy @std
27 ;;
28 libpfm-dev)
29 copy @dev
30 DEPENDS="libpfm"
31 ;;
32 esac
33 }