wok-next rev 20503

Packing...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 06:03:21 2018 +0200 (2018-03-16)
parents c0521c689857
children cc34674845c1
files astromenace/receipt astromenace/stuff/astromenace.desktop blender/receipt cinepaint/receipt compiz-plugins-extra/receipt compiz-plugins-main/receipt compiz-plugins-unsupported/receipt eduke32/receipt gmerlin/receipt gnome-games/receipt gogglesmm/receipt lxqt-config/receipt mesa-demos/receipt stund/receipt sunxi-tools/receipt sweethome3d/receipt sweethome3d/stuff/sweethome3d sweethome3d/stuff/sweethome3d.desktop tabbed/receipt tcplay/receipt threaded-samba-scanner/receipt tinypy/receipt tp_smapi/receipt tpp/receipt transset-df/receipt ttyload/receipt ttyrec/receipt ttysnoop/receipt txt2tags/receipt tyrian/receipt unhide/receipt unison/receipt vacation/receipt vfu/receipt vnc2flv/receipt vsftpd/receipt wbar/receipt wbar2/receipt wepbuster/receipt wikiss/receipt x11vnc/receipt xgalaga++/receipt xpenguins_themes/receipt xstroke/receipt xtron/receipt xtron/stuff/xtron.desktop xv/receipt xv/stuff/xv.desktop yacpi/receipt yeahconsole/receipt youtube-dl/receipt zerobin/receipt zerofree/receipt
line diff
     1.1 --- a/astromenace/receipt	Fri Mar 16 00:27:34 2018 +0200
     1.2 +++ b/astromenace/receipt	Fri Mar 16 06:03:21 2018 +0200
     1.3 @@ -1,69 +1,38 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="astromenace"
     1.8  VERSION="1.3.2"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Hardcore 3D space shooter with spaceship upgrade possibilities."
    1.11 +SHORT_DESC="Hardcore 3D space shooter with spaceship upgrade possibilities"
    1.12  MAINTAINER="hackdorte@sapo.pt"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://viewizard.com/astromenace/index_linux.php"
    1.15 +
    1.16  TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
    1.17 -
    1.18 -WEB_SITE="http://viewizard.com/astromenace/index_linux.php"
    1.19  WGET_URL="$SF_MIRROR/openastromenace/$TARBALL"
    1.20  
    1.21 -TAGS="arcade game shooting space"
    1.22 +BUILD_DEPENDS="gcc cmake make libsdl-dev libogg-dev libvorbis-dev glu-dev \
    1.23 +openal-dev freealut-dev xorg-libXinerama-dev freetype-dev mesa-dev \
    1.24 +fontconfig-dev"
    1.25  
    1.26 -DEPENDS="cmake libsdl libogg libvorbis glu openal freealut \
    1.27 -xorg-libXinerama freetype"
    1.28 +compile_rules() {
    1.29 +	cmake . &&
    1.30 +	make &&
    1.31 +	./AstroMenace --pack --rawdata=./RAW_VFS_DATA || return 1
    1.32  
    1.33 -BUILD_DEPENDS="gcc cmake make libsdl-dev libogg-dev libvorbis-dev glu-dev \
    1.34 -openal-dev freealut-dev xorg-libXinerama-dev freetype-dev mesa-dev"
    1.35 +	chmod +x AstroMenace
    1.36  
    1.37 -# Rules to configure and make the package.
    1.38 -compile_rules()
    1.39 -{
    1.40 +	mkdir -p $install/usr/games/AstroMenace/
    1.41 +	cp AstroMenace astromenace_64.png astromenace_128.png ChangeLog.txt \
    1.42 +	gamedata.vfs gpl-3.0.txt $install/usr/games/AstroMenace/
    1.43  
    1.44 -cd $src
    1.45 -cmake .
    1.46 -make
    1.47 -./AstroMenace --pack --rawdata=./RAW_VFS_DATA
    1.48 +	mkdir -p $install/usr/share/pixmaps/
    1.49 +	cp astromenace_64.png $install/usr/share/pixmaps/astromenace.png
    1.50  }
    1.51  
    1.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.53 -genpkg_rules()
    1.54 -{
    1.55 -
    1.56 -GAME="AstroMenace"
    1.57 -GAME_DIR="usr/games/$GAME"
    1.58 -
    1.59 -mkdir -p $install/$GAME_DIR
    1.60 -
    1.61 -chmod +x $src/$GAME
    1.62 -
    1.63 -cp -a $src/$GAME $install/$GAME_DIR
    1.64 -cp -a $src/astromenace_64.png $install/$GAME_DIR
    1.65 -cp -a $src/astromenace_128.png $install/$GAME_DIR
    1.66 -cp -a $src/ChangeLog.txt $install/$GAME_DIR
    1.67 -cp -a $src/gamedata.vfs $install/$GAME_DIR
    1.68 -cp -a $src/gpl-3.0.txt $install/$GAME_DIR
    1.69 -
    1.70 -mkdir -p $install/usr/share/pixmaps
    1.71 -cp -a $src/astromenace_64.png $install/usr/share/pixmaps/astromenace.png
    1.72 -
    1.73 -mkdir -p $install/usr/share/applications
    1.74 -cat > $install/usr/share/applications/astromenace.desktop << EOT
    1.75 -[Desktop Entry]
    1.76 -Type=Application
    1.77 -Name=$GAME
    1.78 -Exec=/$GAME_DIR/$GAME
    1.79 -Icon=$PACKAGE
    1.80 -Terminal=false
    1.81 -X-MultipleArgs=false
    1.82 -StartupNotify=false
    1.83 -Categories=Game;ActionGame;
    1.84 -
    1.85 -EOT
    1.86 -
    1.87 -cp -a $install/* $fs
    1.88 -
    1.89 +genpkg_rules() {
    1.90 +	copy @std
    1.91 +	TAGS="arcade game shooting space"
    1.92 +	DEPENDS="cmake libsdl libogg libvorbis glu openal freealut \
    1.93 +	xorg-libXinerama freetype"
    1.94  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/astromenace/stuff/astromenace.desktop	Fri Mar 16 06:03:21 2018 +0200
     2.3 @@ -0,0 +1,9 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=AstroMenace
     2.7 +Exec=/usr/games/AstroMenace/AstroMenace
     2.8 +Icon=astromenace
     2.9 +Terminal=false
    2.10 +X-MultipleArgs=false
    2.11 +StartupNotify=false
    2.12 +Categories=Game;ActionGame;
     3.1 --- a/blender/receipt	Fri Mar 16 00:27:34 2018 +0200
     3.2 +++ b/blender/receipt	Fri Mar 16 06:03:21 2018 +0200
     3.3 @@ -1,32 +1,27 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="blender"
     3.8  VERSION="2.75a"
     3.9  CATEGORY="graphics"
    3.10 -SHORT_DESC="3D content creation suite."
    3.11 +SHORT_DESC="3D content creation suite"
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="GPL"
    3.14 +WEB_SITE="http://www.blender.org/"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17 -SUGGESTED="nvidia"
    3.18 -WEB_SITE="http://www.blender.org/"
    3.19  WGET_URL="http://download.blender.org/source/$TARBALL"
    3.20 -TAGS="3D creator editor"
    3.21  
    3.22 -DEPENDS="py3k mesa libsdl libsamplerate libdrm jpeg glu openjpeg \
    3.23 -ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng16 freeglut \
    3.24 -freetype openal zlib librsvg glew libboost-filesystem libboost-regex \
    3.25 -libboost-thread libboost-date-time libboost-dev" #libboost-dev?
    3.26  BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \
    3.27  gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
    3.28 -glu libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
    3.29 +glu libsdl-dev python3-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
    3.30  libboost-dev libboost-math libboost-math-tr1 libboost-filesystem \
    3.31  glu-dev glew-dev"
    3.32  
    3.33 -# Rules to configure and make the package.
    3.34 -compile_rules()
    3.35 -{
    3.36 +compile_rules() {
    3.37 +	p3v=$(. $WOK/python3/receipt; echo ${VERSION%.*})
    3.38  	mkdir -p $WOK/$PACKAGE/source/build
    3.39  	cd $WOK/$PACKAGE/source/build
    3.40 +
    3.41  	cmake $src \
    3.42  		-DCMAKE_INSTALL_PREFIX:PATH=/usr \
    3.43  		-DCMAKE_BUILD_TYPE:STRING=Release \
    3.44 @@ -36,25 +31,26 @@
    3.45  		-DWITH_GAMEENGINE:BOOL=ON \
    3.46  		-DWITH_CYCLES:BOOL=OFF \
    3.47  		-DWITH_PLAYER:BOOL=ON \
    3.48 -		-DPYTHON_VERSION:STRING=3.4 \
    3.49 +		-DPYTHON_VERSION:STRING=$p3v \
    3.50  		-DPYTHON_LIBPATH:STRING=/usr/lib \
    3.51 -		-DPYTHON_LIBRARY:STRING=python3.4m \
    3.52 -		-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.4m
    3.53 +		-DPYTHON_LIBRARY:STRING=python${p3v}m \
    3.54 +		-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python${p3v}m &&
    3.55  	# build
    3.56 -	make $MAKEFLAGS
    3.57 -	make DESTDIR=$DESTDIR install
    3.58 -	python3 -m compileall "$DESTDIR/usr/share/blender"
    3.59 +	make $MAKEFLAGS &&
    3.60 +	make DESTDIR=$DESTDIR install &&
    3.61 +	python3 -m compileall "$DESTDIR/usr/share/blender" || return 1
    3.62 +
    3.63 +	mv -f $install/usr/bin/blender $install/usr/bin/blender-bin
    3.64 +	cp -a $stuff/blender $install/usr/bin/
    3.65  }
    3.66  
    3.67 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.68 -genpkg_rules()
    3.69 -{
    3.70 -	LOCALE="fr de pt_BR es zh_CN"
    3.71 -	mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
    3.72 -	cp -a $install/usr/share/blender $fs/usr/share
    3.73 -	cp -a $install/usr/bin $fs/usr
    3.74 -	cp -a $install/usr/share/applications $fs/usr/share
    3.75 -	cp -a $install/usr/share/icons $fs/usr/share
    3.76 -	mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin
    3.77 -	cp -a $stuff/blender $fs/usr/bin
    3.78 +genpkg_rules() {
    3.79 +	LOCALE="fr de pt_BR es ru zh_CN"
    3.80 +	copy @std
    3.81 +	DEPENDS="python3 mesa libsdl libsamplerate libdrm jpeg glu openjpeg \
    3.82 +	ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng16 freeglut \
    3.83 +	freetype openal zlib librsvg glew libboost-filesystem libboost-regex \
    3.84 +	libboost-thread libboost-date-time libboost-dev" #libboost-dev?
    3.85 +	SUGGESTED="nvidia"
    3.86 +	TAGS="3D creator editor"
    3.87  }
     4.1 --- a/cinepaint/receipt	Fri Mar 16 00:27:34 2018 +0200
     4.2 +++ b/cinepaint/receipt	Fri Mar 16 06:03:21 2018 +0200
     4.3 @@ -1,45 +1,33 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="cinepaint"
     4.8  VERSION="1.3"
     4.9  CATEGORY="graphics"
    4.10 -SHORT_DESC="For painting and retouching bitmap frames of films."
    4.11 +SHORT_DESC="For painting and retouching bitmap frames of films"
    4.12  MAINTAINER="slaxemulator@gmail.com"
    4.13  LICENSE="MIT GPL LGPL"
    4.14 +WEB_SITE="http://www.cinepaint.org/"
    4.15 +
    4.16  TARBALL="$PACKAGE-$VERSION.tgz"
    4.17 -WEB_SITE="http://www.cinepaint.org"
    4.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.19  
    4.20 -DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
    4.21 -gutenprint zlib mesa jbigkit openexr"
    4.22  BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
    4.23  xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
    4.24  ilmbase-dev xorg-libXpm-dev gtk+-dev libpng16-dev bash automake autoconf libtool \
    4.25 -python-dev glu-dev libpng12-dev "
    4.26 +python-dev glu-dev xorg-libXmu-dev xorg-libXext-dev" # libpng12-dev
    4.27  
    4.28 -# Rules to configure and make the package.
    4.29 -compile_rules()
    4.30 -{
    4.31 +compile_rules() {
    4.32  	sh ./autogen.sh
    4.33  	./configure \
    4.34  		--prefix=/usr \
    4.35  		--enable-gtk2 \
    4.36  		--disable-print \
    4.37 -		$CONFIGURE_ARGS 2>&1 | grep -v 'ls: argyll-0.60:' &&
    4.38 -	{
    4.39 -		make && make DESTDIR=$DESTDIR install
    4.40 -	} 2>&1 | grep -v "rename 'pygimp/..html':"
    4.41 +		$CONFIGURE_ARGS &&
    4.42 +	make && make DESTDIR=$DESTDIR install
    4.43  }
    4.44  
    4.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.46 -genpkg_rules()
    4.47 -{
    4.48 -	mkdir -p $fs/usr/share $fs/usr/lib
    4.49 -	cp -a $install/usr/bin $fs/usr
    4.50 -	cp -a $install/usr/lib/cinepaint $fs/usr/lib
    4.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.52 -	cp -a $install/usr/share/cinepaint $fs/usr/share
    4.53 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    4.54 -	cp -a $install/usr/share/applications $fs/usr/share
    4.55 -	cp -a $install/usr/share/fonts $fs/usr/share
    4.56 +genpkg_rules() {
    4.57 +	copy @std
    4.58 +	DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu \
    4.59 +	xorg-libXpm gutenprint zlib mesa jbigkit openexr"
    4.60  }
     5.1 --- a/compiz-plugins-extra/receipt	Fri Mar 16 00:27:34 2018 +0200
     5.2 +++ b/compiz-plugins-extra/receipt	Fri Mar 16 06:03:21 2018 +0200
     5.3 @@ -16,33 +16,29 @@
     5.4  BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
     5.5  libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
     5.6  libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev libtool \
     5.7 -util-linux-getopt xorg-libxshmfence-dev glu-dev expat-dev"
     5.8 +util-linux-getopt xorg-libxshmfence-dev glu-dev expat-dev xorg-xcb-util-dev"
     5.9  SPLIT="compiz-plugins-extra-dev"
    5.10  
    5.11  compile_rules() {
    5.12 -	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    5.13 -		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    5.14 +	[ -s $SRC/$EXTRA_SOURCE_FILES ] ||
    5.15 +		wget -O $SRC/$EXTRA_SOURCE_FILES $WGET_URL2
    5.16  	patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    5.17 -	./configure --prefix=/usr &&
    5.18 +
    5.19 +	fix ld
    5.20 +	./configure $CONFIGURE_ARGS &&
    5.21 +	fix libtool &&
    5.22  	make && make install
    5.23  }
    5.24  
    5.25  genpkg_rules() {
    5.26  	case $PACKAGE in
    5.27  		compiz-plugins-extra)
    5.28 -			mkdir -p $fs/usr/lib $fs/usr/share/locale
    5.29 -			cp -a $install/usr/lib/compiz $fs/usr/lib
    5.30 -			cp -a $install/usr/share/compiz $fs/usr/share
    5.31 -			cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    5.32 -			cd $fs/usr/lib/compiz; rm -f *.a *.la
    5.33 +			copy @std
    5.34  			DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ \
    5.35  			librsvg libnotify compiz-plugins-main"
    5.36  			;;
    5.37  		*-dev)
    5.38 -			mkdir -p $fs/usr/lib/compiz
    5.39 -			cp -a $install/usr/include $fs/usr
    5.40 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.41 -			cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz
    5.42 +			copy @dev
    5.43  			;;
    5.44  	esac
    5.45  }
     6.1 --- a/compiz-plugins-main/receipt	Fri Mar 16 00:27:34 2018 +0200
     6.2 +++ b/compiz-plugins-main/receipt	Fri Mar 16 06:03:21 2018 +0200
     6.3 @@ -14,31 +14,25 @@
     6.4  BUILD_DEPENDS="xorg-dev compiz-core-dev libnotify-dev libxslt-dev \
     6.5  startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
     6.6  compiz-libcompizconfig compiz-libcompizconfig-dev compiz-bcop glu-dev \
     6.7 -util-linux-uuid-dev libtool util-linux-getopt xorg-libxshmfence-dev expat-dev"
     6.8 +util-linux-uuid-dev libtool util-linux-getopt xorg-libxshmfence-dev expat-dev \
     6.9 +xorg-xcb-util-dev"
    6.10  SPLIT="compiz-plugins-main-dev"
    6.11  
    6.12  compile_rules() {
    6.13 -	./configure \
    6.14 -		--prefix=/usr \
    6.15 -		--sysconfdir=/etc &&
    6.16 +	fix ld
    6.17 +	./configure $CONFIGURE_ARGS &&
    6.18 +	fix libtool &&
    6.19  	make && make install
    6.20  }
    6.21  
    6.22  genpkg_rules() {
    6.23  	case $PACKAGE in
    6.24  		compiz-plugins-main)
    6.25 -			mkdir -p $fs/usr/lib $fs/usr/share/locale
    6.26 -			cp -a $install/usr/lib/compiz $fs/usr/lib
    6.27 -			cp -a $install/usr/share/compiz $fs/usr/share
    6.28 -			cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    6.29 -			cd $fs/usr/lib/compiz; rm -f *.a *.la
    6.30 +			copy @std
    6.31  			DEPENDS="xorg-libX11 compiz-core librsvg"
    6.32  			;;
    6.33  		*-dev)
    6.34 -			mkdir -p $fs/usr/lib/compiz
    6.35 -			cp -a $install/usr/include $fs/usr
    6.36 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    6.37 -			cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz
    6.38 +			copy @dev
    6.39  			;;
    6.40  	esac
    6.41  }
     7.1 --- a/compiz-plugins-unsupported/receipt	Fri Mar 16 00:27:34 2018 +0200
     7.2 +++ b/compiz-plugins-unsupported/receipt	Fri Mar 16 06:03:21 2018 +0200
     7.3 @@ -15,28 +15,25 @@
     7.4  libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
     7.5  libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev \
     7.6  compiz-plugins-extra compiz-plugins-extra-dev libtool util-linux-getopt \
     7.7 -xorg-libxshmfence-dev glu-dev expat-dev"
     7.8 +xorg-libxshmfence-dev glu-dev expat-dev xorg-xcb-util-dev"
     7.9  SPLIT="compiz-plugins-unsupported-dev"
    7.10  
    7.11  compile_rules() {
    7.12 -	./configure --prefix=/usr &&
    7.13 +	fix ld
    7.14 +	./configure $CONFIGURE_ARGS &&
    7.15 +	fix libtool &&
    7.16  	make && make install
    7.17  }
    7.18  
    7.19  genpkg_rules() {
    7.20  	case $PACKAGE in
    7.21  		compiz-plugins-unsupported)
    7.22 -			mkdir -p $fs/usr/lib $fs/usr/share/locale
    7.23 -			cp -a $install/usr/lib/compiz $fs/usr/lib
    7.24 -			cp -a $install/usr/share/compiz $fs/usr/share
    7.25 -			cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    7.26 -			cd $fs/usr/lib/compiz; rm -f *.a *.la
    7.27 +			copy @std
    7.28  			DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ \
    7.29  			librsvg libnotify compiz-plugins-main"
    7.30  			;;
    7.31  		*-dev)
    7.32 -			mkdir -p $fs/usr/lib
    7.33 -			cp -a $install/usr/include $fs/usr
    7.34 +			copy @dev
    7.35  			;;
    7.36  	esac
    7.37  }
     8.1 --- a/eduke32/receipt	Fri Mar 16 00:27:34 2018 +0200
     8.2 +++ b/eduke32/receipt	Fri Mar 16 06:03: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="eduke32"
     8.8  VERSION="20110319-1850"
     8.9 @@ -6,29 +6,34 @@
    8.10  SHORT_DESC="A port of the classic first-person shooter, Duke Nukem 3D"
    8.11  MAINTAINER="mallory@sweetpeople.org"
    8.12  LICENSE="GPL2"
    8.13 +
    8.14  TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2"
    8.15  WEB_SITE="http://www.eduke32.com/"
    8.16  WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL"
    8.17  TAGS="shooting"
    8.18  
    8.19 -DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
    8.20  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm \
    8.21  mesa-dev glu-dev gcc49"
    8.22  
    8.23  # Rules to configure and make the package.
    8.24  compile_rules()
    8.25  {
    8.26 -	make CC=gcc-49 CXX=g++-49 $MAKEFLAGS || return 1
    8.27 -    	mkdir $DESTDIR
    8.28 -    	cp eduke32 mapster32 $DESTDIR
    8.29 +	case $ARCH in
    8.30 +		x86_64) Arch='nocona';;
    8.31 +		*)      Arch="$ARCH";;
    8.32 +	esac
    8.33 +
    8.34 +	make \
    8.35 +		CC=gcc-49 \
    8.36 +		CXX=g++-49 \
    8.37 +		CFLAGS="-march=$Arch -Os -pipe" \
    8.38 +		$MAKEFLAGS || return 1
    8.39 +
    8.40 +	install -Dm755 eduke32   $install/usr/bin/eduke32
    8.41 +	install -Dm755 mapster32 $install/usr/bin/mapster32
    8.42  }
    8.43  
    8.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.45 -genpkg_rules()
    8.46 -{
    8.47 -	echo "Building package tree"
    8.48 -	mkdir -p $fs/usr/bin 
    8.49 -
    8.50 -	echo "Copying package files"
    8.51 -	cp -a $install/eduke32 $install/mapster32 $fs/usr/bin
    8.52 +genpkg_rules() {
    8.53 +	copy @std
    8.54 +	DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
    8.55  }
     9.1 --- a/gmerlin/receipt	Fri Mar 16 00:27:34 2018 +0200
     9.2 +++ b/gmerlin/receipt	Fri Mar 16 06:03:21 2018 +0200
     9.3 @@ -12,11 +12,11 @@
     9.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     9.5  
     9.6  BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \
     9.7 -libpng16-dev mesa-dev xorg-libxshmfence-dev"
     9.8 +libpng16-dev mesa-dev xorg-libxshmfence-dev gettext"
     9.9  COOKOPTS="skip-log-errors"
    9.10  
    9.11  compile_rules() {
    9.12 -	rm -rf cpuinfo.sh
    9.13 +	rm -f cpuinfo.sh
    9.14  	./configure \
    9.15  		--without-doxygen \
    9.16  		$CONFIGURE_ARGS &&
    10.1 --- a/gnome-games/receipt	Fri Mar 16 00:27:34 2018 +0200
    10.2 +++ b/gnome-games/receipt	Fri Mar 16 06:03:21 2018 +0200
    10.3 @@ -15,7 +15,7 @@
    10.4  
    10.5  BUILD_DEPENDS="glib-dev gtk+-dev GConf-dev librsvg-dev clutter-dev \
    10.6  clutter-gtk-dev pygtk-dev libcanberra-dev intltool guile-dev \
    10.7 -gnome-doc-utils-dev"
    10.8 +gnome-doc-utils-dev xorg-libSM-dev xorg-libICE-dev"
    10.9  
   10.10  gg='gnome-games'
   10.11  SPLIT="\
   10.12 @@ -25,6 +25,7 @@
   10.13  $gg-swell-foop $gg-common  $gg-help      $gg           $gg-dev"
   10.14  
   10.15  compile_rules() {
   10.16 +	fix ld
   10.17  	./configure \
   10.18  		--sysconfdir=/etc \
   10.19  		--bindir=/usr/games \
    11.1 --- a/gogglesmm/receipt	Fri Mar 16 00:27:34 2018 +0200
    11.2 +++ b/gogglesmm/receipt	Fri Mar 16 06:03:21 2018 +0200
    11.3 @@ -1,42 +1,40 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="gogglesmm"
    11.8  VERSION="0.12.6"
    11.9  CATEGORY="multimedia"
   11.10 -SHORT_DESC="Goggles Music Manager is nice a music collection manager and player."
   11.11 +SHORT_DESC="Goggles Music Manager is nice a music collection manager and player"
   11.12  MAINTAINER="chadi.elahmad@gmail.com"
   11.13  LICENSE="GPL3"
   11.14 +WEB_SITE="http://code.google.com/p/gogglesmm/"
   11.15 +
   11.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   11.17 -WEB_SITE="http://code.google.com/p/gogglesmm/"
   11.18  WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
   11.19  
   11.20 -DEPENDS="fox xine-lib dbus curl sqlite3 taglib libpng16 jpeg expat tiff \
   11.21 -mesa glu"
   11.22 -BUILD_DEPENDS="fox-dev sqlite3 taglib dbus-dev xine-lib-dev \
   11.23 +BUILD_DEPENDS="shared-mime-info fox-dev sqlite3 taglib dbus-dev xine-lib-dev \
   11.24  sqlite3-dev taglib-dev curl-dev expat-dev xorg-xproto \
   11.25  xorg-libX11-dev libgcrypt-dev mesa-dev glu-dev pkg-config"
   11.26  
   11.27 -# Rules to configure and make the package. 
   11.28 -compile_rules()
   11.29 -{
   11.30 +compile_rules() {
   11.31  	sed -i 's/0x80/-128/g' src/gmutils.cpp
   11.32  	# Fixed installing .mo files since busybox install commmand 
   11.33  	# doesn't have -T option
   11.34  	sed -i 's| -T||g' $src/Makefile
   11.35 +
   11.36  	./configure \
   11.37  		--prefix=/usr \
   11.38  		--mandir=/usr/share/man \
   11.39  		--infodir=/usr/share/info \
   11.40  		$CONFIGURE_ARGS &&
   11.41  	make &&
   11.42 -	make DESTDIR=$DESTDIR install
   11.43 +	make DESTDIR=$DESTDIR install || return 1
   11.44 +
   11.45 +	mkdir -p            $install/usr/share/pixmaps/
   11.46 +	cp $src/extra/*.png $install/usr/share/pixmaps/
   11.47  }
   11.48  
   11.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.50 -genpkg_rules()
   11.51 -{
   11.52 -	mkdir -p $fs/usr $fs/usr/share/pixmaps
   11.53 -	cp -a $install/usr/bin $fs/usr
   11.54 -	cp -a $install/usr/share/applications $fs/usr/share
   11.55 -	cp -a $src/extra/*.png $fs/usr/share/pixmaps
   11.56 +genpkg_rules() {
   11.57 +	copy @std
   11.58 +	DEPENDS="fox xine-lib dbus curl sqlite3 taglib libpng16 jpeg expat tiff \
   11.59 +	mesa glu"
   11.60  }
    12.1 --- a/lxqt-config/receipt	Fri Mar 16 00:27:34 2018 +0200
    12.2 +++ b/lxqt-config/receipt	Fri Mar 16 06:03:21 2018 +0200
    12.3 @@ -13,7 +13,7 @@
    12.4  WGET_URL="https://github.com/lxde/lxqt-config/releases/download/$VERSION/$TARBALL"
    12.5  
    12.6  BUILD_DEPENDS="cmake qt5-dev mesa-dev liblxqt-dev kwindowsystem-dev \
    12.7 -lxqt-build-tools libkscreen-dev xorg-libXcursor-dev"
    12.8 +lxqt-build-tools libkscreen-dev xorg-libXcursor-dev zlib-dev"
    12.9  
   12.10  compile_rules() {
   12.11  	# temporary workaround due to cmake-3.8
    13.1 --- a/mesa-demos/receipt	Fri Mar 16 00:27:34 2018 +0200
    13.2 +++ b/mesa-demos/receipt	Fri Mar 16 06:03:21 2018 +0200
    13.3 @@ -11,17 +11,15 @@
    13.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    13.5  WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$TARBALL"
    13.6  
    13.7 -BUILD_DEPENDS="glew-dev mesa-dev talloc-dev mesa-libegl pkg-config udev-dev \
    13.8 -expat-dev xorg-libxshmfence-dev"
    13.9 +BUILD_DEPENDS="glew-dev mesa-dev talloc-dev mesa-libegl eudev-dev expat-dev \
   13.10 +xorg-libxshmfence-dev freeglut-dev"
   13.11  
   13.12  compile_rules() {
   13.13  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
   13.14  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
   13.15  
   13.16 -	./configure \
   13.17 -		--prefix=/usr \
   13.18 -		$CONFIGURE_ARGS &&
   13.19 -	make  &&
   13.20 +	./configure $CONFIGURE_ARGS &&
   13.21 +	make &&
   13.22  	make DESTDIR=$DESTDIR install
   13.23  }
   13.24  
    14.1 --- a/stund/receipt	Fri Mar 16 00:27:34 2018 +0200
    14.2 +++ b/stund/receipt	Fri Mar 16 06:03:21 2018 +0200
    14.3 @@ -1,28 +1,24 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="stund"
    14.8  VERSION="0.97"
    14.9  CATEGORY="network"
   14.10 -SHORT_DESC="a simple STUN server and client."
   14.11 +SHORT_DESC="Simple STUN server and client"
   14.12  MAINTAINER="pascal.bellard@slitaz.org"
   14.13  LICENSE="other"
   14.14 +WEB_SITE="http://sourceforge.net/projects/stun/"
   14.15 +
   14.16  TARBALL="$PACKAGE-$VERSION.tgz"
   14.17 -WEB_SITE="http://sourceforge.net/projects/stun/"
   14.18  WGET_URL="$SF_MIRROR/stun/$TARBALL"
   14.19  
   14.20 -DEPENDS="gcc-lib-base"
   14.21 -BUILD_DEPENDS=""
   14.22 +compile_rules() {
   14.23 +	make || return 1
   14.24  
   14.25 -# Rules to configure and make the package.
   14.26 -compile_rules()
   14.27 -{
   14.28 -	make
   14.29 +	install -Dm755 $src/server $install/usr/bin/stunserver
   14.30 +	install -Dm755 $src/client $install/usr/bin/stunclient
   14.31  }
   14.32  
   14.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.34 -genpkg_rules()
   14.35 -{
   14.36 -	mkdir -p $fs/usr/bin
   14.37 -	cp -a $src/server $fs/usr/bin/stunserver
   14.38 -	cp -a $src/client $fs/usr/bin/stunclient
   14.39 +genpkg_rules() {
   14.40 +	copy @std
   14.41 +	DEPENDS="gcc-lib-base"
   14.42  }
    15.1 --- a/sunxi-tools/receipt	Fri Mar 16 00:27:34 2018 +0200
    15.2 +++ b/sunxi-tools/receipt	Fri Mar 16 06:03:21 2018 +0200
    15.3 @@ -1,31 +1,28 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="sunxi-tools"
    15.8  VERSION="1.1-80-g3561247"
    15.9  CATEGORY="development"
   15.10 -SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices."
   15.11 +SHORT_DESC="Help hacking Allwinner A10 (aka sun4i) based devices"
   15.12  MAINTAINER="pascal.bellard@slitaz.org"
   15.13  LICENSE="GPL2"
   15.14  WEB_SITE="http://linux-sunxi.org/Sunxi-tools"
   15.15 +
   15.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   15.17  WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}"
   15.18  
   15.19 -DEPENDS="libusb"
   15.20 -BUILD_DEPENDS="wget pkg-config libusb-dev"
   15.21 +BUILD_DEPENDS="libusb-dev"
   15.22  
   15.23 -# Rules to configure and make the package.
   15.24 -compile_rules()
   15.25 -{
   15.26 -	cd $src
   15.27 -	make && make phoenix_info
   15.28 +compile_rules() {
   15.29 +	make && make phoenix_info || return 1
   15.30 +
   15.31 +	mkdir -p $install/usr/bin/
   15.32 +	cp pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \
   15.33 +		bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info \
   15.34 +		$install/usr/bin/
   15.35  }
   15.36  
   15.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.38 -genpkg_rules()
   15.39 -{
   15.40 -	mkdir -p $fs/usr/bin
   15.41 -	for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \
   15.42 -		 bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do
   15.43 -		cp -a $src/$i $fs/usr/bin
   15.44 -	done
   15.45 +genpkg_rules() {
   15.46 +	copy @std
   15.47 +	DEPENDS="libusb"
   15.48  }
    16.1 --- a/sweethome3d/receipt	Fri Mar 16 00:27:34 2018 +0200
    16.2 +++ b/sweethome3d/receipt	Fri Mar 16 06:03:21 2018 +0200
    16.3 @@ -1,45 +1,28 @@
    16.4 -# SliTaz package receipt.
    16.5 +# SliTaz package receipt v2.
    16.6  
    16.7  PACKAGE="sweethome3d"
    16.8 -SOURCE="SweetHome3D"
    16.9 -VERSION="4.0"
   16.10 +VERSION="5.7"
   16.11  CATEGORY="misc"
   16.12 -SHORT_DESC="A free interior design application."
   16.13 +SHORT_DESC="An interior design application to draw house plans & arrange furniture"
   16.14  MAINTAINER="pascal.bellard@slitaz.org"
   16.15  LICENSE="GPL2"
   16.16 -TARBALL="$SOURCE-$VERSION-linux-x86.tgz"
   16.17  WEB_SITE="http://www.sweethome3d.com/"
   16.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL"
   16.19 +HOST_ARCH="i486 x86_64"
   16.20  
   16.21 -DEPENDS="libgl"
   16.22 -BUILD_DEPENDS=""
   16.23 +case $ARCH in
   16.24 +	i?86)   TARBALL="SweetHome3D-$VERSION-linux-x86.tgz";;
   16.25 +	x86_64) TARBALL="SweetHome3D-$VERSION-linux-x64.tgz";;
   16.26 +esac
   16.27 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   16.28  
   16.29 -# Rules to configure and make the package.
   16.30 -compile_rules()
   16.31 -{
   16.32 -	cd $src
   16.33 +compile_rules() {
   16.34 +	mkdir -p   $install/usr/share/
   16.35 +	cp -a $src $install/usr/share/sweethome3d
   16.36 +
   16.37 +	install -Dm755 $stuff/sweethome3d $install/usr/bin/sweethome3d
   16.38  }
   16.39  
   16.40 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   16.41 -genpkg_rules()                                      
   16.42 -{
   16.43 -	mkdir -p $fs/usr/share/applications $fs/usr/bin
   16.44 -	cp -a $src $fs/usr/share/$PACKAGE
   16.45 -	cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
   16.46 -[Desktop Entry]
   16.47 -Encoding=UTF-8
   16.48 -Name=Interior design
   16.49 -Name[fr]=Aménagement d'intérieur
   16.50 -Type=Application
   16.51 -Exec=$PACKAGE
   16.52 -Icon=gohome.png
   16.53 -Terminal=false
   16.54 -Categories=Office;
   16.55 -EOT
   16.56 -	cat > $fs/usr/bin/$PACKAGE <<EOT
   16.57 -#!/bin/sh
   16.58 -
   16.59 -exec /usr/share/$PACKAGE/SweetHome3D
   16.60 -EOT
   16.61 -	chmod +x $fs/usr/bin/$PACKAGE
   16.62 +genpkg_rules() {
   16.63 +	copy @std
   16.64 +	DEPENDS="mesa"
   16.65  }
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/sweethome3d/stuff/sweethome3d	Fri Mar 16 06:03:21 2018 +0200
    17.3 @@ -0,0 +1,3 @@
    17.4 +#!/bin/sh
    17.5 +
    17.6 +exec /usr/share/sweethome3d/SweetHome3D
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/sweethome3d/stuff/sweethome3d.desktop	Fri Mar 16 06:03:21 2018 +0200
    18.3 @@ -0,0 +1,9 @@
    18.4 +[Desktop Entry]
    18.5 +Encoding=UTF-8
    18.6 +Name=Interior design
    18.7 +Name[fr]=Aménagement d'intérieur
    18.8 +Type=Application
    18.9 +Exec=$PACKAGE
   18.10 +Icon=gohome.png
   18.11 +Terminal=false
   18.12 +Categories=Office;
    19.1 --- a/tabbed/receipt	Fri Mar 16 00:27:34 2018 +0200
    19.2 +++ b/tabbed/receipt	Fri Mar 16 06:03:21 2018 +0200
    19.3 @@ -1,35 +1,32 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="tabbed"
    19.8  VERSION="0.6"
    19.9  CATEGORY="x-window"
   19.10 -SHORT_DESC="Simple generic tabbed fronted to xembed aware applications."
   19.11 +SHORT_DESC="Simple generic tabbed fronted to xembed aware applications"
   19.12  MAINTAINER="pankso@slitaz.org"
   19.13  LICENSE="BSD"
   19.14 +WEB_SITE="http://tools.suckless.org/tabbed/"
   19.15 +
   19.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   19.17 -WEB_SITE="http://tools.suckless.org/tabbed/"
   19.18  WGET_URL="http://dl.suckless.org/tools/$TARBALL"
   19.19  
   19.20 -DEPENDS="xorg-libX11 xorg-xwininfo"
   19.21  BUILD_DEPENDS="xorg-libX11-dev"
   19.22  
   19.23 -# Rules to configure and make the package.
   19.24 -compile_rules()
   19.25 -{
   19.26 +compile_rules() {
   19.27  	case "$ARCH" in
   19.28  		arm*)
   19.29  			sysroot="/cross/$ARCH/sysroot"
   19.30  			sed -i \
   19.31  				-e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \
   19.32  				-e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \
   19.33 -				config.mk || return 1 
   19.34 +				config.mk || return 1
   19.35  	esac
   19.36 -	make CC=${HOST_SYSTEM}-gcc
   19.37 +	make CC=$HOST_SYSTEM-gcc &&
   19.38 +	install -Dm755 $src/tabbed $install/usr/bin/tabbed
   19.39  }
   19.40  
   19.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.42 -genpkg_rules()
   19.43 -{
   19.44 -	mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
   19.45 -	cp -a ${src}/${PACKAGE} $fs/usr/bin
   19.46 +genpkg_rules() {
   19.47 +	copy @std
   19.48 +	DEPENDS="xorg-libX11 xorg-xwininfo"
   19.49  }
    20.1 --- a/tcplay/receipt	Fri Mar 16 00:27:34 2018 +0200
    20.2 +++ b/tcplay/receipt	Fri Mar 16 06:03:21 2018 +0200
    20.3 @@ -3,45 +3,45 @@
    20.4  PACKAGE="tcplay"
    20.5  VERSION="2.0"
    20.6  CATEGORY="system-tools"
    20.7 -SHORT_DESC="Free TrueCrypt implementation."
    20.8 +SHORT_DESC="Free TrueCrypt implementation"
    20.9  MAINTAINER="pascal.bellard@slitaz.org"
   20.10  LICENSE="BSD"
   20.11 +WEB_SITE="https://github.com/bwalex/tc-play"
   20.12 +
   20.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
   20.14 -WEB_SITE="https://github.com/bwalex/tc-play"
   20.15  WGET_URL="https://github.com/bwalex/tc-play/archive/v$VERSION.tar.gz"
   20.16  
   20.17 -BUILD_DEPENDS="cmake wget libdevmapper-dev libgcrypt-dev util-linux-uuid-dev \
   20.18 +BUILD_DEPENDS="cmake libdevmapper-dev libgcrypt-dev util-linux-uuid-dev \
   20.19  libdevmapper openssl-dev zlib-dev"
   20.20 -SPLIT="tcplay libtcplay-dev libtcplay"
   20.21 +SPLIT="tcplay libtcplay libtcplay-dev"
   20.22  
   20.23 -# Rules to configure and make the package.
   20.24 -compile_rules()
   20.25 -{
   20.26 -	make -f Makefile.classic
   20.27 +compile_rules() {
   20.28 +	make -f Makefile.classic || return 1
   20.29 +
   20.30 +	install -Dm755 $src/tcplay $install/usr/bin/tcplay
   20.31 +	mkdir -p \
   20.32 +		$install/usr/lib/ \
   20.33 +		$install/usr/include/
   20.34 +	cp  $src/libtcplay.so* $install/usr/lib/
   20.35 +	cp  $src/libtcplay.a   $install/usr/lib/
   20.36 +	cp  $src/tcplay*.h     $install/usr/include/
   20.37  }
   20.38  
   20.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.40 -genpkg_rules()
   20.41 -{
   20.42 +genpkg_rules() {
   20.43  	case $PACKAGE in
   20.44 -	tcplay)
   20.45 -		DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib udev"
   20.46 -		mkdir -p $fs/usr/bin
   20.47 -		cp -a $src/tcplay $fs/usr/bin
   20.48 -		;;
   20.49 -	libtcplay-dev)
   20.50 -		CAT="development|Free TrueCrypt implementation, development files."
   20.51 -		DEPENDS="libgcrypt-dev libdevmapper-dev openssl-dev \
   20.52 +		tcplay)
   20.53 +			copy tcplay
   20.54 +			DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib eudev"
   20.55 +			;;
   20.56 +		libtcplay)
   20.57 +			copy *.so*
   20.58 +			CAT="system-tools|libraries"
   20.59 +			DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib eudev"
   20.60 +			;;
   20.61 +		libtcplay-dev)
   20.62 +			copy @dev
   20.63 +			DEPENDS="libgcrypt-dev libdevmapper-dev openssl-dev \
   20.64  			util-linux-uuid-dev zlib-dev"
   20.65 -		mkdir -p $fs/usr/lib $fs/usr/include
   20.66 -		cp -a $src/libtcplay.a $fs/usr/lib
   20.67 -		cp -a $src/tcplay*.h $fs/usr/include
   20.68 -		;;
   20.69 -	libtcplay)
   20.70 -		CAT="system-tools|Free TrueCrypt implementation."
   20.71 -		DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib udev"
   20.72 -		mkdir -p $fs/usr/lib
   20.73 -		cp -a $src/libtcplay.so* $fs/usr/lib
   20.74 -		;;
   20.75 +			;;
   20.76  	esac
   20.77  }
    21.1 --- a/threaded-samba-scanner/receipt	Fri Mar 16 00:27:34 2018 +0200
    21.2 +++ b/threaded-samba-scanner/receipt	Fri Mar 16 06:03:21 2018 +0200
    21.3 @@ -1,28 +1,22 @@
    21.4 -# SliTaz package receipt.
    21.5 +# SliTaz package receipt v2.
    21.6  
    21.7  PACKAGE="threaded-samba-scanner"
    21.8  VERSION="3.6"
    21.9  CATEGORY="network"
   21.10 -SHORT_DESC="A very fast samba scanner."
   21.11 +SHORT_DESC="A very fast samba scanner"
   21.12  MAINTAINER="pascal.bellard@slitaz.org"
   21.13  LICENSE="GPL3"
   21.14 +WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
   21.15 +
   21.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   21.17 -WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
   21.18  WGET_URL="http://dalalven.dtdns.net/linux/$PACKAGE/$TARBALL"
   21.19  
   21.20 -DEPENDS="smbclient"
   21.21 -BUILD_DEPENDS=""
   21.22 -
   21.23 -
   21.24 -# Rules to configure and make the package.
   21.25 -compile_rules()
   21.26 -{
   21.27 -	make
   21.28 +compile_rules() {
   21.29 +	make &&
   21.30 +	install -Dm755 $src/$PACKAGE $install/usr/bin/$PACKAGE
   21.31  }
   21.32  
   21.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.34 -genpkg_rules()
   21.35 -{
   21.36 -	mkdir -p $fs/usr/bin
   21.37 -	cp $src/threaded-samba-scanner $fs/usr/bin
   21.38 +genpkg_rules() {
   21.39 +	copy @std
   21.40 +	DEPENDS="smbclient"
   21.41  }
    22.1 --- a/tinypy/receipt	Fri Mar 16 00:27:34 2018 +0200
    22.2 +++ b/tinypy/receipt	Fri Mar 16 06:03:21 2018 +0200
    22.3 @@ -1,29 +1,25 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="tinypy"
    22.8  VERSION="1.1"
    22.9  CATEGORY="development"
   22.10 -SHORT_DESC="A minimalist implementation of Python."
   22.11 +SHORT_DESC="A minimalist implementation of Python"
   22.12  MAINTAINER="pankso@slitaz.org"
   22.13  LICENSE="MIT"
   22.14 +WEB_SITE="http://www.tinypy.org/"
   22.15 +
   22.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   22.17 -WEB_SITE="http://www.tinypy.org/"
   22.18  WGET_URL="http://tinypy.googlecode.com/files/$TARBALL"
   22.19 -TAGS="python"
   22.20  
   22.21 -DEPENDS="glibc-base"
   22.22  BUILD_DEPENDS="python-dev"
   22.23  
   22.24 -# Rules to configure and make the package.
   22.25 -compile_rules()
   22.26 -{
   22.27 -	cd $src
   22.28 -	python setup.py linux
   22.29 +compile_rules() {
   22.30 +	python setup.py linux &&
   22.31 +	install -Dm755 $src/build/tinypy $install/usr/bin/tinypy
   22.32  }
   22.33  
   22.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.35 -genpkg_rules()
   22.36 -{
   22.37 -	mkdir -p $fs/usr/bin
   22.38 -	cp -a $src/build/tinypy $fs/usr/bin
   22.39 +genpkg_rules() {
   22.40 +	copy @std
   22.41 +	DEPENDS="glibc-base"
   22.42 +	TAGS="python"
   22.43  }
    23.1 --- a/tp_smapi/receipt	Fri Mar 16 00:27:34 2018 +0200
    23.2 +++ b/tp_smapi/receipt	Fri Mar 16 06:03:21 2018 +0200
    23.3 @@ -1,4 +1,4 @@
    23.4 -# SliTaz package receipt.
    23.5 +# SliTaz package receipt v2.
    23.6  
    23.7  PACKAGE="tp_smapi"
    23.8  VERSION="0.42"
    23.9 @@ -6,28 +6,27 @@
   23.10  SHORT_DESC="IBM ThinkPad SMAPI BIOS driver"
   23.11  MAINTAINER="domcox@slitaz.org"
   23.12  LICENSE="GPL2"
   23.13 +WEB_SITE="https://github.com/evgeni/tp_smapi"
   23.14 +
   23.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   23.16 -WEB_SITE="https://github.com/evgeni/tp_smapi"
   23.17  WGET_URL="$WEB_SITE/archive/${PACKAGE/_/-}/$VERSION.tar.gz"
   23.18  
   23.19 -BUILD_DEPENDS="linux-module-headers linux-source wget"
   23.20 +BUILD_DEPENDS="linux-module-headers linux-source"
   23.21  
   23.22 -# Rules to configure and make the package.
   23.23 -compile_rules()
   23.24 -{
   23.25 +compile_rules() {
   23.26  	sed -i "s/uname -r/echo $kvers-slitaz/" Makefile
   23.27 -	make modules HDAPS=1
   23.28 +
   23.29 +	make modules HDAPS=1 || return 1
   23.30 +
   23.31 +	MOD_DIR=lib/modules/$kvers-slitaz/extra
   23.32 +	mkdir -p        $install/$MOD_DIR/
   23.33 +	cp -a $src/*.ko $install/$MOD_DIR/
   23.34  }
   23.35  
   23.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.37 -genpkg_rules()
   23.38 -{
   23.39 -	MOD_DIR=lib/modules/$kvers-slitaz/extra
   23.40 -	mkdir -p $fs/$MOD_DIR
   23.41 -	cp -a $src/*.ko $fs/$MOD_DIR
   23.42 +genpkg_rules() {
   23.43 +	copy @std
   23.44  }
   23.45  
   23.46 -post_install()
   23.47 -{
   23.48 +post_install() {
   23.49  	chroot "$1/" depmod -a
   23.50 -}
   23.51 \ No newline at end of file
   23.52 +}
    24.1 --- a/tpp/receipt	Fri Mar 16 00:27:34 2018 +0200
    24.2 +++ b/tpp/receipt	Fri Mar 16 06:03:21 2018 +0200
    24.3 @@ -1,38 +1,37 @@
    24.4 -# SliTaz package receipt.
    24.5 +# SliTaz package receipt v2.
    24.6  
    24.7  PACKAGE="tpp"
    24.8  VERSION="1.3.1"
    24.9  CATEGORY="utilities"
   24.10 -SHORT_DESC="Text presentation program."
   24.11 +SHORT_DESC="Text presentation program"
   24.12  MAINTAINER="paul@slitaz.org"
   24.13  LICENSE="GPL2"
   24.14 -DEPENDS="ruby ruby-ncurses ncurses"
   24.15 +WEB_SITE="http://www.ngolde.de/tpp.html"
   24.16 +
   24.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   24.18 -WEB_SITE="http://www.ngolde.de/tpp.html"
   24.19  WGET_URL="http://www.ngolde.de/download/$TARBALL"
   24.20  
   24.21 -# Rules to configure and make the package.
   24.22 -compile_rules()
   24.23 -{
   24.24 +compile_rules() {
   24.25 +	# use debian patches and fixes
   24.26 +	patch -i $stuff/ruby19.patch
   24.27 +	patch -i $stuff/optional-x.patch
   24.28 +
   24.29 +	cd examples
   24.30 +	for tppfile in *.tpp; do
   24.31 +		iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile &&
   24.32 +		touch -r $tppfile $tppfile.new &&
   24.33 +		mv $tppfile.new $tppfile
   24.34 +	done
   24.35 +
   24.36  	cd $src
   24.37 -	# use debian patches and fixes
   24.38 -	patch -i ../../stuff/ruby19.patch
   24.39 -	patch -i ../../stuff/optional-x.patch
   24.40 -	cd examples
   24.41 -	for tppfile in *.tpp; do 
   24.42 -  		iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && \
   24.43 -  		touch -r $tppfile $tppfile.new && \
   24.44 -  		mv $tppfile.new $tppfile
   24.45 -	done
   24.46 -	cd ..
   24.47 -	# make DESTDIR=$DESTDIR install
   24.48 +	mkdir -p \
   24.49 +		$install/usr/bin/ \
   24.50 +		$install/usr/share/doc/tpp/examples/
   24.51 +	install $src/tpp.rb $install/usr/bin/tpp/
   24.52 +	install -m644 $src/examples/* $install/usr/share/doc/tpp/examples/
   24.53  }
   24.54  
   24.55 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.56 -genpkg_rules()
   24.57 -{
   24.58 -	mkdir -p $fs/usr/bin $fs/usr/share/doc/tpp/examples
   24.59 -	install $src/tpp.rb $fs/usr/bin/tpp
   24.60 -	install -m644 $src/examples/* $fs/usr/share/doc/tpp/examples
   24.61 +genpkg_rules() {
   24.62 +	copy @std
   24.63 +	DEPENDS="ruby ruby-ncurses ncurses"
   24.64  }
   24.65 -
    25.1 --- a/transset-df/receipt	Fri Mar 16 00:27:34 2018 +0200
    25.2 +++ b/transset-df/receipt	Fri Mar 16 06:03:21 2018 +0200
    25.3 @@ -1,28 +1,25 @@
    25.4 -# SliTaz package receipt.
    25.5 +# SliTaz package receipt v2.
    25.6  
    25.7  PACKAGE="transset-df"
    25.8  VERSION="6"
    25.9  CATEGORY="x-window"
   25.10 -SHORT_DESC="Tool to set windows opacity."
   25.11 +SHORT_DESC="Tool to set windows opacity"
   25.12  MAINTAINER="pankso@slitaz.org"
   25.13  LICENSE="MIT"
   25.14 +WEB_SITE="http://www.forchheimer.se/transset-df/"
   25.15 +
   25.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   25.17 -WEB_SITE="http://www.forchheimer.se/transset-df/"
   25.18  WGET_URL="http://www.forchheimer.se/transset-df/$TARBALL"
   25.19  
   25.20 -DEPENDS="xorg-libXdamage xorg-libXcomposite xorg-xcompmgr xorg-libXrender \
   25.21 -xorg-libXext"
   25.22  BUILD_DEPENDS="xorg-libXdamage-dev xorg-libXcomposite-dev xorg-libXrender-dev"
   25.23  
   25.24 -# Rules to configure and make the package.
   25.25 -compile_rules()
   25.26 -{
   25.27 -	make
   25.28 +compile_rules() {
   25.29 +	make &&
   25.30 +	install -Dm755 $src/transset-df $install/usr/bin/transset-df
   25.31  }
   25.32  
   25.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   25.34 -genpkg_rules()
   25.35 -{
   25.36 -	mkdir -p $fs/usr/bin
   25.37 -	cp -a $src/transset-df $fs/usr/bin
   25.38 +genpkg_rules() {
   25.39 +	copy @std
   25.40 +	DEPENDS="xorg-libXdamage xorg-libXcomposite xorg-xcompmgr xorg-libXrender \
   25.41 +	xorg-libXext"
   25.42  }
    26.1 --- a/ttyload/receipt	Fri Mar 16 00:27:34 2018 +0200
    26.2 +++ b/ttyload/receipt	Fri Mar 16 06:03:21 2018 +0200
    26.3 @@ -1,26 +1,21 @@
    26.4 -# SliTaz package receipt.
    26.5 +# SliTaz package receipt v2.
    26.6  
    26.7  PACKAGE="ttyload"
    26.8  VERSION="0.5"
    26.9  CATEGORY="system-tools"
   26.10 -SHORT_DESC="color-coded graph of load averages over time."
   26.11 +SHORT_DESC="Color-coded graph of load averages over time"
   26.12  MAINTAINER="pascal.bellard@slitaz.org"
   26.13  LICENSE="ISC"
   26.14 +WEB_SITE="http://www.daveltd.com/src/util/ttyload/"
   26.15 +
   26.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   26.17 -WEB_SITE="http://www.daveltd.com/src/util/ttyload/"
   26.18  WGET_URL="${WEB_SITE}$TARBALL"
   26.19  
   26.20 -# Rules to configure and make the package.
   26.21 -compile_rules()
   26.22 -{
   26.23 -	cd $src
   26.24 -	make
   26.25 +compile_rules() {
   26.26 +	make &&
   26.27 +	install -Dm755 $src/ttyload $install/usr/bin/ttyload
   26.28  }
   26.29  
   26.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
   26.31 -genpkg_rules()
   26.32 -{
   26.33 -	mkdir -p $fs/usr/bin
   26.34 -	cp -a $src/ttyload $fs/usr/bin
   26.35 +genpkg_rules() {
   26.36 +	copy @std
   26.37  }
   26.38 -
    27.1 --- a/ttyrec/receipt	Fri Mar 16 00:27:34 2018 +0200
    27.2 +++ b/ttyrec/receipt	Fri Mar 16 06:03:21 2018 +0200
    27.3 @@ -1,27 +1,25 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="ttyrec"
    27.8  VERSION="1.0.8"
    27.9  CATEGORY="misc"
   27.10 -SHORT_DESC="A tty recorder."
   27.11 +SHORT_DESC="A tty recorder"
   27.12  MAINTAINER="pascal.bellard@slitaz.org"
   27.13  LICENSE="BSD"
   27.14 +WEB_SITE="http://0xcc.net/ttyrec"
   27.15 +
   27.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   27.17 -WEB_SITE="http://0xcc.net/ttyrec"
   27.18  WGET_URL="$WEB_SITE/$TARBALL"
   27.19  
   27.20 -# Rules to configure and make the package.
   27.21 -compile_rules()
   27.22 -{
   27.23 +compile_rules() {
   27.24  	sed -i 's/union wait/int/' ttyrec.c
   27.25 -	make
   27.26 +
   27.27 +	make || return 1
   27.28 +
   27.29 +	mkdir -p $install/usr/bin/
   27.30 +	cp ttyrec ttyplay ttytime $install/usr/bin/
   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
   27.37 -	cp -a $src/ttyrec $fs/usr/bin
   27.38 -	cp -a $src/ttyplay $fs/usr/bin
   27.39 -	cp -a $src/ttytime $fs/usr/bin
   27.40 +genpkg_rules() {
   27.41 +	copy @std
   27.42  }
    28.1 --- a/ttysnoop/receipt	Fri Mar 16 00:27:34 2018 +0200
    28.2 +++ b/ttysnoop/receipt	Fri Mar 16 06:03:21 2018 +0200
    28.3 @@ -1,24 +1,23 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="ttysnoop"
    28.8  VERSION="0.12d.k26"
    28.9  CATEGORY="system-tools"
   28.10 -SHORT_DESC="Allows you to spy on telnet+serial connections."
   28.11 +SHORT_DESC="Allows you to spy on telnet+serial connections"
   28.12  LICENSE="GPL"
   28.13  MAINTAINER="pascal.bellard@slitaz.org"
   28.14 +WEB_SITE="http://freecode.com/projects/ttysnoop"
   28.15 +
   28.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   28.17 -WEB_SITE="http://freecode.com/projects/ttysnoop"
   28.18  WGET_URL="http://sysd.org/stas/files/active/0/$TARBALL"
   28.19  
   28.20 -# Rules to configure and make the package.
   28.21 -compile_rules()
   28.22 -{
   28.23 -	make
   28.24 +compile_rules() {
   28.25 +	make || return 1
   28.26 +
   28.27 +	install -Dm755 $src/ttysnoop  $install/sbin/ttysnoop
   28.28 +	install -Dm755 $src/ttysnoops $install/sbin/ttysnoops
   28.29  }
   28.30  
   28.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.32 -genpkg_rules()
   28.33 -{
   28.34 -	mkdir -p $fs/sbin
   28.35 -	cp $src/ttysnoop $src/ttysnoops $fs/sbin
   28.36 +genpkg_rules() {
   28.37 +	copy @std
   28.38  }
    29.1 --- a/txt2tags/receipt	Fri Mar 16 00:27:34 2018 +0200
    29.2 +++ b/txt2tags/receipt	Fri Mar 16 06:03:21 2018 +0200
    29.3 @@ -1,26 +1,21 @@
    29.4 -# SliTaz package receipt.
    29.5 +# SliTaz package receipt v2.
    29.6  
    29.7  PACKAGE="txt2tags"
    29.8  VERSION="2.6"
    29.9  CATEGORY="misc"
   29.10 -SHORT_DESC="Document generator."
   29.11 +SHORT_DESC="Document generator"
   29.12  MAINTAINER="pascal.bellard@slitaz.org"
   29.13  LICENSE="GPL2"
   29.14 +WEB_SITE="http://txt2tags.org/"
   29.15 +
   29.16  TARBALL="$PACKAGE-$VERSION.tgz"
   29.17 -WEB_SITE="http://txt2tags.org/"
   29.18  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
   29.19 -DEPENDS="python"
   29.20  
   29.21 -# Rules to configure and make the package.
   29.22 -compile_rules()
   29.23 -{
   29.24 -	cd $src
   29.25 +compile_rules() {
   29.26 +	install -Dm755 $src/txt2tags $install/usr/bin/txt2tags
   29.27  }
   29.28  
   29.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.30 -genpkg_rules()
   29.31 -{
   29.32 -	mkdir -p $fs/usr/bin
   29.33 -	cp -a $src/txt2tags $fs/usr/bin
   29.34 +genpkg_rules() {
   29.35 +	copy @std
   29.36 +	DEPENDS="python"
   29.37  }
   29.38 -
    30.1 --- a/tyrian/receipt	Fri Mar 16 00:27:34 2018 +0200
    30.2 +++ b/tyrian/receipt	Fri Mar 16 06:03:21 2018 +0200
    30.3 @@ -1,32 +1,22 @@
    30.4 -# SliTaz package receipt.
    30.5 +# SliTaz package receipt v2.
    30.6  
    30.7  PACKAGE="tyrian"
    30.8  VERSION="21"
    30.9  CATEGORY="non-free"
   30.10 -SHORT_DESC="Tyrian is a the DOS shoot-em-up;you need open-tyrian to run it."
   30.11 +SHORT_DESC="Tyrian is a the DOS shoot-em-up; you need open-tyrian to run it"
   30.12  MAINTAINER="mallory@sweetpeople.org"
   30.13 -BUILD_DEPENDS="wget"
   30.14 +LICENSE="other"
   30.15 +WEB_SITE="http://code.google.com/p/opentyrian/"
   30.16 +
   30.17  TARBALL="$PACKAGE$VERSION.zip"
   30.18 -WEB_SITE="http://code.google.com/p/opentyrian/"
   30.19  WGET_URL="https://sites.google.com/a/camanis.net/opentyrian/tyrian/$TARBALL"
   30.20  
   30.21 -LICENSE="other"
   30.22 -
   30.23 -# Rules to configure and make the package.
   30.24 -compile_rules()
   30.25 -{
   30.26 -	:
   30.27 +compile_rules() {
   30.28 +	mkdir -p  $install/usr/games/opentyrian/
   30.29 +	cp $src/* $install/usr/games/opentyrian/
   30.30 +	find $install -type f \( -name '*.exe' -o -name '*.doc' \) -delete
   30.31  }
   30.32  
   30.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   30.34 -genpkg_rules()
   30.35 -{
   30.36 -	mkdir -p $fs/usr/games/opentyrian
   30.37 -	cd $src
   30.38 -	for file in *; do
   30.39 -		[ "$file" = "${file%.exe}" ] || continue
   30.40 -		[ "$file" = "${file%.doc}" ] || continue
   30.41 -		cp $file $fs/usr/games/opentyrian
   30.42 -	done
   30.43 +genpkg_rules() {
   30.44 +	copy @std
   30.45  }
   30.46 -
    31.1 --- a/unhide/receipt	Fri Mar 16 00:27:34 2018 +0200
    31.2 +++ b/unhide/receipt	Fri Mar 16 06:03:21 2018 +0200
    31.3 @@ -1,32 +1,26 @@
    31.4 -# SliTaz package receipt.
    31.5 +# SliTaz package receipt v2.
    31.6  
    31.7  PACKAGE="unhide"
    31.8  VERSION="20121229"
    31.9  CATEGORY="security"
   31.10 -SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports."
   31.11 +SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports"
   31.12  MAINTAINER="pascal.bellard@slitaz.org"
   31.13 -TARBALL="$PACKAGE-$VERSION.tgz"
   31.14  LICENSE="GPL3"
   31.15  WEB_SITE="http://www.unhide-forensics.info/?Linux"
   31.16 +
   31.17 +TARBALL="$PACKAGE-$VERSION.tgz"
   31.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   31.19  
   31.20 -DEPENDS=""
   31.21 -BUILD_DEPENDS=""
   31.22 -
   31.23 -# Rules to configure and make the package.
   31.24 -compile_rules()
   31.25 -{
   31.26 +compile_rules() {
   31.27  	CC="gcc -Wall -O2 --static"
   31.28  	$CC -pthread unhide-linux*.c unhide-output.c -o unhide
   31.29  	$CC unhide_rb.c -o unhide_rb
   31.30  	$CC unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
   31.31 +
   31.32 +	mkdir -p $install/usr/sbin/
   31.33 +	cp unhide unhide_rb unhide-tcp $install/usr/sbin/
   31.34  }
   31.35  
   31.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   31.37 -genpkg_rules()
   31.38 -{
   31.39 -	mkdir -p $fs/usr/sbin
   31.40 -	cp -a $src/unhide $fs/usr/sbin
   31.41 -	cp -a $src/unhide_rb $fs/usr/sbin
   31.42 -	cp -a $src/unhide-tcp $fs/usr/sbin
   31.43 +genpkg_rules() {
   31.44 +	copy @std
   31.45  }
    32.1 --- a/unison/receipt	Fri Mar 16 00:27:34 2018 +0200
    32.2 +++ b/unison/receipt	Fri Mar 16 06:03:21 2018 +0200
    32.3 @@ -1,26 +1,24 @@
    32.4 -# SliTaz package receipt.
    32.5 +# SliTaz package receipt v2.
    32.6  
    32.7  PACKAGE="unison"
    32.8  VERSION="2.48.3"
    32.9  CATEGORY="system-tools"
   32.10 -SHORT_DESC="File-synchronization tool."
   32.11 +SHORT_DESC="File-synchronization tool"
   32.12  MAINTAINER="pascal.bellard@slitaz.org"
   32.13  LICENSE="GPL3"
   32.14 +WEB_SITE="http://www.cis.upenn.edu/~bcpierce/unison"
   32.15 +
   32.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   32.17 -WEB_SITE="http://www.cis.upenn.edu/~bcpierce/unison"
   32.18  WGET_URL="http://www.seas.upenn.edu/~bcpierce/unison/download/releases/stable/$TARBALL"
   32.19 +
   32.20  BUILD_DEPENDS="ocaml emacs"
   32.21 -TAGS="sync"
   32.22  
   32.23 -# Rules to configure and make the package.
   32.24 -compile_rules()
   32.25 -{
   32.26 -	CFLAGS="" make UISTYLE=text unison
   32.27 +compile_rules() {
   32.28 +	CFLAGS="" make UISTYLE=text unison &&
   32.29 +	install -Dm755 $src/unison $install/usr/bin/unison
   32.30  }
   32.31  
   32.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.33 -genpkg_rules()
   32.34 -{
   32.35 -	mkdir -p $fs/usr/bin
   32.36 -	cp -a $src/unison $fs/usr/bin
   32.37 +genpkg_rules() {
   32.38 +	copy @std
   32.39 +	TAGS="sync"
   32.40  }
    33.1 --- a/vacation/receipt	Fri Mar 16 00:27:34 2018 +0200
    33.2 +++ b/vacation/receipt	Fri Mar 16 06:03:21 2018 +0200
    33.3 @@ -1,31 +1,25 @@
    33.4 -# SliTaz package receipt.
    33.5 +# SliTaz package receipt v2.
    33.6  
    33.7  PACKAGE="vacation"
    33.8  VERSION="1.2.7.0"
    33.9  CATEGORY="network"
   33.10 -SHORT_DESC="automatic mail-answering program."
   33.11 +SHORT_DESC="Automatic mail-answering program"
   33.12  MAINTAINER="pascal.bellard@slitaz.org"
   33.13  LICENSE="GPL2"
   33.14 +WEB_SITE="http://www.csamuel.org/software/vacation"
   33.15 +
   33.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   33.17 -WEB_SITE="http://www.csamuel.org/software/vacation"
   33.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   33.19 -TAGS="email"
   33.20  
   33.21 -DEPENDS="gdbm"
   33.22  BUILD_DEPENDS="gdbm-dev"
   33.23  
   33.24 -# Rules to configure and make the package.
   33.25 -compile_rules()
   33.26 -{
   33.27 -	cd $src
   33.28 -	sed -i 's/uname -m/echo i386/' Makefile
   33.29 -	make
   33.30 +compile_rules() {
   33.31 +	make &&
   33.32 +	install -Dm755 $src/vacation $install/usr/bin/vacation
   33.33  }
   33.34  
   33.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   33.36 -genpkg_rules()
   33.37 -{
   33.38 -	mkdir -p $fs/usr/bin
   33.39 -	cp $src/vacation $fs/usr/bin
   33.40 +genpkg_rules() {
   33.41 +	copy @std
   33.42 +	DEPENDS="gdbm"
   33.43 +	TAGS="email"
   33.44  }
   33.45 -
    34.1 --- a/vfu/receipt	Fri Mar 16 00:27:34 2018 +0200
    34.2 +++ b/vfu/receipt	Fri Mar 16 06:03:21 2018 +0200
    34.3 @@ -1,31 +1,33 @@
    34.4 -# SliTaz package receipt.
    34.5 +# SliTaz package receipt v2.
    34.6  
    34.7  PACKAGE="vfu"
    34.8  VERSION="4.12"
    34.9  CATEGORY="utilities"
   34.10 -SHORT_DESC="VFU is a console (text mode) file manager for UNIX/Linux."
   34.11 +SHORT_DESC="VFU is a console (text mode) file manager for UNIX/Linux"
   34.12  MAINTAINER="paul@slitaz.org"
   34.13  LICENSE="GPL2"
   34.14 +WEB_SITE="http://cade.datamax.bg/vfu/"
   34.15 +
   34.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   34.17 -WEB_SITE="http://cade.datamax.bg/vfu/"
   34.18  WGET_URL="http://cade.datamax.bg/vfu/$TARBALL"
   34.19  
   34.20 -DEPENDS="ncurses pcre"
   34.21  BUILD_DEPENDS="ncurses-dev pcre-dev"
   34.22  
   34.23 -# Rules to configure and make the package.
   34.24 -compile_rules()
   34.25 -{
   34.26 -	make
   34.27 +compile_rules() {
   34.28 +	make || return 1
   34.29 +
   34.30 +	mkdir -p \
   34.31 +		$install/usr/bin/ \
   34.32 +		$install/usr/lib/vfu/ \
   34.33 +		$install/etc/
   34.34 +	cp -a $src/vfu/vfu  $install/usr/bin/
   34.35 +	cp -a $src/rx/rx_*  $install/usr/lib/vfu/
   34.36 +	cp -a $src/vfu.conf $install/etc/
   34.37 +	chown -R root:root  $install
   34.38  }
   34.39  
   34.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.41 -genpkg_rules()
   34.42 -{
   34.43 -	mkdir -p $fs/usr/bin $fs/usr/lib/vfu $fs/etc
   34.44 -	cp -a $src/vfu/vfu $fs/usr/bin
   34.45 -	cp -a $src/rx/rx_* $fs/usr/lib/vfu
   34.46 -	cp -a $src/vfu.conf $fs/etc
   34.47 -	chown root:root $fs/etc/vfu.conf
   34.48 -	chown -R root:root $fs/usr/lib/vfu
   34.49 +genpkg_rules() {
   34.50 +	copy $std
   34.51 +	DEPENDS="ncurses pcre"
   34.52 +	CONFIG_FILES="/etc/vfu.conf"
   34.53  }
    35.1 --- a/vnc2flv/receipt	Fri Mar 16 00:27:34 2018 +0200
    35.2 +++ b/vnc2flv/receipt	Fri Mar 16 06:03:21 2018 +0200
    35.3 @@ -1,4 +1,4 @@
    35.4 -# SliTaz package receipt.
    35.5 +# SliTaz package receipt v2.
    35.6  
    35.7  PACKAGE="vnc2flv"
    35.8  VERSION="20100207"
    35.9 @@ -6,24 +6,21 @@
   35.10  SHORT_DESC="VNC recorder"
   35.11  MAINTAINER="pascal.bellard@slitaz.org"
   35.12  LICENSE="MIT"
   35.13 +WEB_SITE="http://www.unixuser.org/~euske/python/vnc2flv"
   35.14 +
   35.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   35.16 -WEB_SITE="http://www.unixuser.org/~euske/python/vnc2flv"
   35.17  WGET_URL="http://pypi.python.org/packages/source/v/vnc2flv/$TARBALL"
   35.18 -SUGGESTED="x11vnc"
   35.19 -TAGS="vnc"
   35.20  
   35.21 -DEPENDS="python"
   35.22 +compile_rules() {
   35.23 +	make || return 1
   35.24  
   35.25 -# Rules to configure and make the package.
   35.26 -compile_rules()
   35.27 -{
   35.28 -	cd $src
   35.29 -	make
   35.30 +	mkdir -p              $install/usr/share/$PACKAGE
   35.31 +	cp -r $src/$PACKAGE/* $install/usr/share/$PACKAGE
   35.32  }
   35.33  
   35.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.35 -genpkg_rules()
   35.36 -{
   35.37 -	mkdir -p $fs/usr/share/$PACKAGE
   35.38 -	cp -a $src/$PACKAGE/* $fs/usr/share/$PACKAGE
   35.39 +genpkg_rules() {
   35.40 +	copy @std
   35.41 +	DEPENDS="python"
   35.42 +	SUGGESTED="x11vnc"
   35.43 +	TAGS="vnc"
   35.44  }
    36.1 --- a/vsftpd/receipt	Fri Mar 16 00:27:34 2018 +0200
    36.2 +++ b/vsftpd/receipt	Fri Mar 16 06:03:21 2018 +0200
    36.3 @@ -1,4 +1,4 @@
    36.4 -# SliTaz package receipt.
    36.5 +# SliTaz package receipt v2.
    36.6  
    36.7  PACKAGE="vsftpd"
    36.8  VERSION="2.3.5"
    36.9 @@ -6,26 +6,19 @@
   36.10  SHORT_DESC="Secure FTP server"
   36.11  MAINTAINER="erjo@slitaz.org"
   36.12  LICENSE="GPL2"
   36.13 +WEB_SITE="http://vsftpd.beasts.org/"
   36.14 +
   36.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   36.16 -WEB_SITE="http://vsftpd.beasts.org/"
   36.17  WGET_URL="https://security.appspot.com/downloads/$TARBALL"
   36.18  
   36.19 -DEPENDS=""
   36.20 -BUILD_DEPENDS="wget"
   36.21 +compile_rules() {
   36.22 +	make || return 1
   36.23  
   36.24 -# Rules to configure and make the package.
   36.25 -compile_rules()
   36.26 -{
   36.27 -	cd $src
   36.28 -	make 
   36.29 -	#&& make DESTDIR=$DESTDIR install
   36.30 +	install -Dm755 $src/vsftpd      $install/usr/bin/vsftpd
   36.31 +	install -Dm644 $src/vsftpd.conf $install/etc/vsftpd.conf
   36.32  }
   36.33  
   36.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.35 -genpkg_rules()
   36.36 -{
   36.37 -	mkdir -p $fs/usr/bin $fs/etc
   36.38 -	cp -a $src/vsftpd $fs/usr/bin
   36.39 -	cp -a $src/vsftpd.conf $fs/etc
   36.40 +genpkg_rules() {
   36.41 +	copy @std
   36.42 +	CONFIG_FILES="/etc/vsftpd.conf"
   36.43  }
   36.44 -
    37.1 --- a/wbar/receipt	Fri Mar 16 00:27:34 2018 +0200
    37.2 +++ b/wbar/receipt	Fri Mar 16 06:03:21 2018 +0200
    37.3 @@ -1,83 +1,84 @@
    37.4 -# SliTaz package receipt.
    37.5 +# SliTaz package receipt v2.
    37.6  
    37.7  PACKAGE="wbar"
    37.8  VERSION="1.3.3"
    37.9  CATEGORY="system-tools"
   37.10 -SHORT_DESC="Quick launch bar."
   37.11 +SHORT_DESC="Quick launch bar"
   37.12  MAINTAINER="pascal.bellard@slitaz.org"
   37.13  LICENSE="GPL"
   37.14 +WEB_SITE="http://code.google.com/p/wbar/"
   37.15 +
   37.16  TARBALL="$PACKAGE-$VERSION.tbz2"
   37.17 -WEB_SITE="http://code.google.com/p/wbar/"
   37.18  WGET_URL="http://www.tecapli.com.ar/warlock/$TARBALL"
   37.19 -CONFIG_FILES="/etc/wbar/dot.wbar"
   37.20 -TAGS="desktop launchbar"
   37.21  
   37.22 -DEPENDS="imlib2 ttf-dejavu gcc-lib-base"
   37.23 -BUILD_DEPENDS="imlib2-dev"
   37.24 +BUILD_DEPENDS="imlib2-dev xorg-libX11-dev"
   37.25  
   37.26 -# Rules to configure and make the package.
   37.27 -compile_rules()
   37.28 -{
   37.29 +compile_rules() {
   37.30  	patch -p0 < $stuff/gcc43_fixes.diff || return 1
   37.31  	sed -i 's|^LDFLAGS.*|& -lX11|' Makefile
   37.32 -	make &&
   37.33 -	mkdir -p $DESTDIR/usr/share/wbar/iconpack $DESTDIR/usr/bin &&
   37.34 -	cp wbar $DESTDIR/usr/bin &&
   37.35 -	cp iconpack/wbar.osx/osxbarback.png $DESTDIR/usr/share/wbar/iconpack
   37.36 +	make || return 1
   37.37 +
   37.38 +	mkdir -p \
   37.39 +		$install/usr/share/wbar/iconpack/ \
   37.40 +		$install/usr/bin/ \
   37.41 +		$install/etc/wbar/
   37.42 +	cp wbar $install/usr/bin/
   37.43 +	cp iconpack/wbar.osx/osxbarback.png $install/usr/share/wbar/iconpack/
   37.44 +	ln -s         /etc/wbar/dot.wbar    $install/usr/share/wbar/dot.wbar
   37.45 +	touch $install/etc/wbar/dot.wbar
   37.46  }
   37.47  
   37.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
   37.49 -genpkg_rules()
   37.50 -{
   37.51 -	mkdir -p $fs/etc/wbar
   37.52 -	cp -a $install/usr $fs
   37.53 -	ln -s /etc/wbar/dot.wbar $fs/usr/share/wbar/dot.wbar
   37.54 -	touch $fs/etc/wbar/dot.wbar
   37.55 +genpkg_rules() {
   37.56 +	copy @std
   37.57 +	DEPENDS="imlib2 ttf-dejavu gcc-lib-base"
   37.58 +	CONFIG_FILES="/etc/wbar/dot.wbar"
   37.59 +	TAGS="desktop launchbar"
   37.60  }
   37.61  
   37.62 -# Post install/remove commands for Tazpkg.
   37.63 -post_install()
   37.64 -{
   37.65 +post_install() {
   37.66  	rm -f "$1/etc/dot.wbar"
   37.67  	[ -s "$1/etc/wbar/dot.wbar" ] || rm -f "$1/etc/wbar/dot.wbar"
   37.68 -	mv "$1/etc/wbar/dot.wbar" "$1/etc/wbar/dot.wbar.old" 2> /dev/null && cat <<EOT
   37.69 +
   37.70 +	mv "$1/etc/wbar/dot.wbar" "$1/etc/wbar/dot.wbar.old" 2>/dev/null &&
   37.71 +	cat <<EOT
   37.72  --------
   37.73  Your old wbar configuration is saved into /etc/wbar/dot.wbar.old
   37.74  --------
   37.75  EOT
   37.76 -	cat > "$1/etc/wbar/dot.wbar" << EOT
   37.77 +
   37.78 +	cat > "$1/etc/wbar/dot.wbar" <<EOT
   37.79  # The Bar && Font
   37.80  i: /usr/share/wbar/iconpack/osxbarback.png
   37.81  t: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans/12
   37.82  c:
   37.83  
   37.84  EOT
   37.85 +
   37.86  	while read icon exe text; do
   37.87  		[ -x $exe ] || continue
   37.88 -		cat >> "$1/etc/wbar/dot.wbar" << EOT
   37.89 +		cat >> "$1/etc/wbar/dot.wbar" <<EOT
   37.90  i: $icon
   37.91  c: $exe
   37.92  t: $text
   37.93  
   37.94  EOT
   37.95 -	done << EOT
   37.96 -/usr/share/pixmaps/firefox.png /usr/bin/firefox firefox
   37.97 -/usr/share/pixmaps/pidgin.png /usr/bin/pidgin pidgin
   37.98 -/usr/share/pixmaps/gimp.png /usr/bin/gimp gimp
   37.99 +	done <<EOT
  37.100 +/usr/share/pixmaps/firefox.png    /usr/bin/firefox    firefox
  37.101 +/usr/share/pixmaps/pidgin.png     /usr/bin/pidgin     pidgin
  37.102 +/usr/share/pixmaps/gimp.png       /usr/bin/gimp       gimp
  37.103  /usr/share/pixmaps/alsaplayer.png /usr/bin/alsaplayer alsaplayer
  37.104 -/usr/share/pixmaps/xterm.png /usr/bin/xterm xterm
  37.105 -/usr/share/pixmaps/leafpad.png /usr/bin/leafpad leafpad
  37.106 +/usr/share/pixmaps/xterm.png      /usr/bin/xterm      xterm
  37.107 +/usr/share/pixmaps/leafpad.png    /usr/bin/leafpad    leafpad
  37.108  EOT
  37.109 +
  37.110  	grep -q 'wbar' "$1/etc/xdg/openbox/autostart.sh" ||
  37.111 -	cat >> "$1/etc/xdg/openbox/autostart.sh" << EOT
  37.112 +	cat >> "$1/etc/xdg/openbox/autostart.sh" <<EOT
  37.113  
  37.114  # Wbar icons panel.
  37.115  (sleep 2 && wbar -above-desk -pos top center -jumpf 0 -zoomf 1.5 -bpress -balfa 0) &
  37.116  EOT
  37.117  }
  37.118  
  37.119 -post_remove()
  37.120 -{
  37.121 -	sed -i '/Wbar/ d' "$1/etc/xdg/openbox/autostart.sh"
  37.122 -	sed -i '/wbar/ d' "$1/etc/xdg/openbox/autostart.sh"
  37.123 +post_remove() {
  37.124 +	sed -i '/Wbar/d; /wbar/d' "$1/etc/xdg/openbox/autostart.sh"
  37.125  }
    38.1 --- a/wbar2/receipt	Fri Mar 16 00:27:34 2018 +0200
    38.2 +++ b/wbar2/receipt	Fri Mar 16 06:03:21 2018 +0200
    38.3 @@ -1,48 +1,43 @@
    38.4 -# SliTaz package receipt.
    38.5 +# SliTaz package receipt v2.
    38.6  
    38.7  PACKAGE="wbar2"
    38.8  VERSION="2.3.4"
    38.9  CATEGORY="system-tools"
   38.10 -SHORT_DESC="Quick launch bar."
   38.11 +SHORT_DESC="Quick launch bar"
   38.12  MAINTAINER="pankso@slitaz.org"
   38.13  LICENSE="GPL3"
   38.14 -SOURCE="wbar"
   38.15 -TARBALL="$SOURCE-$VERSION.tgz"
   38.16  WEB_SITE="http://code.google.com/p/wbar/"
   38.17 +
   38.18 +TARBALL="wbar-$VERSION.tgz"
   38.19  WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
   38.20 -CONFIG_FILES="/etc/default/wbar/wbar.cfg"
   38.21 -TAGS="desktop launchbar"
   38.22  
   38.23 -DEPENDS="ttf-dejavu imlib2 gtk+ libglade"
   38.24 -BUILD_DEPENDS="imlib2-dev gtk+-dev libglade-dev"
   38.25 +BUILD_DEPENDS_arm="imlib2-dev gtk+-dev libglade-dev xorg-libX11-dev"
   38.26 +BUILD_DEPENDS="imlib2-dev gtk+-dev libglade-dev xorg-libX11-dev intltool file"
   38.27  
   38.28 -# Handle cross compilation
   38.29 -case "$ARCH" in
   38.30 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool file" ;;
   38.31 -	arm*) ARCH_ARGS="--disable-wbar-config" ;;
   38.32 -esac
   38.33 +compile_rules() {
   38.34 +	case "$ARCH" in
   38.35 +		arm*) ARCH_ARGS="--disable-wbar-config";;
   38.36 +	esac
   38.37  
   38.38 -# Rules to configure and make the package.
   38.39 -compile_rules()
   38.40 -{
   38.41 -	./configure CXXFLAGS="-Wno-error=literal-suffix" \
   38.42 +	./configure \
   38.43 +		CXXFLAGS="-Wno-error=literal-suffix" \
   38.44  		--exec-prefix=/usr \
   38.45  		--sysconfdir=/etc \
   38.46  		$CONFIGURE_ARGS &&
   38.47 -	make && make install
   38.48 +	make && make install || return 1
   38.49 +
   38.50 +	mkdir -p $install/usr/share/applications/
   38.51 +	mv $install/etc/wbar.d/wbar.desktop $install/usr/share/applications/
   38.52 +
   38.53 +	case "$ARCH" in
   38.54 +		arm*) cp $stuff/wbar-arm.cfg $install/etc/wbar.d/wbar.cfg;;
   38.55 +		*)    cp $stuff/wbar.cfg     $install/etc/wbar.d/wbar.cfg;;
   38.56 +	esac
   38.57  }
   38.58  
   38.59 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.60 -genpkg_rules()
   38.61 -{
   38.62 -	mkdir -p $fs/usr/share $fs/usr/share/applications
   38.63 -	cp -a $install/usr/bin $fs/usr
   38.64 -	cp -a $install/etc $fs
   38.65 -	cp -a $install/usr/share/pixmaps $fs/usr/share
   38.66 -	cp -a $install/usr/share/wbar $fs/usr/share
   38.67 -	mv $fs/etc/wbar.d/wbar.desktop $fs/usr/share/applications
   38.68 -	case "$ARCH" in
   38.69 -		i?86) cp -a $stuff/wbar.cfg $fs/etc/wbar.d ;;
   38.70 -		arm*) cp -a $stuff/wbar-arm.cfg $fs/etc/wbar.d/wbar.cfg ;;
   38.71 -	esac
   38.72 +genpkg_rules() {
   38.73 +	copy @std
   38.74 +	DEPENDS="ttf-dejavu imlib2 gtk+ libglade"
   38.75 +	CONFIG_FILES="/etc/default/wbar/wbar.cfg"
   38.76 +	TAGS="desktop launchbar"
   38.77  }
    39.1 --- a/wepbuster/receipt	Fri Mar 16 00:27:34 2018 +0200
    39.2 +++ b/wepbuster/receipt	Fri Mar 16 06:03: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="wepbuster"
    39.8  VERSION="1.0_beta-0.7"
    39.9 @@ -7,22 +7,17 @@
   39.10  MAINTAINER="pascal.bellard@slitaz.org"
   39.11  LICENSE="BSD"
   39.12  WEB_SITE="http://code.google.com/p/wepbuster/"
   39.13 +
   39.14  TARBALL="$PACKAGE-$VERSION.tgz"
   39.15  WGET_URL="http://wepbuster.googlecode.com/files/$TARBALL"
   39.16  
   39.17 -DEPENDS="perl-number-range perl-expect perl-algorithm-permute perl-file-slurp \
   39.18 -perl-getopt-long perl-term-readkey macchanger aircrack-ng dhcp-client \
   39.19 -wireless_tools"
   39.20 -
   39.21 -# Rules to configure and make the package.
   39.22 -compile_rules()
   39.23 -{
   39.24 -	cd $src
   39.25 +compile_rules() {
   39.26 +	install -Dm755 $src/wepbuster $install/usr/bin/wepbuster
   39.27  }
   39.28  
   39.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.30 -genpkg_rules()
   39.31 -{
   39.32 -	mkdir -p $fs/usr/bin
   39.33 -	cp -a $src/wepbuster $fs/usr/bin
   39.34 +genpkg_rules() {
   39.35 +	copy @std
   39.36 +	DEPENDS="perl-number-range perl-expect perl-algorithm-permute \
   39.37 +	perl-file-slurp perl-getopt-long perl-term-readkey macchanger aircrack-ng \
   39.38 +	dhcp-client wireless_tools"
   39.39  }
    40.1 --- a/wikiss/receipt	Fri Mar 16 00:27:34 2018 +0200
    40.2 +++ b/wikiss/receipt	Fri Mar 16 06:03:21 2018 +0200
    40.3 @@ -1,33 +1,31 @@
    40.4 -# SliTaz package receipt.
    40.5 +# SliTaz package receipt v2.
    40.6  
    40.7  PACKAGE="wikiss"
    40.8  VERSION="0.3"
    40.9  CATEGORY="office"
   40.10 -SHORT_DESC="Tiny Wiki Engine in french."
   40.11 +SHORT_DESC="Tiny Wiki Engine in French"
   40.12  MAINTAINER="pascal.bellard@slitaz.org"
   40.13  LICENSE="GPL2"
   40.14 +WEB_SITE="http://wikiss.tuxfamily.org/"
   40.15 +
   40.16  TARBALL="$PACKAGE-$VERSION.tgz"
   40.17 -WEB_SITE="http://wikiss.tuxfamily.org/"
   40.18  WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$VERSION.tgz"
   40.19 -CONFIG_FILES="/var/www/wikiss/_config.php"
   40.20  
   40.21 -DEPENDS="lighttpd php"
   40.22 -
   40.23 -# Rules to configure and make the package.
   40.24 -compile_rules()
   40.25 -{
   40.26 -	mv $PACKAGE $src 2> /dev/null
   40.27 +compile_rules() {
   40.28 +	mv $PACKAGE $src 2>/dev/null
   40.29  	cd $src
   40.30  	sed -i -e 's/strpos(\$CONTENT/true || &/' \
   40.31  	       -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\&euro;", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\&yen;", $CONTENT); // (y)\n&|' index.php
   40.32 +
   40.33 +	mkdir -p          $install/var/www
   40.34 +	cp    -a $src     $install/var/www/wikiss
   40.35 +	rm    -f          $install/var/www/wikiss/historique/*/*.bak
   40.36 +	cp    -a $stuff/* $install/var/www/wikiss/
   40.37 +	chown -R www.www  $install/var/www/wikiss
   40.38  }
   40.39  
   40.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.41 -genpkg_rules()
   40.42 -{
   40.43 -	mkdir -p $fs/var/www
   40.44 -	cp -a $src $fs/var/www/wikiss
   40.45 -	rm -f $fs/var/www/wikiss/historique/*/*.bak
   40.46 -	cp -a $stuff/* $fs/var/www/wikiss/
   40.47 -	chown -R www.www $fs/var/www/wikiss
   40.48 +genpkg_rules() {
   40.49 +	copy @std
   40.50 +	DEPENDS="lighttpd php"
   40.51 +	CONFIG_FILES="/var/www/wikiss/_config.php"
   40.52  }
    41.1 --- a/x11vnc/receipt	Fri Mar 16 00:27:34 2018 +0200
    41.2 +++ b/x11vnc/receipt	Fri Mar 16 06:03:21 2018 +0200
    41.3 @@ -19,25 +19,23 @@
    41.4  		--prefix=/usr \
    41.5  		$CONFIGURE_ARGS &&
    41.6  	make &&
    41.7 -	make -j1 DESTDIR=$DESTDIR install &&
    41.8 -	echo rm -rf $DESTDIR/usr/share/applications
    41.9 +	make -j1 DESTDIR=$DESTDIR install || return 1
   41.10 +
   41.11 +	# rm -rf $DESTDIR/usr/share/applications
   41.12 +	install -Dm755 $stuff/x11vnc $install/etc/init.d/x11vnc
   41.13  }
   41.14  
   41.15  genpkg_rules() {
   41.16  	case $PACKAGE in
   41.17  		x11vnc)
   41.18 -			mkdir -p $fs/usr/bin $fs/etc/init.d
   41.19 -			cp -a $install/usr/bin/x11vnc $fs/usr/bin
   41.20 -			cp -a $stuff/x11vnc $fs/etc/init.d
   41.21 +			copy x11vnc
   41.22  			DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib"
   41.23  			TAGS="vnc server"
   41.24  			;;
   41.25 -		*-dev)
   41.26 -			mkdir -p $fs/usr/share
   41.27 -			cp -a $install/usr/share/x11vnc $fs/usr/share
   41.28 +		x11vnc-extra)
   41.29 +			copy x11vnc/
   41.30  			CAT="network|java VNC viewer"
   41.31  			TAGS="vnc"
   41.32 -			DEPENDS="x11vnc"
   41.33  			;;
   41.34  	esac
   41.35  }
    42.1 --- a/xgalaga++/receipt	Fri Mar 16 00:27:34 2018 +0200
    42.2 +++ b/xgalaga++/receipt	Fri Mar 16 06:03:21 2018 +0200
    42.3 @@ -1,28 +1,24 @@
    42.4 -# SliTaz package receipt.
    42.5 +# SliTaz package receipt v2.
    42.6  
    42.7  PACKAGE="xgalaga++"
    42.8  VERSION="0.8.4"
    42.9  CATEGORY="games"
   42.10 -SHORT_DESC="A clone of the classic game Galaga for the X Window System."
   42.11 +SHORT_DESC="A clone of the classic game Galaga for the X Window System"
   42.12  MAINTAINER="pascal.bellard@slitaz.org"
   42.13  LICENSE="GPL2"
   42.14 +WEB_SITE="http://marc.mongenet.ch/OSS/XGalaga"
   42.15 +
   42.16  TARBALL="${PACKAGE}_$VERSION.tar.gz"
   42.17 -WEB_SITE="http://marc.mongenet.ch/OSS/XGalaga"
   42.18  WGET_URL="$WEB_SITE/$TARBALL"
   42.19  
   42.20 -DEPENDS="xorg-libX11 xorg-libXpm xorg-libxcb xorg-libXau xorg-libXdmcp"
   42.21  BUILD_DEPENDS="xorg-dev"
   42.22  
   42.23 -# Rules to configure and make the package.
   42.24 -compile_rules()
   42.25 -{
   42.26 -	make xgalaga++
   42.27 +compile_rules() {
   42.28 +	make xgalaga++ &&
   42.29 +	install -Dm755 $src/xgalaga++ $install/usr/bin/xgalaga++
   42.30  }
   42.31  
   42.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.33 -genpkg_rules()
   42.34 -{
   42.35 -	mkdir -p $fs/usr/bin
   42.36 -	cp -a $src/xgalaga++ $fs/usr/bin
   42.37 +genpkg_rules() {
   42.38 +	copy @std
   42.39 +	DEPENDS="xorg-libX11 xorg-libXpm xorg-libxcb xorg-libXau xorg-libXdmcp"
   42.40  }
   42.41 -
    43.1 --- a/xpenguins_themes/receipt	Fri Mar 16 00:27:34 2018 +0200
    43.2 +++ b/xpenguins_themes/receipt	Fri Mar 16 06:03: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="xpenguins_themes"
    43.8  VERSION="1.0"
    43.9 @@ -7,21 +7,16 @@
   43.10  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
   43.11  LICENSE="unclear"
   43.12  WEB_SITE="http://xpenguins.seul.org"
   43.13 +
   43.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   43.15  WGET_URL="$WEB_SITE/$TARBALL"
   43.16  
   43.17 -DEPENDS="xpenguins"
   43.18 -BUILD_DEPENDS=""
   43.19 -
   43.20 -# Rules to configure and make the package.
   43.21 -compile_rules()
   43.22 -{
   43.23 -	true
   43.24 +compile_rules() {
   43.25 +	mkdir -p     $install/usr/share/xpenguins/themes/
   43.26 +	cp -r $src/* $install/usr/share/xpenguins/themes/
   43.27  }
   43.28  
   43.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.30 -genpkg_rules()
   43.31 -{
   43.32 -	mkdir -p $fs/usr/share/xpenguins/themes
   43.33 -	cp -a $src/* $fs/usr/share/xpenguins/themes
   43.34 +genpkg_rules() {
   43.35 +	copy @std
   43.36 +	DEPENDS="xpenguins"
   43.37  }
    44.1 --- a/xstroke/receipt	Fri Mar 16 00:27:34 2018 +0200
    44.2 +++ b/xstroke/receipt	Fri Mar 16 06:03:21 2018 +0200
    44.3 @@ -1,37 +1,35 @@
    44.4 -# SliTaz package receipt.
    44.5 +# SliTaz package receipt v2.
    44.6  
    44.7  PACKAGE="xstroke"
    44.8  VERSION="0.6"
    44.9  CATEGORY="x-window"
   44.10 -SHORT_DESC="Full-screen gesture recognition program for X."
   44.11 +SHORT_DESC="Full-screen gesture recognition program for X"
   44.12  MAINTAINER="pankso@slitaz.org"
   44.13  LICENSE="GPL2"
   44.14 +WEB_SITE="http://cworth.org/~cworth/papers/xstroke/"
   44.15 +
   44.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   44.17 -WEB_SITE="http://cworth.org/~cworth/papers/xstroke/"
   44.18  WGET_URL="http://davesource.com/Projects/xstroke/xstroke.tar.gz"
   44.19  
   44.20 -DEPENDS="xorg-libX11"
   44.21  BUILD_DEPENDS="xorg-libX11-dev"
   44.22  
   44.23 -# Rules to configure and make the package.
   44.24 -compile_rules()
   44.25 -{
   44.26 +compile_rules() {
   44.27  	case "$ARCH" in
   44.28 -		i?86) sysroot="" ;;
   44.29 -		arm*) sysroot="/cross/$ARCH/sysroot" ;;
   44.30 +		arm*) sysroot="/cross/$ARCH/sysroot";;
   44.31 +		*)    sysroot="";;
   44.32  	esac
   44.33  	sed -i \
   44.34 -		-e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \
   44.35 -		-e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \
   44.36 -		-e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile &&
   44.37 -	make xstroke
   44.38 +		-e s"#^CC.*#CC = $HOST_SYSTEM-gcc#" \
   44.39 +		-e s"#^INCLUDE.*#INCLUDE = -I$sysroot/usr/include#" \
   44.40 +		-e s"#^LDFLAGS.*#LDFLAGS = -L$sysroot/usr/lib#" Makefile
   44.41 +
   44.42 +	make xstroke || return 1
   44.43 +
   44.44 +	install -Dm755 $src/xstroke $install/usr/bin/xstroke
   44.45 +	cook_pick_docs $src/xstroke.man
   44.46  }
   44.47  
   44.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.49 -genpkg_rules()
   44.50 -{
   44.51 -	mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE}
   44.52 -	cp -a ${src}/${PACKAGE} $fs/usr/bin
   44.53 -	cp -a ${src}/${PACKAGE}.man \
   44.54 -		$fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt
   44.55 +genpkg_rules() {
   44.56 +	copy @std
   44.57 +	DEPENDS="xorg-libX11"
   44.58  }
    45.1 --- a/xtron/receipt	Fri Mar 16 00:27:34 2018 +0200
    45.2 +++ b/xtron/receipt	Fri Mar 16 06:03:21 2018 +0200
    45.3 @@ -1,43 +1,36 @@
    45.4 -# SliTaz package receipt.
    45.5 +# SliTaz package receipt v2.
    45.6  
    45.7  PACKAGE="xtron"
    45.8  VERSION="1.1a"
    45.9  CATEGORY="games"
   45.10 -SHORT_DESC="Simple X game based on light-cycle race from the movie TRON."
   45.11 +SHORT_DESC="Simple X game based on light-cycle race from the movie TRON"
   45.12  MAINTAINER="pascal.bellard@slitaz.org"
   45.13  LICENSE="GPL"
   45.14 +WEB_SITE="http://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
   45.15 +
   45.16  TARBALL="$PACKAGE-$VERSION.tgz"
   45.17 -WEB_SITE="ftp://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
   45.18 -WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
   45.19 +WGET_URL="http://ibiblio.org/pub/Linux/games/arcade/$TARBALL"
   45.20  
   45.21 -DEPENDS="xorg-libXpm xorg-libXau xorg-libxcb"
   45.22  BUILD_DEPENDS="xorg-dev"
   45.23  
   45.24 -# Rules to configure and make the package.
   45.25 -compile_rules()
   45.26 -{
   45.27 +compile_rules() {
   45.28  	sed -i 's|/usr/X386|/usr|' Makefile
   45.29  	sed -i 's|./pixmaps/|/usr/share/games/xtron/|' xtronrc
   45.30  	sed -i 's|usr/X11/lib|etc|' resource.c xtronrc
   45.31 -	make
   45.32 +
   45.33 +	make || return 1
   45.34 +
   45.35 +	mkdir -p \
   45.36 +		$install/usr/games \
   45.37 +		$install/usr/share/games \
   45.38 +		$install/etc/X11/app-defaults \
   45.39 +		$install/usr/share/applications
   45.40 +	cp -a $src/xtron   $install/usr/games/
   45.41 +	cp -a $src/pixmaps $install/usr/share/games/xtron
   45.42 +	cp -a $src/xtronrc $install/etc/X11/app-defaults/
   45.43  }
   45.44  
   45.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.46 -genpkg_rules()
   45.47 -{
   45.48 -	mkdir -p $fs/usr/games $fs/usr/share/games $fs/etc/X11/app-defaults
   45.49 -	mkdir -p $fs/usr/share/applications
   45.50 -	cp -a $src/xtron $fs/usr/games
   45.51 -	cp -a $src/pixmaps $fs/usr/share/games/xtron
   45.52 -	cp -a $src/xtronrc $fs/etc/X11/app-defaults/
   45.53 -	cat > $fs/usr/share/applications/xtron.desktop <<EOT
   45.54 -[Desktop Entry]
   45.55 -Type=Application
   45.56 -Encoding=UTF-8
   45.57 -Name=xtron
   45.58 -Exec=xtron
   45.59 -Icon=/usr/share/games/xtron/Xtron_icon.xpm
   45.60 -Terminal=false
   45.61 -Categories=Application;Game;
   45.62 -EOT
   45.63 +genpkg_rules() {
   45.64 +	copy @std
   45.65 +	DEPENDS="xorg-libXpm xorg-libXau xorg-libxcb"
   45.66  }
    46.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.2 +++ b/xtron/stuff/xtron.desktop	Fri Mar 16 06:03:21 2018 +0200
    46.3 @@ -0,0 +1,8 @@
    46.4 +[Desktop Entry]
    46.5 +Type=Application
    46.6 +Encoding=UTF-8
    46.7 +Name=xtron
    46.8 +Exec=xtron
    46.9 +Icon=/usr/share/games/xtron/Xtron_icon.xpm
   46.10 +Terminal=false
   46.11 +Categories=Application;Game;
    47.1 --- a/xv/receipt	Fri Mar 16 00:27:34 2018 +0200
    47.2 +++ b/xv/receipt	Fri Mar 16 06:03:21 2018 +0200
    47.3 @@ -1,27 +1,24 @@
    47.4 -# SliTaz package receipt.
    47.5 +# SliTaz package receipt v2.
    47.6  
    47.7  PACKAGE="xv"
    47.8  VERSION="3.10a"
    47.9  CATEGORY="non-free"
   47.10 -SHORT_DESC="Interactive image manipulation program for the X Window System."
   47.11 +SHORT_DESC="Interactive image manipulation program for the X Window System"
   47.12  MAINTAINER="pascal.bellard@slitaz.org"
   47.13  LICENSE="other"
   47.14 +WEB_SITE="http://www.trilon.com/xv/xv.html"
   47.15 +
   47.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   47.17 -WEB_SITE="http://www.trilon.com/xv/xv.html"
   47.18  WGET_URL="ftp://ftp.trilon.com/pub/$PACKAGE/$TARBALL"
   47.19  PATCH1="$SF_MIRROR/png-mng/xv-3.10a-jumbo-patches-20070520.tar.gz"
   47.20  PATCH2="http://sonic.net/~roelofs/code/xv-3.10a-enhancements.20070520-20081216.diff"
   47.21  EXTRA_SOURCE_FILES="$PATCH1 $PATCH2"
   47.22  
   47.23 -DEPENDS="xorg"
   47.24  BUILD_DEPENDS="xorg-dev"
   47.25  
   47.26 -# Rules to configure and make the package.
   47.27 -compile_rules()
   47.28 -{
   47.29 +compile_rules() {
   47.30  	for i in $PATCH1 $PATCH2 ; do
   47.31 -		[ -s $SOURCES_REPOSITORY/$(basename $i) ] || 
   47.32 -		wget -P $SOURCES_REPOSITORY $i
   47.33 +		[ -s $SRC/$(basename $i) ] || wget -P $SRC $i
   47.34  	done
   47.35  	cd .. ; tar xzf $SOURCES_REPOSITORY/$(basename $PATCH1) ; cd $src
   47.36  	#patch -p0 < $SOURCES_REPOSITORY/$(basename $PATCH2)
   47.37 @@ -36,26 +33,17 @@
   47.38  	sed -i 's|.*extern.*sys_errlist.*|//&|;s|sys_errlist.x.|strerror(x)|' xv.h
   47.39  	sed -i -e 's|undef USE_GUNZIP|define USE_GUNZIP\n#define USE_GETCWD|' \
   47.40  		-e 's|/usr/local/bin/gunzip -q|/bin/gunzip|' config.h
   47.41 +
   47.42  	make jpeg/libjpeg.a &&
   47.43  	make tiff/libtiff.a &&
   47.44 -	make
   47.45 +	make || return 1
   47.46 +
   47.47 +	mkdir -p $fs/usr/bin
   47.48 +	cp xv bggen vdcomp xcmap xvpictoppm $install/usr/bin/
   47.49 +	cook_pick_docs README
   47.50  }
   47.51  
   47.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.53 -genpkg_rules()
   47.54 -{
   47.55 -	mkdir -p $fs/usr/bin $fs/usr/share/doc/slitaz $fs/usr/share/applications
   47.56 -	cp $src/xv $src/bggen $src/vdcomp $src/xcmap $src/xvpictoppm $fs/usr/bin
   47.57 -	cp $src/README $fs/usr/share/doc/slitaz/README.xv
   47.58 -	cat > $fs/usr/share/applications/xv.desktop <<EOT
   47.59 -[Desktop Entry]
   47.60 -Encoding=UTF-8
   47.61 -Categories=Application;Graphics;Utility
   47.62 -Exec=xv %f
   47.63 -Icon=image
   47.64 -StartupNotify=true
   47.65 -Type=Application
   47.66 -Terminal=false
   47.67 -Name=Image manipulation
   47.68 -EOT
   47.69 +genpkg_rules() {
   47.70 +	copy @std
   47.71 +	DEPENDS="xorg"
   47.72  }
    48.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.2 +++ b/xv/stuff/xv.desktop	Fri Mar 16 06:03:21 2018 +0200
    48.3 @@ -0,0 +1,9 @@
    48.4 +[Desktop Entry]
    48.5 +Encoding=UTF-8
    48.6 +Categories=Application;Graphics;Utility
    48.7 +Exec=xv %f
    48.8 +Icon=image
    48.9 +StartupNotify=true
   48.10 +Type=Application
   48.11 +Terminal=false
   48.12 +Name=Image manipulation
    49.1 --- a/yacpi/receipt	Fri Mar 16 00:27:34 2018 +0200
    49.2 +++ b/yacpi/receipt	Fri Mar 16 06:03:21 2018 +0200
    49.3 @@ -1,27 +1,24 @@
    49.4 -# SliTaz package receipt.
    49.5 +# SliTaz package receipt v2.
    49.6  
    49.7  PACKAGE="yacpi"
    49.8  VERSION="3.0.1"
    49.9  CATEGORY="utilities"
   49.10 -SHORT_DESC="Yet Another Configuration and Power Interface."
   49.11 +SHORT_DESC="Yet Another Configuration and Power Interface"
   49.12  MAINTAINER="paul@slitaz.org"
   49.13  LICENSE="GPL2"
   49.14 +WEB_SITE="http://www.ngolde.de/yacpi.html"
   49.15 +
   49.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   49.17 -WEB_SITE="http://www.ngolde.de/yacpi.html"
   49.18  WGET_URL="http://www.ngolde.de/download/$TARBALL"
   49.19  
   49.20 -DEPENDS="ncurses libacpi"
   49.21  BUILD_DEPENDS="ncurses-dev libacpi-dev"
   49.22  
   49.23 -# Rules to configure and make the package.
   49.24 -compile_rules()
   49.25 -{
   49.26 -	make 
   49.27 +compile_rules() {
   49.28 +	make &&
   49.29 +	install -Dm755 $src/yacpi $install/usr/bin/yacpi
   49.30  }
   49.31  
   49.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.33 -genpkg_rules()
   49.34 -{
   49.35 -	mkdir -p $fs/usr/bin
   49.36 -	cp -a $src/$PACKAGE $fs/usr/bin
   49.37 +genpkg_rules() {
   49.38 +	copy @std
   49.39 +	DEPENDS="ncurses libacpi"
   49.40  }
    50.1 --- a/yeahconsole/receipt	Fri Mar 16 00:27:34 2018 +0200
    50.2 +++ b/yeahconsole/receipt	Fri Mar 16 06:03:21 2018 +0200
    50.3 @@ -1,28 +1,25 @@
    50.4 -# SliTaz package receipt.
    50.5 +# SliTaz package receipt v2.
    50.6  
    50.7  PACKAGE="yeahconsole"
    50.8  VERSION="0.3.4"
    50.9  CATEGORY="utilities"
   50.10 -SHORT_DESC="Quake-like drop down terminal."
   50.11 +SHORT_DESC="Quake-like drop down terminal"
   50.12  MAINTAINER="paul@slitaz.org"
   50.13  LICENSE="GPL2"
   50.14 +WEB_SITE="http://phrat.de/yeahtools.html"
   50.15 +
   50.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   50.17 -WEB_SITE="http://phrat.de/yeahtools.html"
   50.18  WGET_URL="http://phrat.de/$TARBALL"
   50.19 -TAGS="terminal"
   50.20  
   50.21 -DEPENDS="xterm"
   50.22  BUILD_DEPENDS="xorg-libX11-dev xorg-xproto"
   50.23  
   50.24 -# Rules to configure and make the package.
   50.25 -compile_rules()
   50.26 -{
   50.27 -	make
   50.28 +compile_rules() {
   50.29 +	make &&
   50.30 +	install -Dm755 $src/yeahconsole $install/usr/bin/yeahconsole
   50.31  }
   50.32  
   50.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   50.34 -genpkg_rules()
   50.35 -{
   50.36 -	mkdir -p $fs/usr/bin
   50.37 -	cp $src/yeahconsole $fs/usr/bin
   50.38 +genpkg_rules() {
   50.39 +	copy @std
   50.40 +	DEPENDS="xterm"
   50.41 +	TAGS="terminal"
   50.42  }
    51.1 --- a/youtube-dl/receipt	Fri Mar 16 00:27:34 2018 +0200
    51.2 +++ b/youtube-dl/receipt	Fri Mar 16 06:03:21 2018 +0200
    51.3 @@ -1,28 +1,26 @@
    51.4 -# SliTaz package receipt.
    51.5 +# SliTaz package receipt v2.
    51.6  
    51.7  PACKAGE="youtube-dl"
    51.8 -VERSION="2015.08.28"
    51.9 +VERSION="2018.03.14"
   51.10  CATEGORY="utilities"
   51.11 -SHORT_DESC="Downloads videos from various streaming websites."
   51.12 +SHORT_DESC="Downloads videos from various streaming websites"
   51.13  MAINTAINER="gokhlayeh@slitaz.org"
   51.14  LICENSE="MIT"
   51.15 -TARBALL="$PACKAGE"
   51.16 -WEB_SITE="http://rg3.github.com/youtube-dl/"
   51.17 -WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
   51.18 +WEB_SITE="http://rg3.github.io/youtube-dl/"
   51.19  
   51.20 -DEPENDS="python"
   51.21 -BUILD_DEPENDS="wget python"
   51.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   51.23 +WGET_URL="https://yt-dl.org/downloads/$VERSION/$TARBALL"
   51.24  
   51.25 -compile_rules()
   51.26 -{
   51.27 +BUILD_DEPENDS="python"
   51.28 +
   51.29 +compile_rules() {
   51.30  	chmod +x $src/youtube-dl
   51.31  	echo | $src/youtube-dl
   51.32 +
   51.33 +	install -Dm755 $src/youtube-dl $install/usr/bin/youtube-dl
   51.34  }
   51.35  
   51.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   51.37 -genpkg_rules()
   51.38 -{
   51.39 -	mkdir -p $fs/usr/bin
   51.40 -	cp -a $src/youtube-dl $fs/usr/bin
   51.41 -	chmod +x $fs/usr/bin/$PACKAGE
   51.42 +genpkg_rules() {
   51.43 +	copy @std
   51.44 +	DEPENDS="python"
   51.45  }
    52.1 --- a/zerobin/receipt	Fri Mar 16 00:27:34 2018 +0200
    52.2 +++ b/zerobin/receipt	Fri Mar 16 06:03:21 2018 +0200
    52.3 @@ -1,4 +1,4 @@
    52.4 -# SliTaz package receipt.
    52.5 +# SliTaz package receipt v2.
    52.6  
    52.7  PACKAGE="zerobin"
    52.8  GITHASH="8cae64d6eab99fb0d31868df77846285c0958ed0" # 6 feb 2014
    52.9 @@ -7,38 +7,35 @@
   52.10  SHORT_DESC="Online pastebin where the server has zero knowledge of pasted data."
   52.11  MAINTAINER="pascal.bellard@slitaz.org"
   52.12  LICENSE="zlib/libpng"
   52.13 +WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:zerobin"
   52.14 +
   52.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   52.16 -WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:zerobin"
   52.17  WGET_URL="https://github.com/sebsauvage/ZeroBin/archive/$VERSION.tar.gz"
   52.18  
   52.19 -DEPENDS="php"
   52.20 -SUGGESTED="php-gd"
   52.21 -
   52.22 -# Rules to configure and make the package.
   52.23 -compile_rules()
   52.24 -{
   52.25 +compile_rules() {
   52.26  	patch -p0 < $stuff/zerobin.u
   52.27 +	mkdir -p \
   52.28 +		$install/usr/share/zerobin/ \
   52.29 +		$install/var/lib/zerobin/data/ \
   52.30 +		$install/var/lib/zerobin/tmp/
   52.31 +	cp -a $src/*                $install/usr/share/zerobin/
   52.32 +	cp $stuff/purge.sh          $install/var/lib/zerobin/data/
   52.33 +	ln -s /var/lib/zerobin/data $install/usr/share/zerobin/data
   52.34 +	ln -s /var/lib/zerobin/tmp  $install/usr/share/zerobin/tmp/
   52.35 +	chown -R www.www $install/usr/share/zerobin $install/var/lib/zerobin/*
   52.36  }
   52.37  
   52.38 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   52.39 -genpkg_rules()                                      
   52.40 -{
   52.41 -	mkdir -p $fs/usr/share/zerobin
   52.42 -	mkdir -p $fs/var/lib/zerobin/data $fs/var/lib/zerobin/tmp
   52.43 -	cp -a $src/* $fs/usr/share/zerobin
   52.44 -	cp $stuff/purge.sh $fs/var/lib/zerobin/data
   52.45 -	ln -s /var/lib/zerobin/data $fs/usr/share/zerobin/data
   52.46 -	ln -s /var/lib/zerobin/tmp $fs/usr/share/zerobin/tmp
   52.47 -	chown -R www.www $fs/usr/share/zerobin $fs/var/lib/zerobin/*
   52.48 +genpkg_rules() {
   52.49 +	copy @std
   52.50 +	DEPENDS="php"
   52.51 +	SUGGESTED="php-gd"
   52.52  }
   52.53  
   52.54 -# Post and pre install commands
   52.55 -post_install()
   52.56 -{
   52.57 +post_install() {
   52.58  	# Configure lighttpd server
   52.59  	if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then
   52.60  		if ! grep -q /usr/share/zerobin/ "$1/etc/lighttpd/lighttpd.conf"; then
   52.61 -	    		sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/paste/" => "/usr/share/zerobin/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
   52.62 +			sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/paste/" => "/usr/share/zerobin/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
   52.63  			if [ -z "$1" ]; then
   52.64  				# Start Web server.
   52.65  				/etc/init.d/lighttpd stop
    53.1 --- a/zerofree/receipt	Fri Mar 16 00:27:34 2018 +0200
    53.2 +++ b/zerofree/receipt	Fri Mar 16 06:03:21 2018 +0200
    53.3 @@ -1,27 +1,24 @@
    53.4 -# SliTaz package receipt.
    53.5 +# SliTaz package receipt v2.
    53.6  
    53.7  PACKAGE="zerofree"
    53.8  VERSION="1.0.3"
    53.9  CATEGORY="base-system"
   53.10 -SHORT_DESC="Keeping filesystem images sparse."
   53.11 +SHORT_DESC="Keeping filesystem images sparse"
   53.12  MAINTAINER="pascal.bellard@slitaz.org"
   53.13  LICENSE="GPL2"
   53.14 +WEB_SITE="http://intgat.tigress.co.uk/rmy/uml/"
   53.15 +
   53.16  TARBALL="$PACKAGE-$VERSION.tgz"
   53.17 -WEB_SITE="http://intgat.tigress.co.uk/rmy/uml/"
   53.18  WGET_URL="${WEB_SITE}$TARBALL"
   53.19  
   53.20 -DEPENDS="e2fsprogs"
   53.21  BUILD_DEPENDS="e2fsprogs-dev"
   53.22  
   53.23 -# Rules to configure and make the package.
   53.24 -compile_rules()
   53.25 -{
   53.26 -	make
   53.27 +compile_rules() {
   53.28 +	make &&
   53.29 +	install -Dm755 $src/zerofree $install/usr/bin/zerofree
   53.30  }
   53.31  
   53.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   53.33 -genpkg_rules()
   53.34 -{
   53.35 -	mkdir -p $fs/usr/bin
   53.36 -	cp -a $src/zerofree $fs/usr/bin
   53.37 +genpkg_rules() {
   53.38 +	copy @std
   53.39 +	DEPENDS="e2fsprogs"
   53.40  }