
Receipt for package "libpfm"
# SliTaz package receipt. PACKAGE="libpfm" VERSION="4.10.1" CATEGORY="development" SHORT_DESC="Improve performance monitoring on Linux." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://perfmon2.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/perfmon2/$TARBALL" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/perfmon2/files/ 2>/dev/null | \ sed '/scope="row/!d;/libpfm/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/libpfm-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk make OPTIM="-m32 -O3" && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)