wok-next rev 20294

Up libpfm (4.8.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 19:02:32 2017 +0100 (2017-11-08)
parents 55b6644290f8
children 4e37d8bb7375
files libpfm-dev/receipt libpfm/receipt
line diff
     1.1 --- a/libpfm-dev/receipt	Wed Nov 08 18:57:22 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="libpfm-dev"
     1.7 -VERSION="4.5.0"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Improve performance monitoring on Linux, development files."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="MIT"
    1.12 -WEB_SITE="http://perfmon2.sourceforge.net/"
    1.13 -WANTED="libpfm"
    1.14 -
    1.15 -DEPENDS="libpfm"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/include $fs/usr
    1.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.23 -}
     2.1 --- a/libpfm/receipt	Wed Nov 08 18:57:22 2017 +0100
     2.2 +++ b/libpfm/receipt	Wed Nov 08 19:02:32 2017 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="libpfm"
     2.8 -VERSION="4.5.0"
     2.9 +VERSION="4.8.0"
    2.10  CATEGORY="development"
    2.11  SHORT_DESC="Improve performance monitoring on Linux."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13 @@ -10,8 +10,7 @@
    2.14  WEB_SITE="http://perfmon2.sourceforge.net/"
    2.15  WGET_URL="$SF_MIRROR/perfmon2/$TARBALL"
    2.16  
    2.17 -DEPENDS=""
    2.18 -BUILD_DEPENDS=""
    2.19 +SPLIT="libpfm-dev"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23 @@ -24,6 +23,16 @@
    2.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.25  genpkg_rules()
    2.26  {
    2.27 -	mkdir -p $fs/usr/lib
    2.28 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.29 +	case $PACKAGE in
    2.30 +	libpfm)
    2.31 +		mkdir -p $fs/usr/lib
    2.32 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.33 +		;;
    2.34 +	libpfm-dev)
    2.35 +		DEPENDS="libpfm"
    2.36 +		mkdir -p $fs/usr/lib
    2.37 +		cp -a $install/usr/include $fs/usr
    2.38 +		cp -a $install/usr/lib/*a $fs/usr/lib
    2.39 +		;;
    2.40 +	esac
    2.41  }