wok-6.x view libpfm/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 6bebe30dad3a |
children | 65d7d867e0c1 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk
21 make OPTIM="-m32 -O3" &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }