wok-next diff icon-naming-utils/receipt @ rev 20528
Up tzdata (2018d)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 11:10:32 2018 +0200 (2018-03-24) |
parents | de49f29b101e |
children | d5aab818505e |
line diff
1.1 --- a/icon-naming-utils/receipt Thu Dec 05 15:25:09 2013 +0000 1.2 +++ b/icon-naming-utils/receipt Sat Mar 24 11:10:32 2018 +0200 1.3 @@ -1,41 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="icon-naming-utils" 1.8 VERSION="0.8.90" 1.9 -CATEGORY="x-window" 1.10 +CATEGORY="development" 1.11 SHORT_DESC="Perl script used for desktop icon compatibility" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://tango.freedesktop.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://tango.freedesktop.org/" 1.18 -WGET_URL="http://tango.freedesktop.org/releases/$TARBALL" 1.19 +#WGET_URL="http://tango.freedesktop.org/releases/$TARBALL" 1.20 +WGET_URL="https://sources.archlinux.org/other/$PACKAGE/$TARBALL" 1.21 1.22 -DEPENDS="perl perl-xml-simple" 1.23 BUILD_DEPENDS="perl perl-xml-simple" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 - ./configure \ 1.30 - --prefix=/usr \ 1.31 - --libexecdir=/usr/lib/icon-naming-utils \ 1.32 - $CONFIGURE_ARGS && 1.33 - make && 1.34 - make DESTDIR=$DESTDIR install 1.35 +compile_rules() { 1.36 + ./configure $CONFIGURE_ARGS && make && make install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr/share 1.43 - cp -a $install/usr/lib $fs/usr 1.44 - cp -a $install/usr/share/dtds $fs/usr/share 1.45 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.46 - 1.47 - chmod +x $fs/usr/lib/$PACKAGE/* 1.48 - 1.49 - # For one file we are not going to build a -dev pkg 1.50 - cp -a $install/usr/share/pkgconfig $fs/usr/lib 1.51 +genpkg_rules() { 1.52 + copy @std @dev 1.53 + DEPENDS="$BUILD_DEPENDS" 1.54 } 1.55 -