wok-next diff sysfsutils/receipt @ rev 20337
orpheus: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 21:37:29 2017 +0100 (2017-11-16) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line diff
1.1 --- a/sysfsutils/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/sysfsutils/receipt Thu Nov 16 21:37:29 2017 +0100 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="sysfsutils" 1.8 VERSION="2.1.0" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Utilites built upon sysfs." 1.11 +SHORT_DESC="Utilites built upon sysfs" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2 LGPL2.1" 1.14 WEB_SITE="http://linux-diag.sourceforge.net/Sysfsutils.html" 1.15 @@ -11,17 +11,21 @@ 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/linux-diag/$TARBALL" 1.18 1.19 -DEPENDS="linux" 1.20 BUILD_DEPENDS="gfortran autoconf" 1.21 +SPLIT="sysfsutils-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 ./configure $CONFIGURE_ARGS && make && make install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 - copy bin/ *.so* 1.34 +genpkg_rules() { 1.35 + case $PACKAGE in 1.36 + sysfsutils) 1.37 + copy @std 1.38 + DEPENDS="linux" 1.39 + ;; 1.40 + *-dev) 1.41 + copy @dev 1.42 + ;; 1.43 + esac 1.44 }