wok annotate libpfm/receipt @ rev 21937

Up nnn (2.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 07 18:30:01 2019 +0200 (2019-10-07)
parents 6bebe30dad3a
children 65d7d867e0c1
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@16246 17 # Rules to configure and make the package.
pascal@16246 18 compile_rules()
pascal@16246 19 {
pascal@16246 20 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk
pascal@16246 21 make OPTIM="-m32 -O3" &&
pascal@16246 22 make DESTDIR=$DESTDIR install
pascal@16246 23 }
pascal@16246 24
pascal@16246 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16246 26 genpkg_rules()
pascal@16246 27 {
pascal@16246 28 mkdir -p $fs/usr/lib
pascal@16246 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@16246 30 }