wok-6.x diff icon-naming-utils/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | 706efda2ac07 |
children | 15e8d94fc34f |
line diff
1.1 --- a/icon-naming-utils/receipt Sat Sep 25 14:18:44 2010 +0200 1.2 +++ b/icon-naming-utils/receipt Mon Jan 27 11:23:53 2014 +0000 1.3 @@ -5,12 +5,14 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="Perl script used for desktop icon compatibility" 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="perl perl-xml-simple" 1.8 -BUILD_DEPENDS="perl perl-xml-simple" 1.9 +LICENSE="GPL2" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://tango.freedesktop.org/" 1.12 WGET_URL="http://tango.freedesktop.org/releases/$TARBALL" 1.13 1.14 +DEPENDS="perl perl-xml-simple" 1.15 +BUILD_DEPENDS="perl perl-xml-simple" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 @@ -20,20 +22,20 @@ 1.21 --libexecdir=/usr/lib/icon-naming-utils \ 1.22 $CONFIGURE_ARGS && 1.23 make && 1.24 - make DESTDIR=$PWD/_pkg install 1.25 + make DESTDIR=$DESTDIR install 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 mkdir -p $fs/usr/share 1.32 - cp -a $_pkg/usr/lib $fs/usr 1.33 - cp -a $_pkg/usr/share/dtds $fs/usr/share 1.34 - cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.35 + cp -a $install/usr/lib $fs/usr 1.36 + cp -a $install/usr/share/dtds $fs/usr/share 1.37 + cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.38 1.39 chmod +x $fs/usr/lib/$PACKAGE/* 1.40 1.41 # For one file we are not going to build a -dev pkg 1.42 - cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib 1.43 + cp -a $install/usr/share/pkgconfig $fs/usr/lib 1.44 } 1.45