wok-next diff cpufrequtils/receipt @ rev 20825

perl-dbd-mysql: typo in $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 01:06:23 2018 +0300 (2018-06-14)
parents c060a4ab6c00
children a3c581bf52b8
line diff
     1.1 --- a/cpufrequtils/receipt	Wed Jul 06 08:57:45 2016 +0200
     1.2 +++ b/cpufrequtils/receipt	Thu Jun 14 01:06:23 2018 +0300
     1.3 @@ -1,30 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cpufrequtils"
     1.8  VERSION="008"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
    1.11 +SHORT_DESC="Userspace tools for the kernel cpufreq subsystem"
    1.12  MAINTAINER="gokhlayeh@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 
    1.16 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19  WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"
    1.20 +TARBALL_SHA256="a2149db551f83112209b1a8e79bd50d386979bbf64edbc69126f4e0b4f0a4cab"
    1.21  
    1.22 -DEPENDS="sysfsutils linux-cpufreq"
    1.23  BUILD_DEPENDS="libtool gettext sed"
    1.24 +SPLIT="cpufrequtils-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	make LIBTOOL_OPT="--silent --tag=CC" &&
    1.30 -	make DESTDIR=$DESTDIR mandir=/usr/share/man install	
    1.31 +	make DESTDIR=$DESTDIR mandir=/usr/share/man install
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	mkdir -p $fs/usr/share
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 -	cp -a $install/usr/share/locale $fs/usr/share
    1.41 +	case $PACKAGE in
    1.42 +		cpufrequtils)
    1.43 +			copy @std *.mo
    1.44 +			DEPENDS="sysfsutils linux-cpufreq"
    1.45 +			;;
    1.46 +		*-dev) copy @dev;;
    1.47 +	esac
    1.48  }