wok-next annotate slitaz-tools-boxes/receipt @ rev 14618
mc: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 09:59:57 2013 +0000 (2013-06-01) |
parents | 717938b0ed14 |
children | 727f65a6191b |
rev | line source |
---|---|
pankso@2094 | 1 # SliTaz package receipt. |
pankso@2094 | 2 |
pankso@2094 | 3 PACKAGE="slitaz-tools-boxes" |
domcox@14060 | 4 VERSION="5.3" |
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" |
pankso@9871 | 8 DEPENDS="slitaz-tools gtkdialog gettext-base yad" |
slaxemulator@10874 | 9 SOURCE="slitaz-tools" |
slaxemulator@10874 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@2094 | 11 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@10874 | 12 WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL" |
pankso@2292 | 13 CONFIG_FILES="/etc/wireless" |
pankso@2094 | 14 |
pankso@10789 | 15 # Rules to configure and make the package. |
pankso@10789 | 16 compile_rules() |
pankso@10789 | 17 { |
pankso@10789 | 18 cd $src |
domcox@14060 | 19 # Fix for 5.3 |
domcox@14060 | 20 sed -i s'/cp -a doc/# cp -a doc/' Makefile |
pankso@10789 | 21 make && make DESTDIR=$DESTDIR install-boxes |
pankso@10789 | 22 } |
pankso@10789 | 23 |
pankso@2094 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2094 | 25 genpkg_rules() |
pankso@2094 | 26 { |
pankso@10789 | 27 mkdir -p $fs |
pankso@10789 | 28 cp -a $install/* $fs |
pankso@10789 | 29 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@2094 | 30 chown -R root.root $fs |
pankso@2094 | 31 } |