wok diff slitaz-tools/receipt @ rev 10789
Up: slitaz-tools (4.3) - Use source Makefile to install files and so clean up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 22:36:01 2011 +0200 (2011-06-01) |
parents | c2e7c7baed66 |
children | 4e698344bda2 |
line diff
1.1 --- a/slitaz-tools/receipt Wed Jun 01 19:42:36 2011 +0200 1.2 +++ b/slitaz-tools/receipt Wed Jun 01 22:36:01 2011 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-tools" 1.7 -VERSION="4.2.1" 1.8 +VERSION="4.3" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="SliTaz tools provide installer and utils usable on termnial." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -24,54 +24,15 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - make msgfmt 1.17 + make && make DESTDIR=$DESTDIR install 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 -# 1.22 -# This package is moslty build by genpkg, it provide /usr/share/examples tree, 1.23 -# tazlito, tinyutils, licenses, documentation and artwork. This package 1.24 -# provide also the Firewall deamon/config (/etc/firewall.conf). 1.25 -# 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p \ 1.29 - $fs/sbin \ 1.30 - $fs/usr/bin \ 1.31 - $fs/usr/sbin \ 1.32 - $fs/etc/X11 \ 1.33 - $fs/var/spool/cron/crontabs \ 1.34 - $fs/usr/share/slitaz/messages/en 1.35 - # /rootfs/*. Firewall exemples, licenses, pixmaps and desktop files. 1.36 - cp -a $src/rootfs/* $fs 1.37 - chmod +x $fs/etc/init.d/* 1.38 - rm -rf $fs/usr/share/applications 1.39 - rm -rf $fs/usr/share/pixmaps 1.40 - # Tinyutils and declare all config files. 1.41 - cp -a $src/tinyutils/tazlocale $fs/sbin 1.42 - touch $fs/etc/locale.conf 1.43 - touch $fs/etc/motd 1.44 - cp -a $src/tinyutils/tazkeymap $fs/sbin 1.45 - touch $fs/etc/keymap.conf 1.46 - touch $fs/etc/TZ 1.47 - cp -a $src/tinyutils/gztazmod.sh $fs/sbin 1.48 - cp -a $src/tinyutils/tazx $fs/usr/bin 1.49 - touch $fs/etc/X11/screen.conf 1.50 - cp -a $src/tinyutils/tazhw $fs/sbin 1.51 - cp -a $src/tinyutils/hwsetup $fs/sbin 1.52 - for app in startx history tazdialog editor browser terminal file-manager 1.53 - do 1.54 - cp -a $src/tinyutils/$app $fs/usr/bin 1.55 - done 1.56 - # Sound config 1.57 - cp -a $src/tinyutils/soundconf $fs/usr/sbin 1.58 - cp -a $src/tinyutils/setmixer $fs/usr/sbin 1.59 - # Installer's 1.60 - cp -a $src/installer/slitaz-installer $fs/usr/bin 1.61 - cp -a $src/messages/en/installer.msg $fs/usr/share/slitaz/messages/en 1.62 + mkdir -p $fs 1.63 + cp -a $install/* $fs 1.64 chown -R root.root $fs 1.65 - chmod -R 755 $fs/usr/bin 1.66 - chmod -R 755 $fs/sbin 1.67 } 1.68 1.69 # Pre install commands.