wok-6.x view libpfm/receipt @ rev 24960

updated ncurses packages (6.2 -> 6.3)
author Hans-G?nter Theisgen
date Sat Apr 23 17:46:30 2022 +0100 (2022-04-23)
parents e2c5d2f085f2
children 7dd01dedad38
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="http://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|.*href="|"https://sourceforge.net|;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 }