wok-next view libpfm/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
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 }