wok annotate libpfm/receipt @ rev 25066

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