wok-stable annotate icon-naming-utils/receipt @ rev 6990
Add ndisc6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 30 21:47:50 2010 +0200 (2010-10-30) |
parents | 422fcad5efbd |
children |
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" |
pankso@38 | 8 DEPENDS="perl perl-xml-simple" |
pascal@1458 | 9 BUILD_DEPENDS="perl perl-xml-simple" |
pankso@38 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@38 | 11 WEB_SITE="http://tango.freedesktop.org/" |
pascal@6408 | 12 WGET_URL="http://tango.freedesktop.org/releases/$TARBALL" |
pankso@38 | 13 |
pankso@38 | 14 # Rules to configure and make the package. |
pankso@38 | 15 compile_rules() |
pankso@38 | 16 { |
pankso@38 | 17 cd $src |
pankso@38 | 18 ./configure \ |
pankso@38 | 19 --prefix=/usr \ |
pankso@38 | 20 --libexecdir=/usr/lib/icon-naming-utils \ |
pascal@1458 | 21 $CONFIGURE_ARGS && |
pascal@1458 | 22 make && |
pankso@38 | 23 make DESTDIR=$PWD/_pkg install |
pankso@38 | 24 } |
pankso@38 | 25 |
pankso@38 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@38 | 27 genpkg_rules() |
pankso@38 | 28 { |
pankso@38 | 29 mkdir -p $fs/usr/share |
pankso@38 | 30 cp -a $_pkg/usr/lib $fs/usr |
pankso@38 | 31 cp -a $_pkg/usr/share/dtds $fs/usr/share |
pankso@38 | 32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@38 | 33 |
pankso@38 | 34 chmod +x $fs/usr/lib/$PACKAGE/* |
pankso@38 | 35 |
pankso@38 | 36 # For one file we are not going to build a -dev pkg |
pankso@38 | 37 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib |
pankso@38 | 38 } |
pankso@38 | 39 |