wok annotate icon-naming-utils/receipt @ rev 243
Linux: patches compatible with busybox/patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 22:54:56 2008 +0100 (2008-02-18) |
parents | b4413bf9aece |
children | cb884d540a01 |
rev | line source |
---|---|
pankso@38 | 1 # SliTaz package receipt. |
pankso@38 | 2 |
pankso@38 | 3 PACKAGE="icon-naming-utils" |
pankso@38 | 4 VERSION="0.8.2" |
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" |
pankso@38 | 8 DEPENDS="perl perl-xml-simple" |
pankso@38 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@38 | 10 WEB_SITE="http://tango.freedesktop.org/" |
pankso@38 | 11 WGET_URL=" http://tango.freedesktop.org/releases/$TARBALL" |
pankso@38 | 12 |
pankso@38 | 13 # Rules to configure and make the package. |
pankso@38 | 14 compile_rules() |
pankso@38 | 15 { |
pankso@38 | 16 cd $src |
pankso@38 | 17 ./configure \ |
pankso@38 | 18 --prefix=/usr \ |
pankso@38 | 19 --libexecdir=/usr/lib/icon-naming-utils \ |
pankso@38 | 20 $CONFIGURE_ARGS |
pankso@38 | 21 make |
pankso@38 | 22 make DESTDIR=$PWD/_pkg install |
pankso@38 | 23 } |
pankso@38 | 24 |
pankso@38 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@38 | 26 genpkg_rules() |
pankso@38 | 27 { |
pankso@38 | 28 mkdir -p $fs/usr/share |
pankso@38 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@38 | 30 cp -a $_pkg/usr/share/dtds $fs/usr/share |
pankso@38 | 31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@38 | 32 |
pankso@38 | 33 chmod +x $fs/usr/lib/$PACKAGE/* |
pankso@38 | 34 |
pankso@38 | 35 # For one file we are not going to build a -dev pkg |
pankso@38 | 36 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib |
pankso@38 | 37 } |
pankso@38 | 38 |