wok-next rev 20473

Tiny edits...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 16:57:21 2018 +0200 (2018-03-10)
parents 3e3205b3b68f
children 2d4ad53f3c69
files cocoalib/receipt codiad/receipt cpulimit/receipt dd_rescue/receipt dd_rhelp/receipt dnstop/receipt ecofont/receipt electric-fence/receipt elilo/receipt emesene/receipt emesene/stuff/patches/series emesene/stuff/patches/slitaz-openbox.patch emesene/stuff/slitaz-openbox.patch epm/receipt evince/receipt fatattr/receipt fbcat/receipt fbgrab/receipt fbida/receipt fbvnc-auth/receipt fbvnc/receipt fbxkb/receipt fbxkb/stuff/fbxkb.patch fbxkb/stuff/patches/fbxkb.patch fbxkb/stuff/patches/series fdupes/receipt foremost/receipt fuse-rofs/receipt fxload/receipt gambas2/receipt gentorrent/receipt gettext/receipt gmerlin/receipt gnome-keyring/receipt grooms/receipt gsim51/receipt gst0-plugins-base/receipt gtk-theme-albatross/receipt gtk-theme-bluebird/receipt gtk-theme-greybird/receipt gtk-theme-orion/receipt gtk-theme-switch/receipt gtk3-engine-solidity/receipt gxmessage/receipt hatenarunner/receipt horst/receipt hsetroot/receipt httpfs2-fuse/receipt iasl/receipt iaxmodem/receipt icmpshell/receipt icmptx/receipt id3v2/receipt input-utils/receipt iptstate/receipt jabberd2/receipt jbigkit/receipt jdk6-jaf/receipt jdk6-jaxp/receipt jdk6-jaxws/receipt jdk7-corba/receipt jdk7-hotspot/receipt jdk7-jaf/receipt jdk7-jaxp/receipt jdk7-jaxws/receipt jdk7-langtools/receipt jhead/receipt john/receipt l2tpd/receipt ldapvi/receipt
line diff
     1.1 --- a/cocoalib/receipt	Sat Mar 10 13:48:53 2018 +0200
     1.2 +++ b/cocoalib/receipt	Sat Mar 10 16:57:21 2018 +0200
     1.3 @@ -1,33 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cocoalib"
     1.8  VERSION="0.9952"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in Commutative Algebra"
    1.11 +SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in \
    1.12 +Commutative Algebra"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL3"
    1.15  WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
    1.16 +
    1.17  TARBALL="CoCoALib-$VERSION.tgz"
    1.18  WGET_URL="${WEB_SITE}tgz/$TARBALL"
    1.19  
    1.20 -DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
    1.21 -libboost-iostreams libboost-math-tr1"
    1.22  BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-dev libboost-thread libboost-system \
    1.23  libboost-filesystem libboost-iostreams libboost-math-tr1"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
    1.30  		xargs touch -d 197001010000
    1.31 -	./configure $CONFIGURE_ARGS && make library
    1.32 +	./configure $CONFIGURE_ARGS && make library || return 1
    1.33 +
    1.34  	# INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
    1.35 +	mkdir -p $install/usr/lib $install/usr/include
    1.36 +	cp -r $src/lib/libcocoa.a /$install/usr/lib
    1.37 +	cp -r $src/include/* $install/usr/include
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.44 -	cp -a $src/lib/libcocoa.a /$fs/usr/lib
    1.45 -	cp -a $src/include/* $fs/usr/include
    1.46 +genpkg_rules() {
    1.47 +	copy @dev
    1.48 +	DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
    1.49 +	libboost-iostreams libboost-math-tr1"
    1.50  }
     2.1 --- a/codiad/receipt	Sat Mar 10 13:48:53 2018 +0200
     2.2 +++ b/codiad/receipt	Sat Mar 10 16:57:21 2018 +0200
     2.3 @@ -1,34 +1,28 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="codiad"
     2.8  GITHASH="51852c63d85dd961527426c4a157c712a74a0859"
     2.9  VERSION=${GITHASH:0:7}
    2.10  CATEGORY="office"
    2.11 -SHORT_DESC="web-based IDE framework with a small footprint."
    2.12 +SHORT_DESC="Web-based IDE framework with a small footprint"
    2.13  MAINTAINER="pascal.bellard@slitaz.org"
    2.14  LICENSE="MIT"
    2.15 +WEB_SITE="http://codiad.com/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://codiad.com/"
    2.19  WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH"
    2.20 -CONFIG_FILES="/etc/codiad.php"
    2.21  
    2.22 -DEPENDS="php"
    2.23 -BUILD_DEPENDS="wget"
    2.24 -
    2.25 -# Rules to configure and make the package.
    2.26 -compile_rules()
    2.27 -{
    2.28 -	cd $src
    2.29 +compile_rules() {
    2.30 +	mkdir -p $install/var/www/codiad $install/etc
    2.31 +	cp -a $src/* $install/var/www/codiad
    2.32 +	chown -R www.www $install/var/www/codiad
    2.33 +	chmod 777 $install/var/www/codiad/data
    2.34 +	mv $install/var/www/codiad/config.example.php $install/etc/codiad.php
    2.35 +	ln -s /etc/codiad.php $install/var/www/codiad/config.php
    2.36  }
    2.37  
    2.38 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    2.39 -genpkg_rules()                                      
    2.40 -{
    2.41 -	mkdir -p $fs/var/www/codiad $fs/etc
    2.42 -	cp -a $src/* $fs/var/www/codiad
    2.43 -	chown -R www.www $fs/var/www/codiad
    2.44 -	chmod 777 $fs/var/www/codiad/data
    2.45 -	mv $fs/var/www/codiad/config.example.php $fs/etc/codiad.php
    2.46 -	ln -s /etc/codiad.php $fs/var/www/codiad/config.php
    2.47 +genpkg_rules() {
    2.48 +	copy @std
    2.49 +	DEPENDS="php"
    2.50 +	CONFIG_FILES="/etc/codiad.php"
    2.51  }
    2.52 -
     3.1 --- a/cpulimit/receipt	Sat Mar 10 13:48:53 2018 +0200
     3.2 +++ b/cpulimit/receipt	Sat Mar 10 16:57:21 2018 +0200
     3.3 @@ -9,11 +9,11 @@
     3.4  WEB_SITE="http://cpulimit.sourceforge.net"
     3.5  
     3.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.7 -WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$TARBALL"
     3.8 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     3.9  
    3.10  compile_rules() {
    3.11  	make &&
    3.12 -	install _Dm755 $src/cpulimit $install/usr/bin/cpulimit
    3.13 +	install -Dm755 $src/cpulimit $install/usr/bin/cpulimit
    3.14  }
    3.15  
    3.16  genpkg_rules() {
     4.1 --- a/dd_rescue/receipt	Sat Mar 10 13:48:53 2018 +0200
     4.2 +++ b/dd_rescue/receipt	Sat Mar 10 16:57:21 2018 +0200
     4.3 @@ -13,7 +13,7 @@
     4.4  
     4.5  compile_rules() {
     4.6  	make &&
     4.7 -	install $src/dd_rescue $install/usr/bin/dd_rescue
     4.8 +	install -Dm755 $src/dd_rescue $install/usr/bin/dd_rescue
     4.9  }
    4.10  
    4.11  genpkg_rules() {
     5.1 --- a/dd_rhelp/receipt	Sat Mar 10 13:48:53 2018 +0200
     5.2 +++ b/dd_rhelp/receipt	Sat Mar 10 16:57:21 2018 +0200
     5.3 @@ -12,7 +12,7 @@
     5.4  WGET_URL="http://www.kalysto.org/pkg/$TARBALL"
     5.5  
     5.6  compile_rules() {
     5.7 -	install $src/dd_rhelp $install/usr/bin/dd_rhelp
     5.8 +	install -Dm755 $src/dd_rhelp $install/usr/bin/dd_rhelp
     5.9  }
    5.10  
    5.11  genpkg_rules() {
     6.1 --- a/dnstop/receipt	Sat Mar 10 13:48:53 2018 +0200
     6.2 +++ b/dnstop/receipt	Sat Mar 10 16:57:21 2018 +0200
     6.3 @@ -16,7 +16,7 @@
     6.4  compile_rules() {
     6.5  	./configure --prefix=/usr &&
     6.6  	make &&
     6.7 -	install -Dm755 $src/dnstop $fs/usr/bin/dnstop
     6.8 +	install -Dm755 $src/dnstop $install/usr/bin/dnstop
     6.9  }
    6.10  
    6.11  genpkg_rules() {
     7.1 --- a/ecofont/receipt	Sat Mar 10 13:48:53 2018 +0200
     7.2 +++ b/ecofont/receipt	Sat Mar 10 16:57:21 2018 +0200
     7.3 @@ -1,26 +1,24 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="ecofont"
     7.8  VERSION="2.0"
     7.9  CATEGORY="fonts"
    7.10 -SHORT_DESC="20% ink saving font from SPRANQ."
    7.11 +SHORT_DESC="20% ink saving font from SPRANQ"
    7.12  MAINTAINER="pascal.bellard@slitaz.org"
    7.13  LICENSE="other"
    7.14 +WEB_SITE="http://www.ecofont.eu/ecofont_en.html"
    7.15 +
    7.16  TARBALL="spranq_eco_sans_regular.zip"
    7.17 -WEB_SITE="http://www.ecofont.eu/ecofont_en.html"
    7.18  WGET_URL="http://www.ecofont.eu/assets/files/$TARBALL"
    7.19  
    7.20  BUILD_DEPENDS="unzip"
    7.21  
    7.22 -# Rules to configure and make the package.
    7.23 -compile_rules()
    7.24 -{
    7.25 +compile_rules() {
    7.26  	unzip $SOURCES_REPOSITORY/$TARBALL
    7.27 +	mkdir -p      $install/usr/share/fonts/truetype/ecofont
    7.28 +	cp $src/*.ttf $install/usr/share/fonts/truetype/ecofont
    7.29  }
    7.30  
    7.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.32 -genpkg_rules()
    7.33 -{
    7.34 -	mkdir -p $fs/usr/share/fonts/truetype/ecofont
    7.35 -	cp -a $src/* $fs/usr/share/fonts/truetype/ecofont
    7.36 +genpkg_rules() {
    7.37 +	copy @std
    7.38  }
     8.1 --- a/electric-fence/receipt	Sat Mar 10 13:48:53 2018 +0200
     8.2 +++ b/electric-fence/receipt	Sat Mar 10 16:57:21 2018 +0200
     8.3 @@ -1,4 +1,4 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="electric-fence"
     8.8  VERSION="2.1.13"
     8.9 @@ -6,27 +6,21 @@
    8.10  SHORT_DESC="Memory allocation debugger"
    8.11  MAINTAINER="erjo@slitaz.org"
    8.12  LICENSE="GPL2"
    8.13 +WEB_SITE="http://perens.com/works/software/"
    8.14 +
    8.15  TARBALL="${PACKAGE}_${VERSION}-0.1.tar.gz"
    8.16 -WEB_SITE="http://perens.com/works/software/"
    8.17  WGET_URL="http://perens.com/works/software/ElectricFence/$TARBALL"
    8.18 -TAGS="debugger"
    8.19  
    8.20 -DEPENDS="gdb"
    8.21 -
    8.22 -# Rules to configure and make the package.
    8.23 -compile_rules()
    8.24 -{
    8.25 -	cd $src
    8.26 -	
    8.27 -	make 
    8.28 +compile_rules() {
    8.29 +	make || return 1
    8.30 +	mkdir -p $install/usr/lib $install/usr/bin
    8.31 +	cp -a $src/eftest $install/usr/bin
    8.32 +	cp -a $src/tstheap $install/usr/bin
    8.33 +	cp -a $src/*.a  $install/usr/lib
    8.34  }
    8.35  
    8.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.37 -genpkg_rules()
    8.38 -{
    8.39 -	mkdir -p $fs/usr/lib  $fs/usr/bin
    8.40 -	cp -a $src/eftest $fs/usr/bin
    8.41 -	cp -a $src/tstheap $fs/usr/bin
    8.42 -	cp -a $src/*.a  $fs/usr/lib
    8.43 +genpkg_rules() {
    8.44 +	copy @std @dev
    8.45 +	DEPENDS="gdb"
    8.46 +	TAGS="debugger"
    8.47  }
    8.48 -
     9.1 --- a/elilo/receipt	Sat Mar 10 13:48:53 2018 +0200
     9.2 +++ b/elilo/receipt	Sat Mar 10 16:57:21 2018 +0200
     9.3 @@ -1,30 +1,29 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="elilo"
     9.8  VERSION="3.10"
     9.9  CATEGORY="system-tools"
    9.10 -SHORT_DESC="The EFI linux boot loader."
    9.11 +SHORT_DESC="The EFI linux boot loader"
    9.12  MAINTAINER="pascal.bellard@slitaz.org"
    9.13  LICENSE="GPL2"
    9.14 +WEB_SITE="http://elilo.sourceforge.net/"
    9.15 +
    9.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.17 -WEB_SITE="http://elilo.sourceforge.net/"
    9.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    9.19 +
    9.20  BUILD_DEPENDS="gnu-efi"
    9.21 +
    9.22  # See http://mactel-linux.sourceforge.net/wiki/Main_Page
    9.23  #     genisoimage -boot-hfs-file
    9.24  
    9.25 -# Rules to configure and make the package.
    9.26 -compile_rules()
    9.27 -{
    9.28 -	cd $src
    9.29 -	make -j1
    9.30 +compile_rules() {
    9.31 +	make -j1 || return 1
    9.32 +
    9.33 +	mkdir -p $install/usr/lib/elilo $install/usr/sbin
    9.34 +	cp -a $src/elilo.efi $install/usr/lib/elilo
    9.35 +	cp -a $src/tools/eliloalt $install/usr/sbin
    9.36  }
    9.37  
    9.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.39 -genpkg_rules()
    9.40 -{
    9.41 -	mkdir -p $fs/usr/lib/elilo $fs/usr/sbin
    9.42 -	cp -a $src/elilo.efi $fs/usr/lib/elilo
    9.43 -	cp -a $src/tools/eliloalt $fs/usr/sbin
    9.44 +genpkg_rules() {
    9.45 +	copy @std
    9.46  }
    9.47 -
    10.1 --- a/emesene/receipt	Sat Mar 10 13:48:53 2018 +0200
    10.2 +++ b/emesene/receipt	Sat Mar 10 16:57:21 2018 +0200
    10.3 @@ -1,50 +1,40 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="emesene"
    10.8  VERSION="1.6"
    10.9  CATEGORY="network"
   10.10 -SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network."
   10.11 +SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network"
   10.12  MAINTAINER="rocky@slitaz.org"
   10.13  LICENSE="GPL2 LGPL2.1"
   10.14 +WEB_SITE="http://www.emesene.org"
   10.15 +
   10.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.17 -WEB_SITE="http://www.emesene.org"
   10.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   10.19 -TAGS="im instant-messaging instant-messenger"
   10.20  
   10.21 -DEPENDS="python pygtk pycairo python-pysqlite gst0-python"
   10.22  BUILD_DEPENDS="python-dev"
   10.23  
   10.24 -# Rules to configure and make the package.
   10.25 -compile_rules()
   10.26 -{
   10.27 -    cd $src
   10.28 -    while read file; do
   10.29 -        [ -f done.$file ] && continue
   10.30 -        echo "Apply $file..."
   10.31 -        patch -p1 < $stuff/$file || return 1
   10.32 -        touch done.$file
   10.33 -    done <<EOT
   10.34 -slitaz-openbox.patch
   10.35 -EOT
   10.36 -    python setup.py build_ext -i || return 1
   10.37 +compile_rules() {
   10.38 +	python setup.py build_ext -i || return 1
   10.39 +
   10.40 +	mkdir -p \
   10.41 +		$install/usr/bin \
   10.42 +		$install/usr/share/emesene \
   10.43 +		$install/usr/share/pixmaps \
   10.44 +		$install/usr/share/applications
   10.45 +
   10.46 +	cp $stuff/emesene $install/usr/bin
   10.47 +	cp -a $src/* $install/usr/share/emesene
   10.48 +	cp $install/usr/share/emesene/misc/emesene.png $install/usr/share/pixmaps
   10.49 +	cp $install/usr/share/emesene/misc/emesene.desktop $install/usr/share/applications
   10.50 +
   10.51 +	rm -rf $install/usr/share/emesene/misc
   10.52 +	rm -rf $install/usr/share/emesene/po
   10.53 +	rm -rf $install/usr/share/emesene/libmimic
   10.54 +	rm -rf $install/usr/share/emesene/build
   10.55  }
   10.56  
   10.57 -
   10.58 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.59 -genpkg_rules()
   10.60 -{
   10.61 -    mkdir -p $fs/usr/bin \
   10.62 -        $fs/usr/share/emesene \
   10.63 -        $fs/usr/share/pixmaps \
   10.64 -        $fs/usr/share/applications
   10.65 -
   10.66 -    cp stuff/emesene $fs/usr/bin
   10.67 -    cp -a $src/* $fs/usr/share/emesene
   10.68 -    cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps
   10.69 -    cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications
   10.70 -
   10.71 -    rm -rf $fs/usr/share/emesene/misc
   10.72 -    rm -rf $fs/usr/share/emesene/po
   10.73 -    rm -rf $fs/usr/share/emesene/libmimic
   10.74 -    rm -rf $fs/usr/share/emesene/build
   10.75 +genpkg_rules() {
   10.76 +	copy @std
   10.77 +	DEPENDS="python pygtk pycairo python-pysqlite gst0-python"
   10.78 +	TAGS="im instant-messaging instant-messenger"
   10.79  }
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/emesene/stuff/patches/series	Sat Mar 10 16:57:21 2018 +0200
    11.3 @@ -0,0 +1,1 @@
    11.4 +slitaz-openbox.patch
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/emesene/stuff/patches/slitaz-openbox.patch	Sat Mar 10 16:57:21 2018 +0200
    12.3 @@ -0,0 +1,25 @@
    12.4 +--- emesene-1.0.1/emesene.orig	Fri Jun 19 13:58:30 2009
    12.5 ++++ emesene-1.0.1/emesene	Fri Jun 19 13:59:15 2009
    12.6 +@@ -25,6 +25,22 @@
    12.7 + except:
    12.8 +     pass
    12.9 + 
   12.10 ++# for slitaz openbox WM
   12.11 ++import os
   12.12 ++if not os.environ.has_key("KDE_FULL_SESSION") and \
   12.13 ++    not os.environ.has_key("DESKTOP_SESSION") and \
   12.14 ++    not os.environ.has_key("GNOME_DESKTOP_SESSION_ID"):
   12.15 ++    if not os.environ.has_key("DESKTOP_LAUNCH"):
   12.16 ++        if os.path.isfile('/usr/bin/firefox'):
   12.17 ++            browser = '/usr/bin/firefox '
   12.18 ++        elif os.path.isfile('/usr/bin/opera'):
   12.19 ++            browser = '/usr/bin/opera '
   12.20 ++        elif os.path.isfile('/usr/bin/midori'):
   12.21 ++            browser = '/usr/bin/midori '
   12.22 ++
   12.23 ++        if browser:
   12.24 ++            os.environ["DESKTOP_LAUNCH"] = browser
   12.25 ++
   12.26 + try:
   12.27 +     from emesene import Controller
   12.28 + except ImportError:
    13.1 --- a/emesene/stuff/slitaz-openbox.patch	Sat Mar 10 13:48:53 2018 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,25 +0,0 @@
    13.4 ---- emesene-1.0.1/emesene.orig	Fri Jun 19 13:58:30 2009
    13.5 -+++ emesene-1.0.1/emesene	Fri Jun 19 13:59:15 2009
    13.6 -@@ -25,6 +25,22 @@
    13.7 - except:
    13.8 -     pass
    13.9 - 
   13.10 -+# for slitaz openbox WM
   13.11 -+import os
   13.12 -+if not os.environ.has_key("KDE_FULL_SESSION") and \
   13.13 -+    not os.environ.has_key("DESKTOP_SESSION") and \
   13.14 -+    not os.environ.has_key("GNOME_DESKTOP_SESSION_ID"):
   13.15 -+    if not os.environ.has_key("DESKTOP_LAUNCH"):
   13.16 -+        if os.path.isfile('/usr/bin/firefox'):
   13.17 -+            browser = '/usr/bin/firefox '
   13.18 -+        elif os.path.isfile('/usr/bin/opera'):
   13.19 -+            browser = '/usr/bin/opera '
   13.20 -+        elif os.path.isfile('/usr/bin/midori'):
   13.21 -+            browser = '/usr/bin/midori '
   13.22 -+
   13.23 -+        if browser:
   13.24 -+            os.environ["DESKTOP_LAUNCH"] = browser
   13.25 -+
   13.26 - try:
   13.27 -     from emesene import Controller
   13.28 - except ImportError:
    14.1 --- a/epm/receipt	Sat Mar 10 13:48:53 2018 +0200
    14.2 +++ b/epm/receipt	Sat Mar 10 16:57:21 2018 +0200
    14.3 @@ -1,27 +1,21 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="epm"
    14.8  VERSION="4.2"
    14.9  CATEGORY="misc"
   14.10 -SHORT_DESC="File packaging program."
   14.11 +SHORT_DESC="File packaging program"
   14.12  MAINTAINER="pascal.bellard@slitaz.org"
   14.13  LICENSE="GPL2"
   14.14 +WEB_SITE="http://www.msweet.org/projects.php?Z2"
   14.15 +
   14.16  TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
   14.17 -WEB_SITE="http://www.msweet.org/projects.php?Z2"
   14.18  WGET_URL="http://www.msweet.org/files/project2/$TARBALL"
   14.19  
   14.20 -DEPENDS=""
   14.21 -BUILD_DEPENDS=""
   14.22 -
   14.23 -# Rules to configure and make the package.
   14.24 -compile_rules()
   14.25 -{
   14.26 -	./configure --prefix=/usr && make -j 1
   14.27 +compile_rules() {
   14.28 +	./configure --prefix=/usr && make -j 1 &&
   14.29 +	install -Dm755 $src/epm $install/usr/bin/epm
   14.30  }
   14.31  
   14.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.33 -genpkg_rules()
   14.34 -{
   14.35 -	mkdir -p $fs/usr/bin
   14.36 -	cp -a $src/epm $fs/usr/bin
   14.37 +genpkg_rules() {
   14.38 +	copy @std
   14.39  }
    15.1 --- a/evince/receipt	Sat Mar 10 13:48:53 2018 +0200
    15.2 +++ b/evince/receipt	Sat Mar 10 16:57:21 2018 +0200
    15.3 @@ -6,19 +6,19 @@
    15.4  SHORT_DESC="Document viewer for Gnome"
    15.5  MAINTAINER="erjo@slitaz.org"
    15.6  LICENSE="GPL2"
    15.7 +WEB_SITE="http://projects.gnome.org/evince/"
    15.8 +
    15.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   15.10 -WEB_SITE="http://projects.gnome.org/evince/"
   15.11  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
   15.12  
   15.13  BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \
   15.14  gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
   15.15  poppler-dev tiff-dev dbus-glib-dev xorg-dev lcms2-dev"
   15.16 -SPLIT="evince evince-dev evince-doc"
   15.17 +SPLIT="evince-dev"
   15.18  
   15.19 -# Rules to configure and make the package.
   15.20 -compile_rules()
   15.21 -{
   15.22 -	./configure --prefix=/usr \
   15.23 +compile_rules() {
   15.24 +	./configure \
   15.25 +		--prefix=/usr \
   15.26  		--libexecdir=/usr/lib/$PACKAGE \
   15.27  		--disable-nautilus \
   15.28  		--disable-scrollkeeper \
   15.29 @@ -30,51 +30,21 @@
   15.30  		--with-help-formats=none \
   15.31  		--disable-help \
   15.32  		$CONFIGURE_ARGS &&
   15.33 -	make -j1 && make -j1 DESTDIR=$DESTDIR install
   15.34 +	make -j1 && make -j1 DESTDIR=$DESTDIR install || return 1
   15.35  
   15.36 -	# Check for evince-doc
   15.37 -	[ -d $install/usr/share/gnome   -a \
   15.38 -	  -d $install/usr/share/gtk-doc -a \
   15.39 -	  -d $install/usr/share/omf ]
   15.40 +	install -Dm644 $stuff/evince.desktop $install/usr/share/applications/evince.desktop
   15.41  }
   15.42  
   15.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.44 -genpkg_rules()
   15.45 -{
   15.46 +genpkg_rules() {
   15.47  	case $PACKAGE in
   15.48 -	evince)
   15.49 -		TAGS="viewer pdf tiff ps postscript dvi"
   15.50 -		DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
   15.51 -		mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
   15.52 -		cp -a $install/usr/bin $fs/usr
   15.53 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   15.54 -		cp -a $install/usr/lib/evince $fs/usr/lib
   15.55 -
   15.56 -		cp -a $install/usr/share/dbus-1 $fs/usr/share
   15.57 -		cp -a $install/usr/share/icons $fs/usr/share
   15.58 -		cp -a $install/usr/share/evince $fs/usr/share
   15.59 -		cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
   15.60 -		cp -a $stuff/evince.desktop $fs/usr/share/applications
   15.61 -
   15.62 -		# Removing unwanted files
   15.63 -		find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
   15.64 -		;;
   15.65 -	evince-dev)
   15.66 -		CAT="office|Evince developement headers files."
   15.67 -		DEPENDS="evince gnome-doc-utils"
   15.68 -		mkdir -p $fs/usr/lib/evince/3/backends
   15.69 -
   15.70 -		cp -a $install/usr/include $fs/usr
   15.71 -		cp -a $install/usr/lib/*.*a $fs/usr/lib
   15.72 -		cp -a $install/usr/lib/evince/3/backends/*.*a $fs/usr/lib/evince/3/backends
   15.73 -		;;
   15.74 -	evince-doc)
   15.75 -		CAT="development|Evince documention."
   15.76 -		DEPENDS="evince"
   15.77 -		# Note: Evince build disables local help in favor of online help.
   15.78 -		# Consider removing this package from wok. 
   15.79 -		mkdir -p $fs/usr/share
   15.80 -		cp -a $install/usr/share/gtk-doc $fs/usr/share
   15.81 -		;;
   15.82 +		evince)
   15.83 +			copy @std
   15.84 +			TAGS="viewer pdf tiff ps postscript dvi"
   15.85 +			DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
   15.86 +			;;
   15.87 +		evince-dev)
   15.88 +			copy @dev
   15.89 +			DEPENDS="evince gnome-doc-utils"
   15.90 +			;;
   15.91  	esac
   15.92  }
    16.1 --- a/fatattr/receipt	Sat Mar 10 13:48:53 2018 +0200
    16.2 +++ b/fatattr/receipt	Sat Mar 10 16:57:21 2018 +0200
    16.3 @@ -1,28 +1,24 @@
    16.4 -# SliTaz package receipt.
    16.5 +# SliTaz package receipt v2.
    16.6  
    16.7  PACKAGE="fatattr"
    16.8  VERSION="1.0"
    16.9  CATEGORY="base-system"
   16.10 -SHORT_DESC="Handle fat attributes."
   16.11 +SHORT_DESC="Handle FAT attributes"
   16.12  MAINTAINER="pascal.bellard@slitaz.org"
   16.13  LICENSE="GPL2"
   16.14 +WEB_SITE="http://www.kernel.org/"
   16.15 +
   16.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   16.17 -WEB_SITE="http://www.kernel.org/"
   16.18  WGET_URL="http://www.eu.kernel.org/pub/linux/utils/fs/fat/$PACKAGE/$TARBALL"
   16.19  
   16.20 -# Rules to configure and make the package.
   16.21 -compile_rules()
   16.22 -{
   16.23 -	cd $src
   16.24 -	./configure
   16.25 -	make
   16.26 -} 
   16.27 +compile_rules() {
   16.28 +	./configure &&
   16.29 +	make || return 1
   16.30  
   16.31 +	install -Dm755 $src/fatattr      $install/usr/bin/fatattr
   16.32 +	install -Dm755 $stuff/fatattr.sh $install/usr/bin/fatattr.sh
   16.33 +}
   16.34  
   16.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.36 -genpkg_rules()
   16.37 -{
   16.38 -	mkdir -p $fs/usr/bin
   16.39 -	cp $src/fatattr $fs/usr/bin
   16.40 -	cp $stuff/fatattr.sh $fs/usr/bin
   16.41 +genpkg_rules() {
   16.42 +	copy @std
   16.43  }
    17.1 --- a/fbcat/receipt	Sat Mar 10 13:48:53 2018 +0200
    17.2 +++ b/fbcat/receipt	Sat Mar 10 16:57:21 2018 +0200
    17.3 @@ -1,28 +1,26 @@
    17.4 -# SliTaz package receipt.
    17.5 +# SliTaz package receipt v2.
    17.6  
    17.7  PACKAGE="fbcat"
    17.8  VERSION="0.3"
    17.9  CATEGORY="misc"
   17.10 -SHORT_DESC="Takes a screenshot using the framebuffer device."
   17.11 +SHORT_DESC="Takes a screenshot using the framebuffer device"
   17.12  MAINTAINER="pascal.bellard@slitaz.org"
   17.13  LICENSE="GPL2"
   17.14 +WEB_SITE="https://code.google.com/p/$PACKAGE/"
   17.15 +
   17.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   17.17 -WEB_SITE="https://code.google.com/p/$PACKAGE/"
   17.18 -WGET_URL="https://$PACKAGE.googlecode.com/files/$TARBALL"
   17.19 +WGET_URL="https://fbcat.googlecode.com/files/$TARBALL"
   17.20  
   17.21 -SUGGESTED="imagemagick"
   17.22  BUILD_DEPENDS="wget"
   17.23  
   17.24 -# Rules to configure and make the package.
   17.25 -compile_rules()
   17.26 -{
   17.27 -	make
   17.28 +compile_rules() {
   17.29 +	make || return 1
   17.30 +
   17.31 +	install -Dm755 $src/fbcat  $install/usr/bin/fbcat
   17.32 +	install -Dm755 $src/fbgrab $install/usr/bin/fbgrab
   17.33  }
   17.34  
   17.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.36 -genpkg_rules()
   17.37 -{
   17.38 -	mkdir -p $fs/usr/bin
   17.39 -	cp -a $src/fbcat $fs/usr/bin
   17.40 -	cp -a $src/fbgrab $fs/usr/bin
   17.41 +genpkg_rules() {
   17.42 +	copy @std
   17.43 +	SUGGESTED="imagemagick"
   17.44  }
    18.1 --- a/fbgrab/receipt	Sat Mar 10 13:48:53 2018 +0200
    18.2 +++ b/fbgrab/receipt	Sat Mar 10 16:57:21 2018 +0200
    18.3 @@ -7,22 +7,19 @@
    18.4  MAINTAINER="pascal.bellard@slitaz.org"
    18.5  LICENSE="GPL2"
    18.6  WEB_SITE="http://fbgrab.monells.se/"
    18.7 +
    18.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
    18.9  WGET_URL="${WEB_SITE}$TARBALL"
   18.10  
   18.11 -DEPENDS="libpng16 zlib"
   18.12  BUILD_DEPENDS="libpng16-dev zlib-dev"
   18.13  
   18.14 -# Rules to configure and make the package.
   18.15 -compile_rules()
   18.16 -{
   18.17 +compile_rules() {
   18.18  	#sed -i '/splint/d' Makefile
   18.19 -	make
   18.20 +	make &&
   18.21 +	install -Dm755 $src/fbgrab $install/usr/bin/fbgrab
   18.22  }
   18.23  
   18.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.25 -genpkg_rules()
   18.26 -{
   18.27 -	mkdir -p $fs/usr/bin
   18.28 -	cp $src/fbgrab $fs/usr/bin
   18.29 +genpkg_rules() {
   18.30 +	copy @std
   18.31 +	DEPENDS="libpng16 zlib"
   18.32  }
    19.1 --- a/fbida/receipt	Sat Mar 10 13:48:53 2018 +0200
    19.2 +++ b/fbida/receipt	Sat Mar 10 16:57:21 2018 +0200
    19.3 @@ -1,4 +1,4 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="fbida"
    19.8  VERSION="2.09"
    19.9 @@ -6,26 +6,24 @@
   19.10  SHORT_DESC="Image viewer for the framebuffer console"
   19.11  MAINTAINER="devl547@gmail.com"
   19.12  LICENSE="GPL2"
   19.13 +WEB_SITE="http://linux.bytesex.org/fbida/"
   19.14 +
   19.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   19.16 -WEB_SITE="http://linux.bytesex.org/fbida/"
   19.17  WGET_URL="http://dl.bytesex.org/releases/$PACKAGE/$TARBALL"
   19.18  
   19.19 -DEPENDS="libpng16 giflib tiff jpeg ttf-bitstream-vera libexif zlib \
   19.20 -libcurl freetype fontconfig"
   19.21  BUILD_DEPENDS="freetype-dev fontconfig-dev libexif-dev curl-dev jpeg-dev \
   19.22  libpng16-dev tiff-dev"
   19.23  
   19.24 -# Rules to configure and make the package.
   19.25 -compile_rules()
   19.26 -{
   19.27 -	make
   19.28 +compile_rules() {
   19.29 +	make || return 1
   19.30 +
   19.31 +	install -Dm755 $src/fbi      $install/usr/bin/fbi
   19.32 +	install -Dm755 $src/fbgs     $install/usr/bin/fbgs
   19.33 +	install -Dm755 $src/exiftran $install/usr/bin/exiftran
   19.34  }
   19.35  
   19.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.37 -genpkg_rules()
   19.38 -{
   19.39 -	mkdir -p $fs/usr/bin
   19.40 -	for tool in fbi fbgs exiftran; do
   19.41 -		cp -a ${src}/${tool} $fs/usr/bin
   19.42 -	done
   19.43 +genpkg_rules() {
   19.44 +	copy @std
   19.45 +	DEPENDS="libpng16 giflib tiff jpeg ttf-bitstream-vera libexif zlib \
   19.46 +	libcurl freetype fontconfig"
   19.47  }
    20.1 --- a/fbvnc-auth/receipt	Sat Mar 10 13:48:53 2018 +0200
    20.2 +++ b/fbvnc-auth/receipt	Sat Mar 10 16:57:21 2018 +0200
    20.3 @@ -1,32 +1,30 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="fbvnc-auth"
    20.8  VERSION="1.0.2"
    20.9 +HASH="783204f"
   20.10  CATEGORY="network"
   20.11 -SHORT_DESC="VNC client in frame buffer with authentication."
   20.12 +SHORT_DESC="VNC client in frame buffer with authentication"
   20.13  MAINTAINER="pascal.bellard@slitaz.org"
   20.14  LICENSE="GPL2"
   20.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   20.16  WEB_SITE="https://github.com/zohead/fbvnc"
   20.17 -WGET_URL="git|git://github.com/zohead/fbvnc.git"
   20.18 -PROVIDE="fbvnc"
   20.19 -TAGS="vnc remote-desktop"
   20.20  
   20.21 -# Git must be installed in a cross chroot
   20.22 -case "$ARCH" in
   20.23 -	i?86) BUILD_DEPENDS="git" ;;
   20.24 -esac
   20.25 +#TARBALL="$PACKAGE-$VERSION.tar.bz2"
   20.26 +#WGET_URL="git|git://github.com/zohead/fbvnc.git"
   20.27 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   20.28 +WGET_URL="https://github.com/zohead/fbvnc/archive/$HASH.tar.gz"
   20.29  
   20.30 -# Rules to configure and make the package.
   20.31 -compile_rules()
   20.32 -{
   20.33 +BUILD_DEPENDS_arm=""
   20.34 +BUILD_DEPENDS="git"
   20.35 +
   20.36 +compile_rules() {
   20.37  	sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
   20.38 -	make
   20.39 +	make &&
   20.40 +	install -Dm755 $src/fbvnc $install/usr/bin/fbvnc
   20.41  }
   20.42  
   20.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.44 -genpkg_rules()
   20.45 -{
   20.46 -	mkdir -p $fs/usr/bin
   20.47 -	cp -a $src/fbvnc $fs/usr/bin
   20.48 +genpkg_rules() {
   20.49 +	copy @std
   20.50 +	PROVIDE="fbvnc"
   20.51 +	TAGS="vnc remote-desktop"
   20.52  }
    21.1 --- a/fbvnc/receipt	Sat Mar 10 13:48:53 2018 +0200
    21.2 +++ b/fbvnc/receipt	Sat Mar 10 16:57:21 2018 +0200
    21.3 @@ -1,32 +1,29 @@
    21.4 -# SliTaz package receipt.
    21.5 +# SliTaz package receipt v2.
    21.6  
    21.7  PACKAGE="fbvnc"
    21.8 -VERSION="20130314"
    21.9 +VERSION="20130304"
   21.10  CATEGORY="network"
   21.11 -SHORT_DESC="VNC client in frame buffer."
   21.12 +SHORT_DESC="VNC client in frame buffer"
   21.13  MAINTAINER="pascal.bellard@slitaz.org"
   21.14  LICENSE="GPL2"
   21.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   21.16  WEB_SITE="http://repo.or.cz/w/fbvnc.git"
   21.17 -WGET_URL="git|git://repo.or.cz/fbvnc.git"
   21.18 -TAGS="vnc remote-desktop"
   21.19  
   21.20 -# Git must be installed in a cross chroot
   21.21 -case "$ARCH" in
   21.22 -	i?86) BUILD_DEPENDS="git" ;;
   21.23 -esac
   21.24 +#TARBALL="$PACKAGE-$VERSION.tar.bz2"
   21.25 +#WGET_URL="git|git://repo.or.cz/fbvnc.git"
   21.26 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   21.27 +WGET_URL="http://repo.or.cz/fbvnc.git/snapshot/d1a3369e9c4cdf06bc7fd83408076d7965f879d9.tar.gz"
   21.28  
   21.29 -# Rules to configure and make the package.
   21.30 -compile_rules()
   21.31 -{
   21.32 +BUILD_DEPENDS_arm=""
   21.33 +BUILD_DEPENDS="git"
   21.34 +
   21.35 +compile_rules() {
   21.36  	#patch -p0 < $stuff/fbvnc.u &&
   21.37  	sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
   21.38 -	make
   21.39 +	make &&
   21.40 +	install -Dm755 $src/fbvnc $install/usr/bin/fbvnc
   21.41  }
   21.42  
   21.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.44 -genpkg_rules()
   21.45 -{
   21.46 -	mkdir -p $fs/usr/bin
   21.47 -	cp -a $src/fbvnc $fs/usr/bin
   21.48 +genpkg_rules() {
   21.49 +	copy @std
   21.50 +	TAGS="vnc remote-desktop"
   21.51  }
    22.1 --- a/fbxkb/receipt	Sat Mar 10 13:48:53 2018 +0200
    22.2 +++ b/fbxkb/receipt	Sat Mar 10 16:57:21 2018 +0200
    22.3 @@ -1,34 +1,30 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="fbxkb"
    22.8  VERSION="0.6"
    22.9  CATEGORY="utilities"
   22.10 -SHORT_DESC="fbxkb is NETWM compliant keyboard indicator and switcher."
   22.11 +SHORT_DESC="fbxkb is NETWM compliant keyboard indicator and switcher"
   22.12  MAINTAINER="devl547@gmail.com"
   22.13  LICENSE="GPL2"
   22.14 +WEB_SITE="http://fbxkb.sourceforge.net/"
   22.15 +
   22.16  TARBALL="$PACKAGE-$VERSION.tgz"
   22.17 -WEB_SITE="http://fbxkb.sourceforge.net/"
   22.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   22.19  
   22.20 -DEPENDS="gtk+ xorg-libXmu"
   22.21  BUILD_DEPENDS="gtk+-dev xorg-libXmu-dev"
   22.22  
   22.23 -# Rules to configure and make the package.
   22.24 -compile_rules()
   22.25 -{
   22.26 -	cd $src
   22.27 +compile_rules() {
   22.28  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
   22.29 -	patch -Np1 -i $stuff/$PACKAGE.patch
   22.30 +
   22.31  	./configure &&
   22.32 -	make
   22.33 +	make || return 1
   22.34 +
   22.35 +	install -Dm755 $src/fbxkb $install/usr/bin/fbxkb
   22.36 +	mkdir -p $install/usr/share/fbxkb/images
   22.37 +	cp $src/images/*.png $fs/usr/share/fbxkb/images
   22.38  }
   22.39  
   22.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.41 -genpkg_rules()
   22.42 -{
   22.43 -	mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
   22.44 -	cp -a $src/fbxkb $fs/usr/bin
   22.45 -	cp $src/images/*.png $fs/usr/share/fbxkb/images
   22.46 -
   22.47 +genpkg_rules() {
   22.48 +	copy @std
   22.49 +	DEPENDS="gtk+ xorg-libXmu"
   22.50  }
   22.51 -
    23.1 --- a/fbxkb/stuff/fbxkb.patch	Sat Mar 10 13:48:53 2018 +0200
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,28 +0,0 @@
    23.4 ---- a/fbxkb.c	2006-12-18 21:47:52.000000000 +0000
    23.5 -+++ b/fbxkb.c	2008-11-08 16:25:32.000000000 +0000
    23.6 -@@ -378,10 +378,11 @@
    23.7 -             g_assert((no >= 0) && (no < ngroups));
    23.8 -             if (group2info[no].sym != NULL) {
    23.9 -                 ERR("xkb group #%d is already defined\n", no);
   23.10 -+            } else {
   23.11 -+                group2info[no].sym = g_strdup(tok);
   23.12 -+                group2info[no].flag = sym2flag(tok);
   23.13 -+                group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);           
   23.14 -             }
   23.15 --            group2info[no].sym = g_strdup(tok);
   23.16 --            group2info[no].flag = sym2flag(tok);
   23.17 --            group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);           
   23.18 -         }
   23.19 -         XFree(sym_name);
   23.20 -     }
   23.21 ---- fbxkb-0.6.orig/Makefile.common      2004-10-15 22:18:59.000000000 +0000
   23.22 -+++ fbxkb-0.6/Makefile.common   2010-11-02 13:35:02.593908176 +0000
   23.23 -@@ -25,7 +25,7 @@
   23.24 - endif
   23.25 -
   23.26 - # -DGTK_DISABLE_DEPRECATED does not work yet
   23.27 --CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
   23.28 -+CFLAGS += -g
   23.29 -
   23.30 - %.o: %.c
   23.31 -        $(CC) $(CFLAGS) $(INCS) -c $<
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/fbxkb/stuff/patches/fbxkb.patch	Sat Mar 10 16:57:21 2018 +0200
    24.3 @@ -0,0 +1,28 @@
    24.4 +--- a/fbxkb.c	2006-12-18 21:47:52.000000000 +0000
    24.5 ++++ b/fbxkb.c	2008-11-08 16:25:32.000000000 +0000
    24.6 +@@ -378,10 +378,11 @@
    24.7 +             g_assert((no >= 0) && (no < ngroups));
    24.8 +             if (group2info[no].sym != NULL) {
    24.9 +                 ERR("xkb group #%d is already defined\n", no);
   24.10 ++            } else {
   24.11 ++                group2info[no].sym = g_strdup(tok);
   24.12 ++                group2info[no].flag = sym2flag(tok);
   24.13 ++                group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);           
   24.14 +             }
   24.15 +-            group2info[no].sym = g_strdup(tok);
   24.16 +-            group2info[no].flag = sym2flag(tok);
   24.17 +-            group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);           
   24.18 +         }
   24.19 +         XFree(sym_name);
   24.20 +     }
   24.21 +--- fbxkb-0.6.orig/Makefile.common      2004-10-15 22:18:59.000000000 +0000
   24.22 ++++ fbxkb-0.6/Makefile.common   2010-11-02 13:35:02.593908176 +0000
   24.23 +@@ -25,7 +25,7 @@
   24.24 + endif
   24.25 +
   24.26 + # -DGTK_DISABLE_DEPRECATED does not work yet
   24.27 +-CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
   24.28 ++CFLAGS += -g
   24.29 +
   24.30 + %.o: %.c
   24.31 +        $(CC) $(CFLAGS) $(INCS) -c $<
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/fbxkb/stuff/patches/series	Sat Mar 10 16:57:21 2018 +0200
    25.3 @@ -0,0 +1,1 @@
    25.4 +fbxkb.patch
    26.1 --- a/fdupes/receipt	Sat Mar 10 13:48:53 2018 +0200
    26.2 +++ b/fdupes/receipt	Sat Mar 10 16:57:21 2018 +0200
    26.3 @@ -1,28 +1,21 @@
    26.4 -# SliTaz package receipt.
    26.5 +# SliTaz package receipt v2.
    26.6  
    26.7  PACKAGE="fdupes"
    26.8  VERSION="1.40"
    26.9  CATEGORY="misc"
   26.10 -SHORT_DESC="Identify or delete duplicate files in specified directories.."
   26.11 +SHORT_DESC="Identify or delete duplicate files in specified directories"
   26.12  MAINTAINER="pascal.bellard@slitaz.org"
   26.13  LICENSE="MIT"
   26.14  WEB_SITE="http://code.google.com/p/fdupes/"
   26.15 +
   26.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   26.17  WGET_URL="http://fdupes.googlecode.com/files/$TARBALL"
   26.18  
   26.19 -DEPENDS=""
   26.20 -BUILD_DEPENDS=""
   26.21 -
   26.22 -# Rules to configure and make the package.
   26.23 -compile_rules()
   26.24 -{
   26.25 -	cd $src
   26.26 -	make
   26.27 +compile_rules() {
   26.28 +	make &&
   26.29 +	install -Dm755 $src/fdupes $fs/usr/bin/fdupes
   26.30  }
   26.31  
   26.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   26.33 -genpkg_rules()
   26.34 -{
   26.35 -	mkdir -p $fs/usr/bin
   26.36 -	cp -a $src/fdupes $fs/usr/bin
   26.37 +genpkg_rules() {
   26.38 +	copy @std
   26.39  }
    27.1 --- a/foremost/receipt	Sat Mar 10 13:48:53 2018 +0200
    27.2 +++ b/foremost/receipt	Sat Mar 10 16:57:21 2018 +0200
    27.3 @@ -1,28 +1,24 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="foremost"
    27.8  VERSION="1.5.7"
    27.9  CATEGORY="system-tools"
   27.10 -SHORT_DESC="Data carving utility."
   27.11 +SHORT_DESC="Data carving utility"
   27.12  MAINTAINER="pascal.bellard@slitaz.org"
   27.13  LICENSE="PublicDomain"
   27.14 +WEB_SITE="http://foremost.sourceforge.net"
   27.15 +
   27.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   27.17 -WEB_SITE="http://foremost.sourceforge.net"
   27.18  WGET_URL="$WEB_SITE/pkg/$TARBALL"
   27.19  
   27.20 -# Rules to configure and make the package.
   27.21 -compile_rules()
   27.22 -{
   27.23 -	cd $src
   27.24 +compile_rules() {
   27.25  	sed -i 's/\/usr\/local\/etc/\/etc/' config.c
   27.26 -	make
   27.27 +	make || return 1
   27.28 +
   27.29 +	install -Dm755 $src/foremost      $install/usr/bin/foremost
   27.30 +	install -Dm644 $src/foremost.conf $install/etc/foremost.conf
   27.31  }
   27.32  
   27.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.34 -genpkg_rules()
   27.35 -{
   27.36 -	mkdir -p $fs/usr/bin $fs/etc
   27.37 -	cp -a $src/foremost $fs/usr/bin
   27.38 -	cp -a $src/foremost.conf $fs/etc
   27.39 +genpkg_rules() {
   27.40 +	copy @std
   27.41  }
   27.42 -
    28.1 --- a/fuse-rofs/receipt	Sat Mar 10 13:48:53 2018 +0200
    28.2 +++ b/fuse-rofs/receipt	Sat Mar 10 16:57:21 2018 +0200
    28.3 @@ -1,28 +1,26 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="fuse-rofs"
    28.8  HASH="ce809a5df82da363a80742e3969eace2f349fa29"
    28.9  VERSION="${HASH:0:7}"
   28.10  CATEGORY="system-tools"
   28.11 -SHORT_DESC="The Read-Only File System for FUSE."
   28.12 +SHORT_DESC="The Read-Only File System for FUSE"
   28.13  MAINTAINER="pascal.bellard@slitaz.org"
   28.14  LICENSE="GPL2"
   28.15 +WEB_SITE="https://github.com/cognusion/fuse-rofs"
   28.16 +
   28.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   28.18 -WEB_SITE="https://github.com/cognusion/fuse-rofs"
   28.19  WGET_URL="$WEB_SITE/archive/$HASH.tar.gz"
   28.20  
   28.21 -DEPENDS="fuse"
   28.22 -BUILD_DEPENDS="wget fuse-dev"
   28.23 +BUILD_DEPENDS="fuse-dev"
   28.24  
   28.25 -# Rules to configure and make the package.
   28.26 -compile_rules()
   28.27 -{
   28.28 -	gcc -o rofs -Wall -ansi -W -std=c99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -lfuse rofs.c
   28.29 +compile_rules() {
   28.30 +	gcc -o rofs -Wall -ansi -W -std=c99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
   28.31 +	-lfuse rofs.c &&
   28.32 +	install -Dm755 $src/rofs $install/usr/sbin/mount.rofs
   28.33  }
   28.34  
   28.35 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   28.36 -genpkg_rules()                                      
   28.37 -{
   28.38 -	mkdir -p $fs/usr/sbin
   28.39 -	cp $src/rofs $fs/usr/sbin/mount.rofs 
   28.40 +genpkg_rules() {
   28.41 +	copy @std
   28.42 +	DEPENDS="fuse"
   28.43  }
    29.1 --- a/fxload/receipt	Sat Mar 10 13:48:53 2018 +0200
    29.2 +++ b/fxload/receipt	Sat Mar 10 16:57:21 2018 +0200
    29.3 @@ -1,26 +1,23 @@
    29.4 -# SliTaz package receipt.
    29.5 +# SliTaz package receipt v2.
    29.6  
    29.7  PACKAGE="fxload"
    29.8  VERSION="2008_10_13"
    29.9  CATEGORY="system-tools"
   29.10 -SHORT_DESC="Download firmware into FX, FX2, and FX2LP EZ-USB devices."
   29.11 +SHORT_DESC="Download firmware into FX, FX2, and FX2LP EZ-USB devices"
   29.12  MAINTAINER="pascal.bellard@slitaz.org"
   29.13  LICENSE="GPL2"
   29.14 +WEB_SITE="http://sourceforge.net/projects/linux-hotplug/"
   29.15 +
   29.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   29.17 -WEB_SITE="http://sourceforge.net/projects/linux-hotplug/"
   29.18 -WGET_URL="$SF_MIRROR/linux-hotplug/$PACKAGE/$VERSION/$TARBALL"
   29.19 +WGET_URL="$SF_MIRROR/linux-hotplug/$TARBALL"
   29.20  
   29.21 -# Rules to configure and make the package.
   29.22 -compile_rules()
   29.23 -{
   29.24 -	make
   29.25 +compile_rules() {
   29.26 +	make || return 1
   29.27 +
   29.28 +	install -Dm755 $src/fxload     $install/usr/bin/fxload
   29.29 +	install -Dm644 $src/a3load.hex $install/usr/share/usb/a3load.hex
   29.30  }
   29.31  
   29.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.33 -genpkg_rules()
   29.34 -{
   29.35 -	mkdir -p $fs/usr/bin $fs/usr/share/usb
   29.36 -	install $src/fxload $fs/usr/bin
   29.37 -	install -m 0644 $src/a3load.hex $fs/usr/share/usb
   29.38 +genpkg_rules() {
   29.39 +	copy @std
   29.40  }
   29.41 -
    30.1 --- a/gambas2/receipt	Sat Mar 10 13:48:53 2018 +0200
    30.2 +++ b/gambas2/receipt	Sat Mar 10 16:57:21 2018 +0200
    30.3 @@ -1,4 +1,4 @@
    30.4 -# SliTaz package receipt.
    30.5 +# SliTaz package receipt v2.
    30.6  
    30.7  PACKAGE="gambas2"
    30.8  VERSION="2.24.0"
    30.9 @@ -6,18 +6,15 @@
   30.10  SHORT_DESC="Free development environment based on a Basic interpreter"
   30.11  MAINTAINER="pankso@slitaz.org"
   30.12  LICENSE="GPL2"
   30.13 +WEB_SITE="http://gambas.sourceforge.net/"
   30.14 +
   30.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   30.16 -WEB_SITE="http://gambas.sourceforge.net/"
   30.17  WGET_URL="$SF_MIRROR/gambas/$TARBALL"
   30.18 -TAGS="interpreter basic"
   30.19  
   30.20 -DEPENDS="poppler util-linux-uuid lcms tiff jpeg libpng16"
   30.21 -BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev tiff-dev jpeg-dev \
   30.22 +BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms2-dev tiff-dev jpeg-dev \
   30.23  libpng16-dev autoconf automake libtool freetype-dev fontconfig-dev"
   30.24  
   30.25 -# Rules to configure and make the package.
   30.26 -compile_rules()
   30.27 -{
   30.28 +compile_rules() {
   30.29  	sed -i '/0.17.0 poppler/{N;p;s/17/20/g}'  gb.pdf/configure.ac
   30.30  	cp $stuff/CPdfDocument.cpp gb.pdf/src/CPdfDocument.cpp
   30.31  	./reconf-all
   30.32 @@ -31,12 +28,8 @@
   30.33  	sed 's/ERROR:/Error:/;s/: No such file/: no such file/'
   30.34  }
   30.35  
   30.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   30.37 -genpkg_rules()
   30.38 -{
   30.39 -	mkdir -p $fs/usr
   30.40 -	cp -a $install/usr/bin $fs/usr
   30.41 -	cp -a $install/usr/lib $fs/usr
   30.42 -	cp -a $install/usr/share $fs/usr
   30.43 +genpkg_rules() {
   30.44 +	copy @std
   30.45 +	DEPENDS="poppler util-linux-uuid lcms2 tiff jpeg libpng16"
   30.46 +	TAGS="interpreter basic"
   30.47  }
   30.48 -
    31.1 --- a/gentorrent/receipt	Sat Mar 10 13:48:53 2018 +0200
    31.2 +++ b/gentorrent/receipt	Sat Mar 10 16:57:21 2018 +0200
    31.3 @@ -1,21 +1,21 @@
    31.4 -# SliTaz package receipt.
    31.5 +# SliTaz package receipt v2.
    31.6  
    31.7  PACKAGE="gentorrent"
    31.8  VERSION="1.0.2"
    31.9  CATEGORY="network"
   31.10 -SHORT_DESC="Creates BitTorrent metainfo files with any BitTorrent extension."
   31.11 +SHORT_DESC="Creates BitTorrent metainfo files with any BitTorrent extension"
   31.12  MAINTAINER="pascal.bellard@slitaz.org"
   31.13  LICENSE="GPL3"
   31.14 +WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent"
   31.15 +
   31.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   31.17 -WEB_SITE="http://tanguy.ortolo.eu/perso/pages/projets/gentorrent"
   31.18  WGET_URL="http://git.ortolo.eu/gentorrent.git/snapshot/version/$VERSION.tar.gz"
   31.19  
   31.20 -DEPENDS="py3k"
   31.21 -BUILD_DEPENDS=""
   31.22 +compile_rules() {
   31.23 +	install -Dm755 $src/gentorrent.py $install/usr/bin/gentorrent.py
   31.24 +}
   31.25  
   31.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
   31.27 -genpkg_rules()
   31.28 -{
   31.29 -	mkdir -p $fs/usr/bin
   31.30 -	cp -a $src/gentorrent.py $fs/usr/bin
   31.31 +genpkg_rules() {
   31.32 +	copy @std
   31.33 +	DEPENDS="python3"
   31.34  }
    32.1 --- a/gettext/receipt	Sat Mar 10 13:48:53 2018 +0200
    32.2 +++ b/gettext/receipt	Sat Mar 10 16:57:21 2018 +0200
    32.3 @@ -13,7 +13,8 @@
    32.4  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    32.5  
    32.6  BUILD_DEPENDS_arm="attr-dev ncurses-dev libxml2-tools libxml2-dev"
    32.7 -BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev emacs"
    32.8 +BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev emacs \
    32.9 +xorg-libXrandr-dev"
   32.10  SPLIT="gettext-base gettext-tools emacs-pkg-po-mode gettext"
   32.11  
   32.12  compile_rules() {
    33.1 --- a/gmerlin/receipt	Sat Mar 10 13:48:53 2018 +0200
    33.2 +++ b/gmerlin/receipt	Sat Mar 10 16:57:21 2018 +0200
    33.3 @@ -1,42 +1,32 @@
    33.4 -# SliTaz package receipt.
    33.5 +# SliTaz package receipt v2.
    33.6  
    33.7  PACKAGE="gmerlin"
    33.8  VERSION="1.2.0"
    33.9  CATEGORY="multimedia"
   33.10 -SHORT_DESC="Gmerlin is a multimedia architecture for linux."
   33.11 +SHORT_DESC="Gmerlin is a multimedia architecture for Linux"
   33.12  MAINTAINER="pankso@slitaz.org"
   33.13  LICENSE="GPL3"
   33.14 +WEB_SITE="http://gmerlin.sourceforge.net/"
   33.15 +
   33.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   33.17 -WEB_SITE="http://gmerlin.sourceforge.net/"
   33.18 -WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL"
   33.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   33.20  
   33.21 -DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng16"
   33.22  BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \
   33.23 -libpng16-dev mesa-dev xorg-libxshmfence-dev"
   33.24 +libpng16-dev mesa17-dev xorg-libxshmfence-dev"
   33.25 +COOKOPTS="skip-log-errors"
   33.26  
   33.27 -# Rules to configure and make the package.
   33.28 -compile_rules()
   33.29 -{
   33.30 +compile_rules() {
   33.31  	rm -rf cpuinfo.sh
   33.32 -	{
   33.33  	./configure \
   33.34  		--without-doxygen \
   33.35  		$CONFIGURE_ARGS &&
   33.36 -	sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' apps/*/Makefile &&
   33.37 -	sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' lib/Makefile &&
   33.38 -	sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' tests/Makefile &&
   33.39 +	sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' \
   33.40 +		apps/*/Makefile lib/Makefile tests/Makefile &&
   33.41  	sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile &&
   33.42  	make && make -j 1 install
   33.43 -	} 2>&1 | sed 's/: No such file/: no such file/'
   33.44  }
   33.45  
   33.46 -# Rules to gen a SliTaz package suitable for Tazpkg.
   33.47 -genpkg_rules()
   33.48 -{
   33.49 -	mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins
   33.50 -	cp -a $install/usr/bin $fs/usr
   33.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   33.52 -	cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins
   33.53 -	cp -a $install/usr/share/gmerlin $fs/usr/share
   33.54 -	cp -a $install/usr/share/applications $fs/usr/share
   33.55 +genpkg_rules() {
   33.56 +	copy @std
   33.57 +	DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng16"
   33.58  }
    34.1 --- a/gnome-keyring/receipt	Sat Mar 10 13:48:53 2018 +0200
    34.2 +++ b/gnome-keyring/receipt	Sat Mar 10 16:57:21 2018 +0200
    34.3 @@ -28,22 +28,11 @@
    34.4  genpkg_rules() {
    34.5  	case $PACKAGE in
    34.6  		gnome-keyring)
    34.7 -			mkdir -p $fs/usr/lib $fs/usr/share
    34.8 -			cp -a $install/etc $fs
    34.9 -			cp -a $install/usr/bin $fs/usr
   34.10 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   34.11 -			cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
   34.12 -			for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
   34.13 -			do
   34.14 -				cp -a $install/usr/share/$i $fs/usr/share
   34.15 -			done
   34.16 -
   34.17 -			# Remove devel files.
   34.18 -			rm -rf $fs/usr/lib/gnome-keyring/devel
   34.19 -			find $fs/usr/lib -name *.*a -exec rm -f {} \;
   34.20 +			copy @std
   34.21  			DEPENDS="libgcrypt libtasn1 python dbus gtk+"
   34.22  			;;
   34.23  		*-dev)
   34.24 +			copy @dev
   34.25  			;;
   34.26  	esac
   34.27  }
    35.1 --- a/grooms/receipt	Sat Mar 10 13:48:53 2018 +0200
    35.2 +++ b/grooms/receipt	Sat Mar 10 16:57:21 2018 +0200
    35.3 @@ -1,33 +1,28 @@
    35.4 -# SliTaz package receipt.
    35.5 +# SliTaz package receipt v2.
    35.6  
    35.7  PACKAGE="grooms"
    35.8  VERSION="1.0.5"
    35.9  CATEGORY="games"
   35.10 -SHORT_DESC="Play the board game, Go, over the Internet."
   35.11 +SHORT_DESC="Play the board game, Go, over the Internet"
   35.12  MAINTAINER="pascal.bellard@slitaz.org"
   35.13  LICENSE="GPL2"
   35.14 -WEB_SITE="http://$PACKAGE.tuxfamily.org"
   35.15 +WEB_SITE="http://grooms.tuxfamily.org"
   35.16 +
   35.17  TARBALL="$PACKAGE-$VERSION.zip"
   35.18  WGET_URL="${WEB_SITE}/$TARBALL"
   35.19  
   35.20 -DEPENDS="php"
   35.21 -
   35.22 -# Rules to configure and make the package.
   35.23 -compile_rules()
   35.24 -{
   35.25 -	cd $src
   35.26 +compile_rules() {
   35.27 +	mkdir -p         $install/var/lib
   35.28 +	cp    -a    $src $install/var/lib/grooms
   35.29 +	chown 80.80      $install/var/lib/grooms
   35.30  }
   35.31  
   35.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.33 -genpkg_rules()
   35.34 -{
   35.35 -	mkdir -p $fs/var/lib
   35.36 -	cp -a $src $fs/var/lib/grooms
   35.37 -	chown 80.80 $fs/var/lib/grooms
   35.38 +genpkg_rules() {
   35.39 +	copy @std
   35.40 +	DEPENDS="php"
   35.41  }
   35.42  
   35.43 -post_install()
   35.44 -{
   35.45 +post_install() {
   35.46  	# Configure lighttpd server
   35.47  	if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then
   35.48  		if ! grep -q /var/lib/grooms "$1/etc/lighttpd/lighttpd.conf"; then
    36.1 --- a/gsim51/receipt	Sat Mar 10 13:48:53 2018 +0200
    36.2 +++ b/gsim51/receipt	Sat Mar 10 16:57:21 2018 +0200
    36.3 @@ -1,31 +1,28 @@
    36.4 -# SliTaz package receipt.
    36.5 +# SliTaz package receipt v2.
    36.6  
    36.7  PACKAGE="gsim51"
    36.8  VERSION="1.1"
    36.9  CATEGORY="development"
   36.10 -SHORT_DESC="Text based simulator for the 8051 microcontroller."
   36.11 +SHORT_DESC="Text based simulator for the 8051 microcontroller"
   36.12  MAINTAINER="pascal.bellard@slitaz.org"
   36.13  LICENSE="GPL2"
   36.14 -SOURCE="gSim51"
   36.15 -TARBALL="${SOURCE}v$VERSION.tar.gz"
   36.16 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
   36.17 +WEB_SITE="http://gsim51.sourceforge.net/"
   36.18 +
   36.19 +TARBALL="gSim51v$VERSION.tar.gz"
   36.20  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   36.21 -TAGS="8051"
   36.22  
   36.23 -DEPENDS="ncurses"
   36.24  BUILD_DEPENDS="ncurses-dev"
   36.25  
   36.26 -# Rules to configure and make the package.
   36.27 -compile_rules()
   36.28 -{
   36.29 +compile_rules() {
   36.30  	cd $src/src
   36.31 -	make
   36.32 +	make || return 1
   36.33 +
   36.34 +	install -Dm755 $src/src/gSim51           $install/usr/bin/gSim51
   36.35 +	install -Dm644 $src/docs/offlinehelp.txt $install/usr/share/gsim51/sim51.hlp
   36.36  }
   36.37  
   36.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.39 -genpkg_rules()
   36.40 -{
   36.41 -	mkdir -p $fs/usr/bin $fs/usr/share/gsim51
   36.42 -	cp -a $src/src/gSim51 $fs/usr/bin
   36.43 -	cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp
   36.44 +genpkg_rules() {
   36.45 +	copy @std
   36.46 +	DEPENDS="ncurses"
   36.47 +	TAGS="8051"
   36.48  }
    37.1 --- a/gst0-plugins-base/receipt	Sat Mar 10 13:48:53 2018 +0200
    37.2 +++ b/gst0-plugins-base/receipt	Sat Mar 10 16:57:21 2018 +0200
    37.3 @@ -7,6 +7,7 @@
    37.4  MAINTAINER="jozee@slitaz.org"
    37.5  LICENSE="GPL2"
    37.6  WEB_SITE="http://gstreamer.freedesktop.org/"
    37.7 +LFS="http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-base.html"
    37.8  
    37.9  TARBALL="gst-plugins-base-$VERSION.tar.xz"
   37.10  WGET_URL="$GNOME_MIRROR/gst-plugins-base/0.10/$TARBALL"
   37.11 @@ -20,13 +21,9 @@
   37.12  xorg-dev gettext"
   37.13  SPLIT="gst0-plugins-base-dev"
   37.14  
   37.15 -# Rules to configure and make the package.
   37.16 -compile_rules()
   37.17 -{
   37.18 -	# http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-base.html
   37.19 +compile_rules() {
   37.20  	case "$ARCH" in
   37.21 -		i?86) ;;
   37.22 -		*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
   37.23 +		arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
   37.24  	esac
   37.25  	./configure \
   37.26  		--sysconfdir=/etc \
   37.27 @@ -41,9 +38,7 @@
   37.28  	make $MAKEFLAGS && make install
   37.29  }
   37.30  
   37.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   37.32 -genpkg_rules()
   37.33 -{
   37.34 +genpkg_rules() {
   37.35  	case $PACKAGE in
   37.36  		*-base)
   37.37  			copy @std
    38.1 --- a/gtk-theme-albatross/receipt	Sat Mar 10 13:48:53 2018 +0200
    38.2 +++ b/gtk-theme-albatross/receipt	Sat Mar 10 16:57:21 2018 +0200
    38.3 @@ -1,4 +1,4 @@
    38.4 -# SliTaz package receipt.
    38.5 +# SliTaz package receipt v2.
    38.6  
    38.7  PACKAGE="gtk-theme-albatross"
    38.8  VERSION="1.7.4"
    38.9 @@ -7,25 +7,23 @@
   38.10  MAINTAINER="al.bobylev@gmail.com"
   38.11  LICENSE="GPL2 CC-BY-SA-3"
   38.12  WEB_SITE="http://shimmerproject.org/our-projects/albatross/"
   38.13 +
   38.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   38.15  WGET_URL="https://github.com/shimmerproject/Albatross/archive/v$VERSION.tar.gz"
   38.16  
   38.17 -DEPENDS="gtk2-engine-murrine"
   38.18 +compile_rules() {
   38.19 +	patch -p1 -i $stuff/define-sizes.patch
   38.20  
   38.21 -# Rules to configure and make the package.
   38.22 -compile_rules()
   38.23 -{
   38.24 -	patch -p1 -i $stuff/define-sizes.patch
   38.25 -}
   38.26 -
   38.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.28 -genpkg_rules()
   38.29 -{
   38.30  	T='/usr/share/themes/Albatross'
   38.31 -	mkdir -p $fs/$T
   38.32 +	mkdir -p $install/$T
   38.33  	cp -a \
   38.34  		$src/gtk-2.0 \
   38.35  		$src/gtk-3.0 \
   38.36 -		$src/index.theme  \
   38.37 -		$fs/$T
   38.38 +		$src/index.theme \
   38.39 +		$install/$T
   38.40  }
   38.41 +
   38.42 +genpkg_rules() {
   38.43 +	copy @std
   38.44 +	DEPENDS="gtk2-engine-murrine"
   38.45 +}
    39.1 --- a/gtk-theme-bluebird/receipt	Sat Mar 10 13:48:53 2018 +0200
    39.2 +++ b/gtk-theme-bluebird/receipt	Sat Mar 10 16:57:21 2018 +0200
    39.3 @@ -1,4 +1,4 @@
    39.4 -# SliTaz package receipt.
    39.5 +# SliTaz package receipt v2.
    39.6  
    39.7  PACKAGE="gtk-theme-bluebird"
    39.8  VERSION="1.2"
    39.9 @@ -7,26 +7,24 @@
   39.10  MAINTAINER="al.bobylev@gmail.com"
   39.11  LICENSE="GPL2 CC-BY-SA-3"
   39.12  WEB_SITE="http://shimmerproject.org/our-projects/bluebird/"
   39.13 +
   39.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   39.15  WGET_URL="https://github.com/shimmerproject/Bluebird/archive/v$VERSION.tar.gz"
   39.16  
   39.17 -DEPENDS="gtk2-engine-murrine"
   39.18 -
   39.19 -# Rules to configure and make the package.
   39.20 -compile_rules()
   39.21 -{
   39.22 +compile_rules() {
   39.23  	patch -p1 -i $stuff/define-sizes.patch
   39.24  	dos2unix $src/gtk-2.0/bars.rc
   39.25  	dos2unix $src/gtk-2.0/gtkrc
   39.26 -}
   39.27  
   39.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.29 -genpkg_rules()
   39.30 -{
   39.31  	T='/usr/share/themes/Bluebird'
   39.32 -	mkdir -p $fs/$T
   39.33 +	mkdir -p $install/$T
   39.34  	cp -a \
   39.35  		$src/gtk-2.0 \
   39.36  		$src/gtk-3.0 \
   39.37 -		$fs/$T
   39.38 +		$install/$T
   39.39  }
   39.40 +
   39.41 +genpkg_rules() {
   39.42 +	copy @std
   39.43 +	DEPENDS="gtk2-engine-murrine"
   39.44 +}
    40.1 --- a/gtk-theme-greybird/receipt	Sat Mar 10 13:48:53 2018 +0200
    40.2 +++ b/gtk-theme-greybird/receipt	Sat Mar 10 16:57:21 2018 +0200
    40.3 @@ -1,4 +1,4 @@
    40.4 -# SliTaz package receipt.
    40.5 +# SliTaz package receipt v2.
    40.6  
    40.7  PACKAGE="gtk-theme-greybird"
    40.8  VERSION="1.6.2"
    40.9 @@ -7,27 +7,25 @@
   40.10  MAINTAINER="al.bobylev@gmail.com"
   40.11  LICENSE="GPL2 CC-BY-SA-3"
   40.12  WEB_SITE="http://shimmerproject.org/our-projects/greybird/"
   40.13 +
   40.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   40.15  WGET_URL="https://github.com/shimmerproject/Greybird/archive/v$VERSION.tar.gz"
   40.16  
   40.17 -DEPENDS="gtk2-engine-murrine"
   40.18 +compile_rules() {
   40.19 +	patch -p1 -i $stuff/define-sizes.patch
   40.20  
   40.21 -# Rules to configure and make the package.
   40.22 -compile_rules()
   40.23 -{
   40.24 -	patch -p1 -i $stuff/define-sizes.patch
   40.25 -}
   40.26 -
   40.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.28 -genpkg_rules()
   40.29 -{
   40.30  	T='/usr/share/themes/Greybird'
   40.31 -	mkdir -p $fs/$T
   40.32 +	mkdir -p $install/$T
   40.33  	cp -a \
   40.34  		$src/gtk-2.0 \
   40.35  		$src/gtk-3.0 \
   40.36  		$src/xfce-notify-4.0 \
   40.37  		$src/xfce-notify-4.0_bright \
   40.38  		$src/index.theme \
   40.39 -		$fs/$T
   40.40 +		$install/$T
   40.41  }
   40.42 +
   40.43 +genpkg_rules() {
   40.44 +	copy @std
   40.45 +	DEPENDS="gtk2-engine-murrine"
   40.46 +}
    41.1 --- a/gtk-theme-orion/receipt	Sat Mar 10 13:48:53 2018 +0200
    41.2 +++ b/gtk-theme-orion/receipt	Sat Mar 10 16:57:21 2018 +0200
    41.3 @@ -1,4 +1,4 @@
    41.4 -# SliTaz package receipt.
    41.5 +# SliTaz package receipt v2.
    41.6  
    41.7  PACKAGE="gtk-theme-orion"
    41.8  VERSION="1.5"
    41.9 @@ -7,25 +7,23 @@
   41.10  MAINTAINER="al.bobylev@gmail.com"
   41.11  LICENSE="GPL2 CC-BY-SA-3"
   41.12  WEB_SITE="http://shimmerproject.org/"
   41.13 +
   41.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   41.15  WGET_URL="https://github.com/shimmerproject/Orion/archive/v$VERSION.tar.gz"
   41.16  
   41.17 -DEPENDS="gtk2-engine-murrine"
   41.18 +compile_rules() {
   41.19 +	patch -p1 -i $stuff/define-sizes.patch
   41.20  
   41.21 -# Rules to configure and make the package.
   41.22 -compile_rules()
   41.23 -{
   41.24 -	patch -p1 -i $stuff/define-sizes.patch
   41.25 -}
   41.26 -
   41.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
   41.28 -genpkg_rules()
   41.29 -{
   41.30  	T='/usr/share/themes/Orion'
   41.31 -	mkdir -p $fs/$T
   41.32 +	mkdir -p $install/$T
   41.33  	cp -a \
   41.34  		$src/gtk-2.0 \
   41.35  		$src/gtk-3.0 \
   41.36  		$src/index.theme \
   41.37 -		$fs/$T
   41.38 +		$install/$T
   41.39  }
   41.40 +
   41.41 +genpkg_rules() {
   41.42 +	copy @std
   41.43 +	DEPENDS="gtk2-engine-murrine"
   41.44 +}
    42.1 --- a/gtk-theme-switch/receipt	Sat Mar 10 13:48:53 2018 +0200
    42.2 +++ b/gtk-theme-switch/receipt	Sat Mar 10 16:57:21 2018 +0200
    42.3 @@ -1,4 +1,4 @@
    42.4 -# SliTaz package receipt.
    42.5 +# SliTaz package receipt v2.
    42.6  
    42.7  PACKAGE="gtk-theme-switch"
    42.8  VERSION="2.1.0"
    42.9 @@ -6,22 +6,19 @@
   42.10  SHORT_DESC="Utility to switch and preview GTK+ theme"
   42.11  MAINTAINER="devl547@gmail.com"
   42.12  LICENSE="GPL2"
   42.13 +WEB_SITE="http://packages.qa.debian.org/g/gtk-theme-switch.html"
   42.14 +
   42.15  TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
   42.16 -WEB_SITE="http://packages.qa.debian.org/g/gtk-theme-switch.html"
   42.17  WGET_URL="http://ftp.debian.org/debian/pool/main/g/$PACKAGE/$TARBALL"
   42.18  
   42.19  BUILD_DEPENDS="gtk+-dev"
   42.20 -DEPENDS="gtk+"
   42.21  
   42.22 -# Rules to configure and make the package.
   42.23 -compile_rules()
   42.24 -{
   42.25 -	make
   42.26 +compile_rules() {
   42.27 +	make &&
   42.28 +	install -Dm755 $src/gtk-theme-switch2 $install/usr/bin/gtk-theme-switch2
   42.29  }
   42.30  
   42.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.32 -genpkg_rules()
   42.33 -{
   42.34 -	mkdir -p $fs/usr/bin
   42.35 -	cp $src/gtk-theme-switch2 $fs/usr/bin/gtk-theme-switch2
   42.36 +genpkg_rules() {
   42.37 +	copy @std
   42.38 +	DEPENDS="gtk+"
   42.39  }
    43.1 --- a/gtk3-engine-solidity/receipt	Sat Mar 10 13:48:53 2018 +0200
    43.2 +++ b/gtk3-engine-solidity/receipt	Sat Mar 10 16:57:21 2018 +0200
    43.3 @@ -1,4 +1,4 @@
    43.4 -# SliTaz package receipt.
    43.5 +# SliTaz package receipt v2.
    43.6  
    43.7  PACKAGE="gtk3-engine-solidity"
    43.8  VERSION="0.4.1"
    43.9 @@ -7,31 +7,30 @@
   43.10  MAINTAINER="al.bobylev@gmail.com"
   43.11  LICENSE="GPL"
   43.12  WEB_SITE="http://gnome-look.org/content/show.php/solidity+gtk3+engine?content=142331"
   43.13 +
   43.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   43.15  WGET_URL="http://gnome-look.org/CONTENT/content-files/142331-solidity-$VERSION.tar.bz2"
   43.16 -TAGS="gtk3"
   43.17  
   43.18 -DEPENDS="gtk+3"
   43.19  BUILD_DEPENDS="vala glib-dev gtk+3-dev"
   43.20  
   43.21 -# Rules to configure and make the package.
   43.22 -compile_rules()
   43.23 -{
   43.24 +compile_rules() {
   43.25  	cd $src/source/gtk3
   43.26  	valac --pkg=gmodule-2.0 --pkg=gtk+-3.0 -C solidity.vala
   43.27  	gcc -shared -fPIC \
   43.28  		$(pkg-config --cflags --libs glib-2.0 gmodule-2.0 gtk+-3.0) \
   43.29 -		-o libsolidity.so solidity.c
   43.30 +		-o libsolidity.so solidity.c || return 1
   43.31 +
   43.32 +	mkdir -p \
   43.33 +		$install/usr/lib/gtk-3.0/3.0.0/theming-engines \
   43.34 +		$install/usr/share
   43.35 +	cp -a $src/source/gtk3/libsolidity.so \
   43.36 +		$install/usr/lib/gtk-3.0/3.0.0/theming-engines
   43.37 +	cp -a $src/themes $install/usr/share
   43.38 +	find $install -name 'gtk-2.0' -delete
   43.39  }
   43.40  
   43.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.42 -genpkg_rules()
   43.43 -{
   43.44 -	mkdir -p \
   43.45 -		$fs/usr/lib/gtk-3.0/3.0.0/theming-engines \
   43.46 -		$fs/usr/share
   43.47 -	cp -a $src/source/gtk3/libsolidity.so \
   43.48 -		$fs/usr/lib/gtk-3.0/3.0.0/theming-engines
   43.49 -	cp -a $src/themes $fs/usr/share
   43.50 -	find $fs -name 'gtk-2.0' -delete
   43.51 +genpkg_rules() {
   43.52 +	copy @std
   43.53 +	DEPENDS="gtk+3"
   43.54 +	TAGS="gtk3"
   43.55  }
    44.1 --- a/gxmessage/receipt	Sat Mar 10 13:48:53 2018 +0200
    44.2 +++ b/gxmessage/receipt	Sat Mar 10 16:57:21 2018 +0200
    44.3 @@ -1,4 +1,4 @@
    44.4 -# SliTaz package receipt.
    44.5 +# SliTaz package receipt v2.
    44.6  
    44.7  PACKAGE="gxmessage"
    44.8  VERSION="2.6.2"
    44.9 @@ -6,27 +6,22 @@
   44.10  SHORT_DESC="GTK2-based clone of xmessage"
   44.11  MAINTAINER="erjo@slitaz.org"
   44.12  LICENSE="GPL2"
   44.13 +WEB_SITE="http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
   44.14 +
   44.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   44.16 -WEB_SITE="http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
   44.17  WGET_URL="http://homepages.ihug.co.nz/~trmusson/stuff/$TARBALL"
   44.18  
   44.19 -DEPENDS="gtk+ expat xorg-libXdamage"
   44.20  BUILD_DEPENDS="gtk+-dev"
   44.21  
   44.22 -# Rules to configure and make the package.
   44.23 -compile_rules()
   44.24 -{
   44.25 -	cd $src
   44.26 -	./configure --prefix=/usr $CONFIGURE_ARGS && \
   44.27 -	make 
   44.28 +compile_rules() {
   44.29 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
   44.30 +	make || return 1
   44.31 +
   44.32 +	install -Dm755 $src/gxmessage     $install/usr/bin/gxmessage
   44.33 +	install -Dm644 $src/gxmessage.png $install/usr/share/pixmaps/gxmessage.png
   44.34  }
   44.35  
   44.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.37 -genpkg_rules()
   44.38 -{
   44.39 -	mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
   44.40 -	
   44.41 -	cp -a $src/gxmessage $fs/usr/bin
   44.42 -	cp -a $src/gxmessage.png $fs/usr/share/pixmaps
   44.43 +genpkg_rules() {
   44.44 +	copy @std
   44.45 +	DEPENDS="gtk+ expat xorg-libXdamage"
   44.46  }
   44.47 -
    45.1 --- a/hatenarunner/receipt	Sat Mar 10 13:48:53 2018 +0200
    45.2 +++ b/hatenarunner/receipt	Sat Mar 10 16:57:21 2018 +0200
    45.3 @@ -1,4 +1,4 @@
    45.4 -# SliTaz package receipt.
    45.5 +# SliTaz package receipt v2.
    45.6  
    45.7  PACKAGE="hatenarunner"
    45.8  VERSION="1.0"
    45.9 @@ -7,14 +7,12 @@
   45.10  MAINTAINER="pascal.bellard@slitaz.org"
   45.11  LICENSE="MIT"
   45.12  WEB_SITE="http://lodedome.no-ip.com/"
   45.13 +
   45.14  TARBALL="JavaScript_Hatena.Runner_Satoshi.Ueyama.zip"
   45.15  #_WGET_URL="http://lodedome.no-ip.com/download.php?rfname=$TARBALL&request_id=Lode_5BBAB6F85D944A4A5CB7AC12B0BFD18D"
   45.16  WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
   45.17  
   45.18 -# Rules to configure and make the package.
   45.19 -compile_rules()
   45.20 -{
   45.21 -	cd $src
   45.22 +compile_rules() {
   45.23  	unzip -o HatenaRunner_MainGameScript.zip
   45.24  	rm -f HatenaRunner_MainGameScript.zip
   45.25  	dos2unix js/* *.htm *.css
   45.26 @@ -33,15 +31,11 @@
   45.27  	rm -rf	images/start.png images/hrlogo.png ScreenS Docs Unknown \
   45.28  		users favicon.ico icon.png
   45.29  	mv runner.htm index.html
   45.30 -}
   45.31  
   45.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.33 -genpkg_rules()
   45.34 -{
   45.35 -        mkdir -p $fs/var/www/lode $fs/usr/share/applications
   45.36 -	cp -a $src/* $fs/var/www/lode
   45.37 -	chown -R 80.80 $fs/var/www/lode
   45.38 -	cat > $fs/usr/share/applications/lode.desktop <<EOT
   45.39 +	mkdir -p $install/var/www/lode $install/usr/share/applications
   45.40 +	cp -a $src/* $install/var/www/lode
   45.41 +	chown -R 80.80 $install/var/www/lode
   45.42 +	cat > $install/usr/share/applications/lode.desktop <<EOT
   45.43  [Desktop Entry]
   45.44  Type=Application
   45.45  Name=Lode runner
   45.46 @@ -53,3 +47,7 @@
   45.47  EOT
   45.48  }
   45.49  
   45.50 +genpkg_rules() {
   45.51 +	copy @std
   45.52 +}
   45.53 +
    46.1 --- a/horst/receipt	Sat Mar 10 13:48:53 2018 +0200
    46.2 +++ b/horst/receipt	Sat Mar 10 16:57:21 2018 +0200
    46.3 @@ -1,28 +1,26 @@
    46.4 -# SliTaz package receipt.
    46.5 +# SliTaz package receipt v2.
    46.6  
    46.7  PACKAGE="horst"
    46.8  VERSION="4.2"
    46.9  CATEGORY="network"
   46.10 -SHORT_DESC="Small, lightweight IEEE802.11 wireless LAN analyzer with a text interface."
   46.11 +SHORT_DESC="Small, lightweight IEEE802.11 wireless LAN analyzer with a text \
   46.12 +interface"
   46.13  MAINTAINER="paul@slitaz.org"
   46.14  LICENSE="GPL2"
   46.15 +WEB_SITE="http://br1.einfach.org/tech/horst/"
   46.16 +
   46.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   46.18 -WEB_SITE="http://br1.einfach.org/tech/horst/"
   46.19  WGET_URL="http://br1.einfach.org/horst_dl/$TARBALL"
   46.20  
   46.21 -DEPENDS="ncurses"
   46.22  BUILD_DEPENDS="ncurses-dev"
   46.23  
   46.24 -# Rules to configure and make the package.
   46.25 -compile_rules()
   46.26 -{
   46.27 +compile_rules() {
   46.28  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
   46.29 -	make
   46.30 +	make &&
   46.31 +	install -Dm755 $src/horst $install/usr/bin/horst
   46.32  }
   46.33  
   46.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   46.35 -genpkg_rules()
   46.36 -{
   46.37 -	mkdir -p $fs/usr/bin
   46.38 -	cp -a $src/$PACKAGE $fs/usr/bin	
   46.39 +genpkg_rules() {
   46.40 +	copy @std
   46.41 +	DEPENDS="ncurses"
   46.42  }
    47.1 --- a/hsetroot/receipt	Sat Mar 10 13:48:53 2018 +0200
    47.2 +++ b/hsetroot/receipt	Sat Mar 10 16:57:21 2018 +0200
    47.3 @@ -1,34 +1,29 @@
    47.4 -# SliTaz package receipt.
    47.5 +# SliTaz package receipt v2.
    47.6  
    47.7  PACKAGE="hsetroot"
    47.8  VERSION="1.0.2"
    47.9  CATEGORY="x-window"
   47.10 -SHORT_DESC="Tool to set desktop wallpaper."
   47.11 +SHORT_DESC="Tool to set desktop wallpaper"
   47.12  MAINTAINER="pankso@slitaz.org"
   47.13  LICENSE="GPL2"
   47.14 +WEB_SITE="http://thegraveyard.org/hsetroot.php"
   47.15 +
   47.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   47.17 -WEB_SITE="http://thegraveyard.org/hsetroot.php"
   47.18  WGET_URL="http://thegraveyard.org/files/$TARBALL"
   47.19 -TAGS="wallpaper"
   47.20  
   47.21 -DEPENDS="imlib2 libpng16 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
   47.22 -xorg-libXext"
   47.23 -BUILD_DEPENDS="imlib2-dev libpng16-dev"
   47.24 -
   47.25 +BUILD_DEPENDS="imlib2-dev libpng16-dev xorg-libX11-dev"
   47.26  # ARM: imlib2-dev must be installed in build chroot
   47.27  
   47.28 -# Rules to configure and make the package.
   47.29 -compile_rules()
   47.30 -{
   47.31 +compile_rules() {
   47.32  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
   47.33  	./configure \
   47.34  		$CONFIGURE_ARGS &&
   47.35  	make && make install
   47.36  }
   47.37  
   47.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.39 -genpkg_rules()
   47.40 -{
   47.41 -	mkdir -p $fs/usr
   47.42 -	cp -a $install/usr/bin $fs/usr
   47.43 +genpkg_rules() {
   47.44 +	copy @std
   47.45 +	DEPENDS="imlib2 libpng16 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
   47.46 +	xorg-libXext"
   47.47 +	TAGS="wallpaper"
   47.48  }
    48.1 --- a/httpfs2-fuse/receipt	Sat Mar 10 13:48:53 2018 +0200
    48.2 +++ b/httpfs2-fuse/receipt	Sat Mar 10 16:57:21 2018 +0200
    48.3 @@ -1,35 +1,32 @@
    48.4 -# SliTaz package receipt.
    48.5 +# SliTaz package receipt v2.
    48.6  
    48.7  PACKAGE="httpfs2-fuse"
    48.8  VERSION="0.1.5"
    48.9  SOURCE="httpfs2"
   48.10  CATEGORY="system-tools"
   48.11 -SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE."
   48.12 +SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE"
   48.13  MAINTAINER="pascal.bellard@slitaz.org"
   48.14  LICENSE="GPL2"
   48.15 +WEB_SITE="http://httpfs.sourceforge.net/"
   48.16 +
   48.17  TARBALL="$SOURCE-$VERSION.tar.gz"
   48.18 -WEB_SITE="http://httpfs.sourceforge.net/"
   48.19  WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
   48.20 -PROVIDE="httpfs-fuse"
   48.21 -TAGS="filesystem"
   48.22  
   48.23 -DEPENDS="fuse libgnutls"
   48.24  BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config"
   48.25  
   48.26 -# Rules to configure and make the package.
   48.27 -compile_rules()
   48.28 -{
   48.29 +compile_rules() {
   48.30  	sed -i "s/^package = .*/package = $SOURCE/" Makefile
   48.31  	sed -i "s/^version = .*/version = $VERSION/" Makefile
   48.32  	sed -i "s/^revision = .*/revision = 1/" Makefile
   48.33  	sed -i "s/a2x -f/echo skip/" Makefile
   48.34  	sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
   48.35 -	make
   48.36 +	make &&
   48.37 +	install -Dm755 $src/httpfs2-ssl-mt $install/usr/bin/httpfs
   48.38  }
   48.39  
   48.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   48.41 -genpkg_rules()
   48.42 -{
   48.43 -	mkdir -p $fs/usr/bin
   48.44 -	cp -a $src/httpfs2-ssl-mt $fs/usr/bin/httpfs
   48.45 +genpkg_rules() {
   48.46 +	copy @std
   48.47 +	DEPENDS="fuse libgnutls"
   48.48 +	PROVIDE="httpfs-fuse"
   48.49 +	TAGS="filesystem"
   48.50  }
    49.1 --- a/iasl/receipt	Sat Mar 10 13:48:53 2018 +0200
    49.2 +++ b/iasl/receipt	Sat Mar 10 16:57:21 2018 +0200
    49.3 @@ -1,4 +1,4 @@
    49.4 -# SliTaz package receipt.
    49.5 +# SliTaz package receipt v2.
    49.6  
    49.7  PACKAGE="iasl"
    49.8  VERSION="20100915"
    49.9 @@ -6,16 +6,14 @@
   49.10  SHORT_DESC="Intel ACPI Source Language compiler"
   49.11  MAINTAINER="slaxemulator@gmail.com"
   49.12  LICENSE="other"
   49.13 -SOURCE="acpica-unix"
   49.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   49.15  WEB_SITE="http://acpica.org"
   49.16 +
   49.17 +TARBALL="acpica-unix-$VERSION.tar.gz"
   49.18  WGET_URL="$WEB_SITE/download/$TARBALL"
   49.19  
   49.20  BUILD_DEPENDS="flex bison"
   49.21  
   49.22 -# Rules to configure and make the package.
   49.23 -compile_rules()
   49.24 -{
   49.25 +compile_rules() {
   49.26  	# Fix building.
   49.27  	sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile
   49.28  
   49.29 @@ -25,14 +23,12 @@
   49.30  	make || return 1
   49.31  	cd $src/tools/acpixtract
   49.32  	make || return 1
   49.33 +
   49.34 +	install -Dm755 $src/compiler/iasl               $install/usr/bin/iasl
   49.35 +	install -Dm755 $src/tools/acpisrc/acpisrc       $install/usr/bin/acpisrc
   49.36 +	install -Dm755 $src/tools/acpixtract/acpixtract $install/usr/bin/acpixtract
   49.37  }
   49.38  
   49.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.40 -genpkg_rules()
   49.41 -{
   49.42 -	mkdir -p $fs/usr/bin
   49.43 -	cp -a $src/compiler/iasl $fs/usr/bin
   49.44 -	cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
   49.45 -	cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
   49.46 +genpkg_rules() {
   49.47 +	copy @std
   49.48  }
   49.49 -
    50.1 --- a/iaxmodem/receipt	Sat Mar 10 13:48:53 2018 +0200
    50.2 +++ b/iaxmodem/receipt	Sat Mar 10 16:57:21 2018 +0200
    50.3 @@ -1,34 +1,29 @@
    50.4 -# SliTaz package receipt.
    50.5 +# SliTaz package receipt v2.
    50.6  
    50.7  PACKAGE="iaxmodem"
    50.8  VERSION="1.2.0"
    50.9  CATEGORY="network"
   50.10 -SHORT_DESC="Software modem for libiax2."
   50.11 +SHORT_DESC="Software modem for libiax2"
   50.12  MAINTAINER="pascal.bellard@slitaz.org"
   50.13  LICENSE="GPL2"
   50.14 +WEB_SITE="http://iaxmodem.sourceforge.net/"
   50.15 +
   50.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   50.17 -WEB_SITE="http://iaxmodem.sourceforge.net/"
   50.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   50.19 -CONFIG_FILES="/etc/iaxmodem"
   50.20  
   50.21 -DEPENDS="jpeg tiff zlib hylafax"
   50.22  BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
   50.23  
   50.24 -# Rules to configure and make the package.
   50.25 -compile_rules()
   50.26 -{
   50.27 -	cd $src
   50.28 +compile_rules() {
   50.29  	#sed -i 's/uucp/root/' iaxmodem.c
   50.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
   50.31 -	--mandir=/usr/share/man \
   50.32 -	$CONFIGURE_ARGS && make
   50.33 -}
   50.34 +	./configure \
   50.35 +		--prefix=/usr \
   50.36 +		--infodir=/usr/share/info \
   50.37 +		--mandir=/usr/share/man \
   50.38 +		$CONFIGURE_ARGS &&
   50.39 +	make || return 1
   50.40  
   50.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   50.42 -genpkg_rules()
   50.43 -{
   50.44 -	mkdir -p $fs/usr/bin $fs/etc/iaxmodem $fs/var/log/iaxmodem
   50.45 -	cp -a $src/iaxmodem $fs/usr/bin
   50.46 +	install -Dm755 $src/iaxmodem $install/usr/bin/iaxmodem
   50.47 +	mkdir -p $fs/etc/iaxmodem $fs/var/log/iaxmodem
   50.48  	cat > $fs/etc/iaxmodem/ttyIAX0 <<EOT
   50.49  device		/dev/ttyIAX0
   50.50  owner		root:root
   50.51 @@ -44,14 +39,17 @@
   50.52  #refresh		50
   50.53  }
   50.54  
   50.55 -pre_remove()
   50.56 -{
   50.57 +genpkg_rules() {
   50.58 +	copy @std
   50.59 +	DEPENDS="jpeg tiff zlib hylafax"
   50.60 +	CONFIG_FILES="/etc/iaxmodem"
   50.61 +}
   50.62 +
   50.63 +pre_remove() {
   50.64  	sed -i '/iaxmodem/d' "$1/etc/inittab"
   50.65  }
   50.66  
   50.67 -# Pre and post install commands for Tazpkg.
   50.68 -post_install()
   50.69 -{
   50.70 +post_install() {
   50.71  	grep -q ^uucp: "$1/etc/passwd" || {
   50.72  		chroot "$1/" adduser -s /bin/false -S -D -H uucp
   50.73  		sed -i 's/^uucp:x:[0-9]*:[0-9]*:/uucp:x:0:0:/' "$1/etc/passwd"
    51.1 --- a/icmpshell/receipt	Sat Mar 10 13:48:53 2018 +0200
    51.2 +++ b/icmpshell/receipt	Sat Mar 10 16:57:21 2018 +0200
    51.3 @@ -1,27 +1,24 @@
    51.4 -# SliTaz package receipt.
    51.5 +# SliTaz package receipt v2.
    51.6  
    51.7  PACKAGE="icmpshell"
    51.8 -SOURCE="ish"
    51.9  VERSION="0.2"
   51.10  CATEGORY="network"
   51.11 -SHORT_DESC="A telnet-like protocol over icmp."
   51.12 +SHORT_DESC="A telnet-like protocol over icmp"
   51.13  MAINTAINER="pascal.bellard@slitaz.org"
   51.14  LICENSE="GPL2"
   51.15 -TARBALL="$SOURCE-v$VERSION.tar.gz"
   51.16  WEB_SITE="http://icmpshell.sourceforge.net/"
   51.17 +
   51.18 +TARBALL="ish-v$VERSION.tar.gz"
   51.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   51.20  
   51.21 -# Rules to configure and make the package.
   51.22 -compile_rules()
   51.23 -{
   51.24 +compile_rules() {
   51.25  	patch -p0 < $stuff/ishd.u
   51.26 -	make -j 1 linux
   51.27 +	make -j 1 linux || return 1
   51.28 +
   51.29 +	install -Dm755 $src/ish  $install/usr/sbin/ish
   51.30 +	install -Dm755 $src/ishd $install/usr/sbin/ishd
   51.31  }
   51.32  
   51.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   51.34 -genpkg_rules()
   51.35 -{
   51.36 -	mkdir -p $fs/usr/sbin
   51.37 -	cp $src/ish $fs/usr/sbin
   51.38 -	cp $src/ishd $fs/usr/sbin
   51.39 +genpkg_rules() {
   51.40 +	copy @std
   51.41  }
    52.1 --- a/icmptx/receipt	Sat Mar 10 13:48:53 2018 +0200
    52.2 +++ b/icmptx/receipt	Sat Mar 10 16:57:21 2018 +0200
    52.3 @@ -1,50 +1,49 @@
    52.4 -# SliTaz package receipt.
    52.5 +# SliTaz package receipt v2.
    52.6  
    52.7  PACKAGE="icmptx"
    52.8  VERSION="0.2"
    52.9  CATEGORY="network"
   52.10 -SHORT_DESC="Tunnel IP connections using ICMP echo request."
   52.11 +SHORT_DESC="Tunnel IP connections using ICMP echo request"
   52.12  MAINTAINER="pascal.bellard@slitaz.org"
   52.13  LICENSE="GPL3"
   52.14 -SOURCE="jakkarth-icmptx-0386ff2"
   52.15 -TARBALL="$SOURCE.tar.gz"
   52.16  WEB_SITE="http://github.com/jakkarth/icmptx"
   52.17 +
   52.18 +TARBALL="jakkarth-icmptx-0386ff2.tar.gz"
   52.19  WGET_URL="http://download.github.com/$TARBALL"
   52.20  
   52.21 -# Rules to configure and make the package.
   52.22 -compile_rules()
   52.23 -{
   52.24 -	mv $SOURCE $src 2> /dev/null
   52.25 +compile_rules() {
   52.26 +	mv jakkarth-icmptx-0386ff2 $src 2> /dev/null
   52.27  	cd $src
   52.28 -	make
   52.29 +	make &&
   52.30 +	install -Dm755 $src/icmptx $fs/usr/bin/icmptx
   52.31  }
   52.32  
   52.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   52.34 -genpkg_rules()
   52.35 -{
   52.36 -	mkdir -p $fs/usr/bin
   52.37 -	cp $src/$PACKAGE $fs/usr/bin
   52.38 +genpkg_rules() {
   52.39 +	copy @std
   52.40  }
   52.41  
   52.42 -# Pre and post install commands for Tazpkg.
   52.43 -post_install()
   52.44 -{
   52.45 -	cat << EOT
   52.46 -Server side example (on icmp-gateway) :
   52.47 -# icmptx -s icmp-gateway &
   52.48 -# sleep 1
   52.49 -# ifconfig tun0 mtu 65535 up 10.0.1.1 netmask 255.255.255.0
   52.50 -# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
   52.51 -# echo 1 > /proc/sys/net/ipv4/ip_forward
   52.52 -# iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE
   52.53 +post_install() {
   52.54 +	[ -n "$quiet" ] || cat <<EOT
   52.55  
   52.56 -client side example (assume 192.168.1.1 as default gw for wlan interface) :
   52.57 -# icmptx -c icmp-gateway &
   52.58 -# sleep 1
   52.59 -# ifconfig tun0 mtu 65535 up 10.0.1.2 netmask 255.255.255.0
   52.60 -# route add -host icmp-gateway gw 192.168.1.1 dev wlan0
   52.61 -# route add default gw 10.0.1.1 tun0
   52.62 +	.--------------------------------------------------------------.
   52.63 +	| Server side example (on icmp-gateway):                       |
   52.64 +	|                                                              |
   52.65 +	| # icmptx -s icmp-gateway &                                   |
   52.66 +	| # sleep 1                                                    |
   52.67 +	| # ifconfig tun0 mtu 65535 up 10.0.1.1 netmask 255.255.255.0  |
   52.68 +	| # echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all           |
   52.69 +	| # echo 1 > /proc/sys/net/ipv4/ip_forward                     |
   52.70 +	| # iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE |
   52.71 +	|--------------------------------------------------------------|
   52.72 +	| Client side example                                          |
   52.73 +	| (assume 192.168.1.1 as default gw for wlan interface):       |
   52.74 +	|                                                              |
   52.75 +	| # icmptx -c icmp-gateway &                                   |
   52.76 +	| # sleep 1                                                    |
   52.77 +	| # ifconfig tun0 mtu 65535 up 10.0.1.2 netmask 255.255.255.0  |
   52.78 +	| # route add -host icmp-gateway gw 192.168.1.1 dev wlan0      |
   52.79 +	| # route add default gw 10.0.1.1 tun0                         |
   52.80 +	'--------------------------------------------------------------'
   52.81  
   52.82  EOT
   52.83  }
   52.84 -
    53.1 --- a/id3v2/receipt	Sat Mar 10 13:48:53 2018 +0200
    53.2 +++ b/id3v2/receipt	Sat Mar 10 16:57:21 2018 +0200
    53.3 @@ -1,30 +1,24 @@
    53.4 -# SliTaz package receipt.
    53.5 +# SliTaz package receipt v2.
    53.6  
    53.7  PACKAGE="id3v2"
    53.8  VERSION="0.1.12"
    53.9  CATEGORY="multimedia"
   53.10 -SHORT_DESC="A command line editor for id3v2 tags."
   53.11 +SHORT_DESC="A command line editor for id3v2 tags"
   53.12  MAINTAINER="paul@slitaz.org"
   53.13  LICENSE="LGPL2.1"
   53.14 +WEB_SITE="http://id3v2.sourceforge.net/"
   53.15 +
   53.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   53.17 -WEB_SITE="http://id3v2.sourceforge.net/"
   53.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   53.19  
   53.20 -DEPENDS="id3lib"
   53.21  BUILD_DEPENDS="id3lib-dev"
   53.22  
   53.23 -# Rules to configure and make the package.
   53.24 -compile_rules()
   53.25 -{
   53.26 -	cd $src
   53.27 -	make 
   53.28 +compile_rules() {
   53.29 +	make &&
   53.30 +	install -Dm755 $src/id3v2 $install/usr/bin/id3v2
   53.31  }
   53.32  
   53.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   53.34 -genpkg_rules()
   53.35 -{
   53.36 -	mkdir -p $fs/usr/bin
   53.37 -	cp -a $src/$PACKAGE $fs/usr/bin
   53.38 -	chown -R root.root $fs
   53.39 +genpkg_rules() {
   53.40 +	copy @std
   53.41 +	DEPENDS="id3lib"
   53.42  }
   53.43 -
    54.1 --- a/input-utils/receipt	Sat Mar 10 13:48:53 2018 +0200
    54.2 +++ b/input-utils/receipt	Sat Mar 10 16:57:21 2018 +0200
    54.3 @@ -1,4 +1,4 @@
    54.4 -# SliTaz package receipt.
    54.5 +# SliTaz package receipt v2.
    54.6  
    54.7  PACKAGE="input-utils"
    54.8  VERSION="20081014-101501"
    54.9 @@ -6,29 +6,25 @@
   54.10  SHORT_DESC="Small collection of linux input layer tools"
   54.11  MAINTAINER="domcox@slitaz.org"
   54.12  LICENSE="GPL2"
   54.13 -SOURCE="input"
   54.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   54.15  WEB_SITE="http://dl.bytesex.org/cvs-snapshots/"
   54.16 +
   54.17 +TARBALL="input-$VERSION.tar.gz"
   54.18  WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL"
   54.19 -TAGS="kernel input utilities"
   54.20  
   54.21 -DEPENDS=""
   54.22 -
   54.23 -# Rules to configure and make the package.
   54.24 -compile_rules()
   54.25 -{
   54.26 -	cd $src
   54.27 +compile_rules() {
   54.28  	sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
   54.29  	prefix="/usr"
   54.30 -	CFLAGS="$CFLAGS -O3 -march=$ARCH"
   54.31 +
   54.32 +	case $ARCH in
   54.33 +		x86_64) CFLAGS="$CFLAGS -O3 -march=nocona";;
   54.34 +		*)      CFLAGS="$CFLAGS -O3 -march=$ARCH";;
   54.35 +	esac
   54.36 +
   54.37  	export prefix CFLAGS
   54.38  	make && make DESTDIR=$DESTDIR install
   54.39  }
   54.40  
   54.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   54.42 -genpkg_rules()
   54.43 -{
   54.44 -	mkdir -p $fs/usr
   54.45 -	cp -a $install/usr/bin $fs/usr
   54.46 +genpkg_rules() {
   54.47 +	copy @std
   54.48 +	TAGS="kernel input utilities"
   54.49  }
   54.50 -
    55.1 --- a/iptstate/receipt	Sat Mar 10 13:48:53 2018 +0200
    55.2 +++ b/iptstate/receipt	Sat Mar 10 16:57:21 2018 +0200
    55.3 @@ -1,26 +1,25 @@
    55.4 -# SliTaz package receipt.
    55.5 +# SliTaz package receipt v2.
    55.6  
    55.7  PACKAGE="iptstate"
    55.8  VERSION="2.2.5"
    55.9  CATEGORY="network"
   55.10 -SHORT_DESC=" IPTState is a top-like interface to your netfilter connection-tracking table."
   55.11 +SHORT_DESC="IPTState is a top-like interface to your netfilter \
   55.12 +connection-tracking table"
   55.13  MAINTAINER="paul@slitaz.org"
   55.14  LICENSE="zlib/libpng"
   55.15 -DEPENDS="ncurses libnetfilter_conntrack libnfnetlink iptables"
   55.16 -BUILD_DEPENDS="ncurses-dev libnetfilter_conntrack-dev libnfnetlink-dev"
   55.17 +WEB_SITE="http://www.phildev.net/iptstate/"
   55.18 +
   55.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   55.20 -WEB_SITE="http://www.phildev.net/iptstate/"
   55.21  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   55.22  
   55.23 -# Rules to configure and make the package.
   55.24 -compile_rules()
   55.25 -{
   55.26 -	make 
   55.27 +BUILD_DEPENDS="ncurses-dev libnetfilter_conntrack-dev libnfnetlink-dev"
   55.28 +
   55.29 +compile_rules() {
   55.30 +	make &&
   55.31 +	install -Dm755 $src/iptstate $install/usr/sbin/iptstate
   55.32  }
   55.33  
   55.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   55.35 -genpkg_rules()
   55.36 -{
   55.37 -	mkdir -p $fs/usr/sbin
   55.38 -	cp -a $src/$PACKAGE $fs/usr/sbin
   55.39 +genpkg_rules() {
   55.40 +	copy @std
   55.41 +	DEPENDS="ncurses libnetfilter_conntrack libnfnetlink iptables"
   55.42  }
    56.1 --- a/jabberd2/receipt	Sat Mar 10 13:48:53 2018 +0200
    56.2 +++ b/jabberd2/receipt	Sat Mar 10 16:57:21 2018 +0200
    56.3 @@ -1,44 +1,37 @@
    56.4 -# SliTaz package receipt.
    56.5 +# SliTaz package receipt v2.
    56.6  
    56.7  PACKAGE="jabberd2"
    56.8  VERSION="2.2.16"
    56.9  CATEGORY="network"
   56.10 -SHORT_DESC="XMPP server (real-time communication)."
   56.11 +SHORT_DESC="XMPP server (real-time communication)"
   56.12  MAINTAINER="pascal.bellard@slitaz.org"
   56.13  LICENSE="GPL2"
   56.14 -SOURCE="jabberd"
   56.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
   56.16 -WEB_SITE="http://$PACKAGE.xiaoka.com/"
   56.17 -WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$TARBALL"
   56.18 -CONFIG_FILES="/etc/jabberd"
   56.19 -TAGS="im instant-messaging server"
   56.20 +WEB_SITE="http://jabberd2.xiaoka.com/"
   56.21  
   56.22 -DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
   56.23 +TARBALL="jabberd-$VERSION.tar.gz"
   56.24 +WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL"
   56.25 +
   56.26  BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
   56.27 -zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev wget
   56.28 -cppunit-dev"
   56.29 +zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \
   56.30 +wget cppunit-dev"
   56.31  
   56.32 -# Rules to configure and make the package.
   56.33 -compile_rules()
   56.34 -{
   56.35 -	cd $src
   56.36 +compile_rules() {
   56.37  	sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
   56.38 -	CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
   56.39 -	./configure --prefix=/usr \
   56.40 +	CFLAGS="${CFLAGS/-Os/-O2}"
   56.41 +	./configure \
   56.42 +		--prefix=/usr \
   56.43  		--infodir=/usr/share/info \
   56.44  		--enable-sqlite \
   56.45  		--sysconfdir=/etc/jabberd \
   56.46 -		 --mandir=/usr/share/man $CONFIGURE_ARGS &&
   56.47 +		--mandir=/usr/share/man \
   56.48 +		$CONFIGURE_ARGS &&
   56.49  	make &&
   56.50  	make DESTDIR=$DESTDIR install
   56.51  }
   56.52  
   56.53 -# Rules to gen a SliTaz package suitable for Tazpkg.
   56.54 -genpkg_rules()
   56.55 -{
   56.56 -	mkdir -p $fs/usr/lib/jabberd
   56.57 -	cp -a $install/etc $fs
   56.58 -	cp -a $install/usr/bin $fs/usr
   56.59 -	cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
   56.60 +genpkg_rules() {
   56.61 +	copy @std
   56.62 +	DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
   56.63 +	CONFIG_FILES="/etc/jabberd"
   56.64 +	TAGS="im instant-messaging server"
   56.65  }
   56.66 -
    57.1 --- a/jbigkit/receipt	Sat Mar 10 13:48:53 2018 +0200
    57.2 +++ b/jbigkit/receipt	Sat Mar 10 16:57:21 2018 +0200
    57.3 @@ -1,27 +1,27 @@
    57.4 -# SliTaz package receipt.
    57.5 +# SliTaz package receipt v2.
    57.6  
    57.7  PACKAGE="jbigkit"
    57.8  VERSION="2.0"
    57.9  CATEGORY="development"
   57.10 -SHORT_DESC="highly effective data compression algorithm for bi-level high-resolution images."
   57.11 +SHORT_DESC="Highly effective data compression algorithm for bi-level \
   57.12 +high-resolution images"
   57.13  MAINTAINER="pascal.bellard@slitaz.org"
   57.14  LICENSE="GPL2"
   57.15 +WEB_SITE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
   57.16 +
   57.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   57.18 -WEB_SITE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
   57.19  WGET_URL="http://www.cl.cam.ac.uk/~mgk25/download//$TARBALL"
   57.20  
   57.21 -# Rules to configure and make the package.
   57.22 -compile_rules()
   57.23 -{
   57.24 -	mv $PACKAGE $src 2> /dev/null
   57.25 +compile_rules() {
   57.26 +	mv $PACKAGE $src 2>/dev/null
   57.27  	cd $src
   57.28 -	make CC=${HOST_SYSTEM}-gcc
   57.29 +	make CC=${HOST_SYSTEM}-gcc || return 1
   57.30 +
   57.31 +	mkdir -p $install/usr/lib $install/usr/include
   57.32 +	cp -a $src/libjbig/*.h $install/usr/include
   57.33 +	cp -a $src/libjbig/*.a $install/usr/lib
   57.34  }
   57.35  
   57.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   57.37 -genpkg_rules()
   57.38 -{
   57.39 -	mkdir -p $fs/usr/lib $fs/usr/include
   57.40 -	cp -a $src/libjbig/*.h $fs/usr/include
   57.41 -	cp -a $src/libjbig/*.a $fs/usr/lib
   57.42 +genpkg_rules() {
   57.43 +	copy @std @dev
   57.44  }
    58.1 --- a/jdk6-jaf/receipt	Sat Mar 10 13:48:53 2018 +0200
    58.2 +++ b/jdk6-jaf/receipt	Sat Mar 10 16:57:21 2018 +0200
    58.3 @@ -1,4 +1,4 @@
    58.4 -# SliTaz package receipt.
    58.5 +# SliTaz package receipt v2.
    58.6  
    58.7  PACKAGE="jdk6-jaf"
    58.8  VERSION="b20"
    58.9 @@ -6,15 +6,13 @@
   58.10  SHORT_DESC="A component of Sun's jdk6 we use to cook icedtea6 (empty package)"
   58.11  MAINTAINER="gokhlayeh@slitaz.org"
   58.12  LICENSE="GPL2"
   58.13 +WEB_SITE="http://java.sun.com"
   58.14 +
   58.15  TARBALL="$PACKAGE-$VERSION.zip"
   58.16 -WEB_SITE="http://java.sun.com"
   58.17  WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
   58.18 +
   58.19  COOK_OPT="!unpack !repack_src !fs"
   58.20  
   58.21 -BUILD_DEPENDS="wget"
   58.22 -
   58.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
   58.24 -compile_rules()
   58.25 -{
   58.26 -	mkdir -p $fs/usr
   58.27 +compile_rules() {
   58.28 +	mkdir -p $install
   58.29  }
    59.1 --- a/jdk6-jaxp/receipt	Sat Mar 10 13:48:53 2018 +0200
    59.2 +++ b/jdk6-jaxp/receipt	Sat Mar 10 16:57:21 2018 +0200
    59.3 @@ -1,4 +1,4 @@
    59.4 -# SliTaz package receipt.
    59.5 +# SliTaz package receipt v2.
    59.6  
    59.7  PACKAGE="jdk6-jaxp"
    59.8  VERSION="b20"
    59.9 @@ -6,15 +6,13 @@
   59.10  SHORT_DESC="A component of Sun's jdk6 we use to cook icedtea6 (empty package)"
   59.11  MAINTAINER="gokhlayeh@slitaz.org"
   59.12  LICENSE="GPL2"
   59.13 +WEB_SITE="http://java.sun.com"
   59.14 +
   59.15  TARBALL="$PACKAGE-$VERSION.zip"
   59.16 -WEB_SITE="http://java.sun.com"
   59.17  WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
   59.18 +
   59.19  COOK_OPT="!unpack !repack_src !fs"
   59.20  
   59.21 -BUILD_DEPENDS="wget"
   59.22 -
   59.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
   59.24 -compile_rules()
   59.25 -{
   59.26 -	mkdir -p $fs/usr
   59.27 +compile_rules() {
   59.28 +	mkdir -p $install
   59.29  }
    60.1 --- a/jdk6-jaxws/receipt	Sat Mar 10 13:48:53 2018 +0200
    60.2 +++ b/jdk6-jaxws/receipt	Sat Mar 10 16:57:21 2018 +0200
    60.3 @@ -1,4 +1,4 @@
    60.4 -# SliTaz package receipt.
    60.5 +# SliTaz package receipt v2.
    60.6  
    60.7  PACKAGE="jdk6-jaxws"
    60.8  VERSION="b20"
    60.9 @@ -6,15 +6,13 @@
   60.10  SHORT_DESC="A component of Sun's jdk6 we use to cook icedtea6 (empty package)"
   60.11  MAINTAINER="gokhlayeh@slitaz.org"
   60.12  LICENSE="GPL2"
   60.13 +WEB_SITE="http://java.sun.com"
   60.14 +
   60.15  TARBALL="$PACKAGE-$VERSION.zip"
   60.16 -WEB_SITE="http://java.sun.com"
   60.17  WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
   60.18 +
   60.19  COOK_OPT="!unpack !repack_src !fs"
   60.20  
   60.21 -BUILD_DEPENDS="wget"
   60.22 -
   60.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
   60.24 -compile_rules()
   60.25 -{
   60.26 -	mkdir -p $fs/usr
   60.27 +compile_rules() {
   60.28 +	mkdir -p $install
   60.29  }
    61.1 --- a/jdk7-corba/receipt	Sat Mar 10 13:48:53 2018 +0200
    61.2 +++ b/jdk7-corba/receipt	Sat Mar 10 16:57:21 2018 +0200
    61.3 @@ -1,4 +1,4 @@
    61.4 -# SliTaz package receipt.
    61.5 +# SliTaz package receipt v2.
    61.6  
    61.7  PACKAGE="jdk7-corba"
    61.8  VERSION="2.5.1"
    61.9 @@ -6,16 +6,13 @@
   61.10  SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
   61.11  MAINTAINER="yuripourre@gmail.com"
   61.12  LICENSE="GPL2"
   61.13 -SOURCE="corba"
   61.14  WEB_SITE="http://icedtea.classpath.org"
   61.15 -TARBALL="$SOURCE.tar.bz2"
   61.16 +
   61.17 +TARBALL="corba.tar.bz2"
   61.18  WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
   61.19 +
   61.20  COOK_OPT="!unpack !repack_src !fs"
   61.21  
   61.22 -BUILD_DEPENDS="wget"
   61.23 -
   61.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   61.25 -compile_rules()
   61.26 -{
   61.27 -	mkdir -p $fs/usr
   61.28 +compile_rules() {
   61.29 +	mkdir -p $install
   61.30  }
    62.1 --- a/jdk7-hotspot/receipt	Sat Mar 10 13:48:53 2018 +0200
    62.2 +++ b/jdk7-hotspot/receipt	Sat Mar 10 16:57:21 2018 +0200
    62.3 @@ -1,4 +1,4 @@
    62.4 -# SliTaz package receipt.
    62.5 +# SliTaz package receipt v2.
    62.6  
    62.7  PACKAGE="jdk7-hotspot"
    62.8  VERSION="2.5.1"
    62.9 @@ -6,16 +6,13 @@
   62.10  SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
   62.11  MAINTAINER="yuripourre@gmail.com"
   62.12  LICENSE="GPL2"
   62.13 -SOURCE="hotspot"
   62.14  WEB_SITE="http://icedtea.classpath.org"
   62.15 -TARBALL="$SOURCE.tar.bz2"
   62.16 +
   62.17 +TARBALL="hotspot.tar.bz2"
   62.18  WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
   62.19 +
   62.20  COOK_OPT="!unpack !repack_src !fs"
   62.21  
   62.22 -BUILD_DEPENDS="wget"
   62.23 -
   62.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   62.25 -compile_rules()
   62.26 -{
   62.27 -	mkdir -p $fs/usr
   62.28 +compile_rules() {
   62.29 +	mkdir -p $install
   62.30  }
    63.1 --- a/jdk7-jaf/receipt	Sat Mar 10 13:48:53 2018 +0200
    63.2 +++ b/jdk7-jaf/receipt	Sat Mar 10 16:57:21 2018 +0200
    63.3 @@ -6,15 +6,13 @@
    63.4  SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
    63.5  MAINTAINER="yuripourre@gmail.com"
    63.6  LICENSE="GPL2"
    63.7 +WEB_SITE="http://java.sun.com"
    63.8 +
    63.9  TARBALL="$PACKAGE-$VERSION.zip"
   63.10 -WEB_SITE="http://java.sun.com"
   63.11  WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
   63.12 +
   63.13  COOK_OPT="!unpack !repack_src !fs"
   63.14  
   63.15 -BUILD_DEPENDS="wget"
   63.16 -
   63.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   63.18 -compile_rules()
   63.19 -{
   63.20 -	mkdir -p $fs/usr
   63.21 +compile_rules() {
   63.22 +	mkdir -p $install
   63.23  }
    64.1 --- a/jdk7-jaxp/receipt	Sat Mar 10 13:48:53 2018 +0200
    64.2 +++ b/jdk7-jaxp/receipt	Sat Mar 10 16:57:21 2018 +0200
    64.3 @@ -1,4 +1,4 @@
    64.4 -# SliTaz package receipt.
    64.5 +# SliTaz package receipt v2.
    64.6  
    64.7  PACKAGE="jdk7-jaxp"
    64.8  VERSION="2.5.1"
    64.9 @@ -6,16 +6,13 @@
   64.10  SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
   64.11  MAINTAINER="yuripourre@gmail.com"
   64.12  LICENSE="GPL2"
   64.13 -SOURCE="jaxp"
   64.14  WEB_SITE="http://icedtea.classpath.org"
   64.15 -TARBALL="$SOURCE.tar.bz2"
   64.16 +
   64.17 +TARBALL="jaxp.tar.bz2"
   64.18  WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
   64.19 +
   64.20  COOK_OPT="!unpack !repack_src !fs"
   64.21  
   64.22 -BUILD_DEPENDS="wget"
   64.23 -
   64.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   64.25 -compile_rules()
   64.26 -{
   64.27 -	mkdir -p $fs/usr
   64.28 +compile_rules() {
   64.29 +	mkdir -p $install
   64.30  }
    65.1 --- a/jdk7-jaxws/receipt	Sat Mar 10 13:48:53 2018 +0200
    65.2 +++ b/jdk7-jaxws/receipt	Sat Mar 10 16:57:21 2018 +0200
    65.3 @@ -1,4 +1,4 @@
    65.4 -# SliTaz package receipt.
    65.5 +# SliTaz package receipt v2.
    65.6  
    65.7  PACKAGE="jdk7-jaxws"
    65.8  VERSION="2.5.1"
    65.9 @@ -6,16 +6,13 @@
   65.10  SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
   65.11  MAINTAINER="yuripourre@gmail.com"
   65.12  LICENSE="GPL2"
   65.13 -SOURCE="jaxws"
   65.14  WEB_SITE="http://icedtea.classpath.org"
   65.15 -TARBALL="$SOURCE.tar.bz2"
   65.16 +
   65.17 +TARBALL="jaxws.tar.bz2"
   65.18  WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
   65.19 +
   65.20  COOK_OPT="!unpack !repack_src !fs"
   65.21  
   65.22 -BUILD_DEPENDS="wget"
   65.23 -
   65.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   65.25 -compile_rules()
   65.26 -{
   65.27 -	mkdir -p $fs/usr
   65.28 +compile_rules() {
   65.29 +	mkdir -p $install
   65.30  }
    66.1 --- a/jdk7-langtools/receipt	Sat Mar 10 13:48:53 2018 +0200
    66.2 +++ b/jdk7-langtools/receipt	Sat Mar 10 16:57:21 2018 +0200
    66.3 @@ -1,4 +1,4 @@
    66.4 -# SliTaz package receipt.
    66.5 +# SliTaz package receipt v2.
    66.6  
    66.7  PACKAGE="jdk7-langtools"
    66.8  VERSION="2.5.1"
    66.9 @@ -6,16 +6,13 @@
   66.10  SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
   66.11  MAINTAINER="yuripourre@gmail.com"
   66.12  LICENSE="GPL2"
   66.13 -SOURCE="langtools"
   66.14  WEB_SITE="http://icedtea.classpath.org"
   66.15 -TARBALL="$SOURCE.tar.bz2"
   66.16 +
   66.17 +TARBALL="langtools.tar.bz2"
   66.18  WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
   66.19 +
   66.20  COOK_OPT="!unpack !repack_src !fs"
   66.21  
   66.22 -BUILD_DEPENDS="wget"
   66.23 -
   66.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   66.25 -compile_rules()
   66.26 -{
   66.27 -	mkdir -p $fs/usr
   66.28 +compile_rules() {
   66.29 +	mkdir -p $install
   66.30  }
    67.1 --- a/jhead/receipt	Sat Mar 10 13:48:53 2018 +0200
    67.2 +++ b/jhead/receipt	Sat Mar 10 16:57:21 2018 +0200
    67.3 @@ -1,4 +1,4 @@
    67.4 -# SliTaz package receipt.
    67.5 +# SliTaz package receipt v2.
    67.6  
    67.7  PACKAGE="jhead"
    67.8  VERSION="2.97"
    67.9 @@ -6,22 +6,16 @@
   67.10  SHORT_DESC="Exif Jpeg header manipulation tool"
   67.11  MAINTAINER="pascal.bellard@slitaz.org"
   67.12  LICENSE="PublicDomain"
   67.13 +WEB_SITE="http://www.sentex.net/~mwandel/jhead/"
   67.14 +
   67.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   67.16 -WEB_SITE="http://www.sentex.net/~mwandel/jhead/"
   67.17  WGET_URL="$WEB_SITE$TARBALL"
   67.18  
   67.19 -DEPENDS=""
   67.20 -BUILD_DEPENDS=""
   67.21 -
   67.22 -# Rules to configure and make the package.
   67.23 -compile_rules()
   67.24 -{
   67.25 -	make
   67.26 +compile_rules() {
   67.27 +	make &&
   67.28 +	install -Dm755 $src/jhead $install/usr/bin/jhead
   67.29  }
   67.30  
   67.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   67.32 -genpkg_rules()
   67.33 -{
   67.34 -	mkdir -p $fs/usr/bin
   67.35 -	cp -a $src/jhead $fs/usr/bin
   67.36 +genpkg_rules() {
   67.37 +	copy @std
   67.38  }
    68.1 --- a/john/receipt	Sat Mar 10 13:48:53 2018 +0200
    68.2 +++ b/john/receipt	Sat Mar 10 16:57:21 2018 +0200
    68.3 @@ -1,50 +1,53 @@
    68.4 -# SliTaz package receipt.
    68.5 +# SliTaz package receipt v2.
    68.6  
    68.7  PACKAGE="john"
    68.8  VERSION="1.7.8"
    68.9  CATEGORY="system-tools"
   68.10 -SHORT_DESC="Fast password cracker."
   68.11 +SHORT_DESC="Fast password cracker"
   68.12  MAINTAINER="pascal.bellard@slitaz.org"
   68.13  LICENSE="GPL2"
   68.14 +WEB_SITE="http://www.openwall.com/john/"
   68.15 +
   68.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   68.17 -WEB_SITE="http://www.openwall.com/john/"
   68.18  WGET_URL="${WEB_SITE}g/$TARBALL"
   68.19 -CONFIG_FILES="/etc/john/john.conf"
   68.20  
   68.21 -DEPENDS="openssl libdes"
   68.22  BUILD_DEPENDS="libdes-dev openssl-dev zlib-dev"
   68.23  
   68.24  PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz"
   68.25  EXTRA_SOURCE_FILES="$PATCH"
   68.26  
   68.27 -# Rules to configure and make the package.
   68.28 -compile_rules()
   68.29 -{
   68.30 -	cd $src
   68.31 +compile_rules() {
   68.32  	[ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
   68.33  		wget -P $SOURCES_REPOSITORY $PATCH
   68.34  	zcat $SRC/$(basename $PATCH) | patch -p1
   68.35 +
   68.36  	cd $src/src
   68.37  	patch -Np0 -i $stuff/params.h.patch
   68.38  	sed -i 's|LIBS = -ldes|LIBS = -ldes -Ldes|' Makefile
   68.39 -	sed -i "s|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=$ARCH -DJOHN_SYSTEMWIDE=1|" Makefile
   68.40 -	make clean generic
   68.41 +
   68.42 +	case $ARCH in
   68.43 +		x86_64) Arch='nocona';;
   68.44 +		*)      Arch="$ARCH";;
   68.45 +	esac
   68.46 +	sed -i "s|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=$Arch -DJOHN_SYSTEMWIDE=1|" Makefile
   68.47 +	make clean generic || return 1
   68.48 +
   68.49 +	mkdir -p $install/usr/sbin $install/etc/john $install/usr/share/john
   68.50 +	cp -a $src/run/john         $install/usr/sbin
   68.51 +	cp -a $src/run/mailer       $install/usr/sbin
   68.52 +	cp -a $src/run/unafs        $install/usr/sbin
   68.53 +	cp -a $src/run/unique       $install/usr/sbin
   68.54 +	cp -a $src/run/unshadow     $install/usr/sbin
   68.55 +	cp -a $src/run/*.chr        $install/usr/share/john
   68.56 +	cp -a $src/run/dumb??.conf  $install/usr/share/john
   68.57 +	cp -a $src/run/generic.conf $install/usr/share/john
   68.58 +	cp -a $src/run/password.lst $install/usr/share/john
   68.59 +	cp $src/run/john.conf       $install/etc/john
   68.60 +	sed -i 's|$JOHN|/usr/share/john|g' $install/etc/john/john.conf
   68.61  }
   68.62  
   68.63 -# Rules to gen a SliTaz package suitable for Tazpkg.
   68.64 -genpkg_rules()
   68.65 -{
   68.66 -	mkdir -p $fs/usr/sbin $fs/etc/john $fs/usr/share/john
   68.67 -	cp -a $src/run/john $fs/usr/sbin
   68.68 -	cp -a $src/run/mailer $fs/usr/sbin
   68.69 -	cp -a $src/run/unafs $fs/usr/sbin
   68.70 -	cp -a $src/run/unique $fs/usr/sbin
   68.71 -	cp -a $src/run/unshadow $fs/usr/sbin
   68.72 -	cp -a $src/run/*.chr $fs/usr/share/john
   68.73 -	cp -a $src/run/dumb??.conf $fs/usr/share/john
   68.74 -	cp -a $src/run/generic.conf $fs/usr/share/john
   68.75 -	cp -a $src/run/password.lst $fs/usr/share/john
   68.76 -	cp $src/run/john.conf $fs/etc/john
   68.77 -	sed -i 's|$JOHN|/usr/share/john|g' $fs/etc/john/john.conf
   68.78 +genpkg_rules() {
   68.79 +	copy @std
   68.80 +	DEPENDS="openssl libdes"
   68.81 +	CONFIG_FILES="/etc/john/john.conf"
   68.82  }
   68.83 -
    69.1 --- a/l2tpd/receipt	Sat Mar 10 13:48:53 2018 +0200
    69.2 +++ b/l2tpd/receipt	Sat Mar 10 16:57:21 2018 +0200
    69.3 @@ -1,31 +1,26 @@
    69.4 -# SliTaz package receipt.
    69.5 +# SliTaz package receipt v2.
    69.6  
    69.7  PACKAGE="l2tpd"
    69.8  VERSION="0.69"
    69.9  CATEGORY="network"
   69.10 -SHORT_DESC="Layer 2 Virtual Private Network."
   69.11 +SHORT_DESC="Layer 2 Virtual Private Network"
   69.12  MAINTAINER="pascal.bellard@slitaz.org"
   69.13  LICENSE="GPL2"
   69.14 +WEB_SITE="http://sourceforge.net/projects/l2tpd/"
   69.15 +
   69.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   69.17 -WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
   69.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   69.19 -TAGS="vpn tunnel"
   69.20  
   69.21 -# Rules to configure and make the package.
   69.22 -compile_rules()
   69.23 -{
   69.24 -	cd $src
   69.25 +compile_rules() {
   69.26  	sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
   69.27  	sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
   69.28  	sed -i 's/recv packet from.*,$/&\\n \\/' network.c
   69.29  	sed -i 's/If you do, please$/&\\n \\/' call.c
   69.30 -	make
   69.31 +	make &&
   69.32 +	install -Dm755 $src/l2tpd $install/usr/sbin/l2tpd
   69.33  }
   69.34  
   69.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   69.36 -genpkg_rules()
   69.37 -{
   69.38 -	mkdir -p $fs/usr/sbin
   69.39 -	cp -a $src/l2tpd $fs/usr/sbin
   69.40 +genpkg_rules() {
   69.41 +	copy @std
   69.42 +	TAGS="vpn tunnel"
   69.43  }
   69.44 -
    70.1 --- a/ldapvi/receipt	Sat Mar 10 13:48:53 2018 +0200
    70.2 +++ b/ldapvi/receipt	Sat Mar 10 16:57:21 2018 +0200
    70.3 @@ -1,31 +1,31 @@
    70.4 -# SliTaz package receipt.
    70.5 +# SliTaz package receipt v2.
    70.6  
    70.7  PACKAGE="ldapvi"
    70.8  VERSION="1.7"
    70.9  CATEGORY="system-tools"
   70.10 -SHORT_DESC="Interactive LDAP client for Unix terminals."
   70.11 +SHORT_DESC="Interactive LDAP client for Unix terminals"
   70.12  MAINTAINER="pascal.bellard@slitaz.org"
   70.13  LICENSE="GPL2"
   70.14 +WEB_SITE="http://www.lichteblau.com/ldapvi/"
   70.15 +
   70.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   70.17 -WEB_SITE="http://www.lichteblau.com/ldapvi/"
   70.18  WGET_URL="http://www.lichteblau.com/download/$TARBALL"
   70.19 -TAGS="LDAP"
   70.20  
   70.21 -DEPENDS="openldap glib popt openssl readline cyrus-sasl"
   70.22  BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
   70.23  readline-dev cyrus-sasl-dev"
   70.24  
   70.25 -# Rules to configure and make the package.
   70.26 -compile_rules()
   70.27 -{
   70.28 +compile_rules() {
   70.29  	grep -qs getline_ldapvi common.h ||
   70.30  	sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
   70.31 -	./configure --prefix=/usr $CONFIGURE_ARGS && make
   70.32 +	./configure \
   70.33 +		--prefix=/usr \
   70.34 +		$CONFIGURE_ARGS &&
   70.35 +	make &&
   70.36 +	install -Dm755 $src/ldapvi $install/usr/bin/ldapvi
   70.37  }
   70.38  
   70.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   70.40 -genpkg_rules()
   70.41 -{
   70.42 -	mkdir -p $fs/usr/bin
   70.43 -	cp -a $src/ldapvi $fs/usr/bin
   70.44 +genpkg_rules() {
   70.45 +	copy @std
   70.46 +	DEPENDS="openldap glib popt openssl readline cyrus-sasl"
   70.47 +	TAGS="LDAP"
   70.48  }