wok view libpfm/receipt @ rev 25689

updated mmv (1.01b-18 -> 2.6)
author Hans-G?nter Theisgen
date Sat Apr 13 10:48:47 2024 +0100 (7 months ago)
parents 7dd01dedad38
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libpfm"
4 VERSION="4.10.1"
5 CATEGORY="development"
6 SHORT_DESC="Improve performance monitoring on Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://perfmon2.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/perfmon2/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/perfmon2/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/libpfm/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/libpfm-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk
29 make OPTIM="-m32 -O3" &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }