wok annotate slitaz-tools-boxes/receipt @ rev 16438
Up: slitaz-tools (5.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 14:32:52 2014 +0200 (2014-04-18) |
parents | 3d798b112634 |
children | 42372193a480 |
rev | line source |
---|---|
pankso@2094 | 1 # SliTaz package receipt. |
pankso@2094 | 2 |
pankso@2094 | 3 PACKAGE="slitaz-tools-boxes" |
pankso@16438 | 4 VERSION="5.8" |
pankso@2094 | 5 CATEGORY="system-tools" |
pankso@2094 | 6 SHORT_DESC="All SliTaz GTKdialog boxes to command line tools." |
pankso@2094 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
al@14803 | 9 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@10874 | 10 SOURCE="slitaz-tools" |
slaxemulator@10874 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14804 | 12 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.gz" |
pankso@2292 | 13 CONFIG_FILES="/etc/wireless" |
pankso@16263 | 14 HOST_ARCH="i486 arm" |
pankso@2094 | 15 |
pankso@16263 | 16 GENERIC_MENUS="no" |
al@14803 | 17 DEPENDS="slitaz-tools gtkdialog gettext-base yad" |
al@14803 | 18 |
pankso@10789 | 19 # Rules to configure and make the package. |
pankso@10789 | 20 compile_rules() |
pankso@10789 | 21 { |
al@14803 | 22 make && make DESTDIR=$DESTDIR install-boxes |
pankso@10789 | 23 } |
pankso@10789 | 24 |
pankso@2094 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2094 | 26 genpkg_rules() |
pankso@2094 | 27 { |
pankso@10789 | 28 mkdir -p $fs |
pankso@10789 | 29 cp -a $install/* $fs |
pankso@16263 | 30 # No cdrom on emb devices |
pankso@16263 | 31 case "$ARCH" in |
pankso@16263 | 32 arm*) |
pankso@16263 | 33 rm -f $fs/usr/bin/burn-box |
pankso@16263 | 34 rm -f $fs/usr/share/applications/burn-*.desktop ;; |
pankso@16263 | 35 esac |
pankso@10789 | 36 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@2094 | 37 chown -R root.root $fs |
pankso@2094 | 38 } |