# HG changeset patch # User Christophe Lincoln # Date 1306960561 -7200 # Node ID b9761d32a594b2022a5cee9f9497122be88ddd1c # Parent c2e7c7baed6663a9cc900d7ff73e2c6ac1c382d3 Up: slitaz-tools (4.3) - Use source Makefile to install files and so clean up receipt diff -r c2e7c7baed66 -r b9761d32a594 slitaz-tools-boxes/receipt --- a/slitaz-tools-boxes/receipt Wed Jun 01 19:42:36 2011 +0200 +++ b/slitaz-tools-boxes/receipt Wed Jun 01 22:36:01 2011 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="slitaz-tools-boxes" -VERSION="4.2.1" +VERSION="4.3" CATEGORY="system-tools" SHORT_DESC="All SliTaz GTKdialog boxes to command line tools." MAINTAINER="pankso@slitaz.org" @@ -10,37 +10,19 @@ WEB_SITE="http://www.slitaz.org/" CONFIG_FILES="/etc/wireless" +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make && make DESTDIR=$DESTDIR install-boxes +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p \ - $fs/etc/wireless \ - $fs/usr/bin \ - $fs/usr/sbin \ - $fs/usr/lib/slitaz \ - $fs/usr/share/locale \ - $fs/usr/share/slitaz/messages/en \ - $fs/usr/share/doc/slitaz-tools - # Desktop files, icons and doc. - cp -a $src/rootfs/usr/share/applications $fs/usr/share - cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share - cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools - - # Libs. - cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz - # Default English messages (will move to po) - cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en - # i18n - for l in `ls $src/po/mo` - do - mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES - cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES - done - # Gksu fake for pcmanfm. - cd $fs/usr/bin - ln -s subox gksu - cd $WOK/$PACKAGE - # Permissions. + install=$WOK/$PACKAGE/install + mkdir -p $fs + cp -a $install/* $fs + chmod 0644 $fs/usr/share/locale/*/*/*.mo chown -R root.root $fs - chmod -R 755 $fs/usr/bin } diff -r c2e7c7baed66 -r b9761d32a594 slitaz-tools/receipt --- a/slitaz-tools/receipt Wed Jun 01 19:42:36 2011 +0200 +++ b/slitaz-tools/receipt Wed Jun 01 22:36:01 2011 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="slitaz-tools" -VERSION="4.2.1" +VERSION="4.3" CATEGORY="system-tools" SHORT_DESC="SliTaz tools provide installer and utils usable on termnial." MAINTAINER="pankso@slitaz.org" @@ -24,54 +24,15 @@ compile_rules() { cd $src - make msgfmt + make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. -# -# This package is moslty build by genpkg, it provide /usr/share/examples tree, -# tazlito, tinyutils, licenses, documentation and artwork. This package -# provide also the Firewall deamon/config (/etc/firewall.conf). -# genpkg_rules() { - mkdir -p \ - $fs/sbin \ - $fs/usr/bin \ - $fs/usr/sbin \ - $fs/etc/X11 \ - $fs/var/spool/cron/crontabs \ - $fs/usr/share/slitaz/messages/en - # /rootfs/*. Firewall exemples, licenses, pixmaps and desktop files. - cp -a $src/rootfs/* $fs - chmod +x $fs/etc/init.d/* - rm -rf $fs/usr/share/applications - rm -rf $fs/usr/share/pixmaps - # Tinyutils and declare all config files. - cp -a $src/tinyutils/tazlocale $fs/sbin - touch $fs/etc/locale.conf - touch $fs/etc/motd - cp -a $src/tinyutils/tazkeymap $fs/sbin - touch $fs/etc/keymap.conf - touch $fs/etc/TZ - cp -a $src/tinyutils/gztazmod.sh $fs/sbin - cp -a $src/tinyutils/tazx $fs/usr/bin - touch $fs/etc/X11/screen.conf - cp -a $src/tinyutils/tazhw $fs/sbin - cp -a $src/tinyutils/hwsetup $fs/sbin - for app in startx history tazdialog editor browser terminal file-manager - do - cp -a $src/tinyutils/$app $fs/usr/bin - done - # Sound config - cp -a $src/tinyutils/soundconf $fs/usr/sbin - cp -a $src/tinyutils/setmixer $fs/usr/sbin - # Installer's - cp -a $src/installer/slitaz-installer $fs/usr/bin - cp -a $src/messages/en/installer.msg $fs/usr/share/slitaz/messages/en + mkdir -p $fs + cp -a $install/* $fs chown -R root.root $fs - chmod -R 755 $fs/usr/bin - chmod -R 755 $fs/sbin } # Pre install commands. diff -r c2e7c7baed66 -r b9761d32a594 tazdrop/receipt --- a/tazdrop/receipt Wed Jun 01 19:42:36 2011 +0200 +++ b/tazdrop/receipt Wed Jun 01 22:36:01 2011 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazdrop" -VERSION="4.2.1" +VERSION="4.3" CATEGORY="office" SHORT_DESC="SliTaz desktop Drag N' Drop tool" MAINTAINER="pankso@slitaz.org"