wok annotate icon-naming-utils/receipt @ rev 22023
Remove cat process
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Sun Oct 20 12:39:13 2019 +0200 (2019-10-20) |
| parents | de49f29b101e |
| children | af8d823a3077 |
| rev | line source |
|---|---|
| pankso@38 | 1 # SliTaz package receipt. |
| pankso@38 | 2 |
| pankso@38 | 3 PACKAGE="icon-naming-utils" |
| pankso@3103 | 4 VERSION="0.8.90" |
| pankso@209 | 5 CATEGORY="x-window" |
| pankso@38 | 6 SHORT_DESC="Perl script used for desktop icon compatibility" |
| pankso@38 | 7 MAINTAINER="pankso@slitaz.org" |
| pascal@15600 | 8 LICENSE="GPL2" |
| pankso@38 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
| pascal@21342 | 10 WEB_SITE="http://tango-project.org/" |
| pascal@6408 | 11 WGET_URL="http://tango.freedesktop.org/releases/$TARBALL" |
| pankso@38 | 12 |
| pascal@15600 | 13 DEPENDS="perl perl-xml-simple" |
| pascal@15600 | 14 BUILD_DEPENDS="perl perl-xml-simple" |
| pascal@15600 | 15 |
| pankso@38 | 16 # Rules to configure and make the package. |
| pankso@38 | 17 compile_rules() |
| pankso@38 | 18 { |
| pankso@38 | 19 cd $src |
| pankso@38 | 20 ./configure \ |
| pankso@38 | 21 --prefix=/usr \ |
| pankso@38 | 22 --libexecdir=/usr/lib/icon-naming-utils \ |
| pascal@1458 | 23 $CONFIGURE_ARGS && |
| pascal@1458 | 24 make && |
| pascal@15600 | 25 make DESTDIR=$DESTDIR install |
| pankso@38 | 26 } |
| pankso@38 | 27 |
| pankso@38 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pankso@38 | 29 genpkg_rules() |
| pankso@38 | 30 { |
| pankso@38 | 31 mkdir -p $fs/usr/share |
| pascal@15600 | 32 cp -a $install/usr/lib $fs/usr |
| pascal@15600 | 33 cp -a $install/usr/share/dtds $fs/usr/share |
| pascal@15600 | 34 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
| pankso@38 | 35 |
| pankso@38 | 36 chmod +x $fs/usr/lib/$PACKAGE/* |
| pankso@38 | 37 |
| pankso@38 | 38 # For one file we are not going to build a -dev pkg |
| pascal@15600 | 39 cp -a $install/usr/share/pkgconfig $fs/usr/lib |
| pankso@38 | 40 } |
| pankso@38 | 41 |