wok-next rev 20547

Tiny edits in order to removing *.la
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 04 12:25:12 2018 +0300 (2018-04-04)
parents 4afc7e1aa20a
children 30af4e7aa239
files alsa-tools/receipt aria2/receipt brasero/receipt centerim/receipt clutter-gtk/receipt compiz-core/receipt dar/receipt dssi/receipt engrampa/receipt epdf/receipt ettercap/receipt flam3/receipt synergy/receipt util-linux/receipt xorg-xf86-video-fbturbo/receipt xtrkcad/receipt
line diff
     1.1 --- a/alsa-tools/receipt	Tue Apr 03 16:50:07 2018 +0300
     1.2 +++ b/alsa-tools/receipt	Wed Apr 04 12:25:12 2018 +0300
     1.3 @@ -89,7 +89,7 @@
     1.4  			DEPENDS="alsa-lib"
     1.5  			;;
     1.6  		*-ld10k1-dev)
     1.7 -			copy lo10k1/ liblo10k1.la ld10k1.m4
     1.8 +			copy lo10k1/ ld10k1.m4
     1.9  			CAT="development|ld10k1 development files"
    1.10  			DEPENDS="alsa-tools-ld10k1"
    1.11  			;;
     2.1 --- a/aria2/receipt	Tue Apr 03 16:50:07 2018 +0300
     2.2 +++ b/aria2/receipt	Wed Apr 04 12:25:12 2018 +0300
     2.3 @@ -1,30 +1,32 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="aria2"
     2.8 -VERSION="1.33.0"
     2.9 +VERSION="1.33.1"
    2.10  CATEGORY="utilities"
    2.11 -SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support"
    2.12 +SHORT_DESC="A download utility with resuming and segmented downloading with \
    2.13 +HTTP/HTTPS/FTP support"
    2.14  MAINTAINER="devl547@gmail.com"
    2.15  LICENSE="GPL2"
    2.16 -WEB_SITE="http://aria2.sourceforge.net/"
    2.17 +WEB_SITE="https://aria2.github.io/"
    2.18 +
    2.19  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.20  WGET_URL="https://github.com/aria2/aria2/releases/download/release-$VERSION/$TARBALL"
    2.21  
    2.22 -DEPENDS="zlib libxml2 gnutls libgcrypt"
    2.23  BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev gmp-dev nettle-dev"
    2.24  
    2.25 -# Rules to configure and make the package.
    2.26 -compile_rules()
    2.27 -{
    2.28 -	./configure $CONFIGURE_ARGS \
    2.29 -	--enable-epoll --enable-threads=posix --with-libz \
    2.30 -	--without-sqlite3 --without-openssl &&
    2.31 -	make && make install
    2.32 +compile_rules() {
    2.33 +	./configure \
    2.34 +		--enable-epoll \
    2.35 +		--enable-threads=posix \
    2.36 +		--with-libz \
    2.37 +		--without-sqlite3 \
    2.38 +		--without-openssl \
    2.39 +		$CONFIGURE_ARGS &&
    2.40 +	make &&
    2.41 +	make install
    2.42  }
    2.43  
    2.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.45 -genpkg_rules()
    2.46 -{
    2.47 -	mkdir -p $fs/usr
    2.48 -	cp -a $install/usr/bin $fs/usr
    2.49 +genpkg_rules() {
    2.50 +	copy @std
    2.51 +	DEPENDS="zlib libxml2 gnutls libgcrypt"
    2.52  }
     3.1 --- a/brasero/receipt	Tue Apr 03 16:50:07 2018 +0300
     3.2 +++ b/brasero/receipt	Wed Apr 04 12:25:12 2018 +0300
     3.3 @@ -1,28 +1,26 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="brasero"
     3.8  VERSION="2.30.0"
     3.9  CATEGORY="utilities"
    3.10 -SHORT_DESC="Brasero (aka Bonfire) is yet another application to burn CD/DVD for the gnome desktop."
    3.11 +SHORT_DESC="Brasero (aka Bonfire) is yet another application to burn CD/DVD \
    3.12 +for the GNOME desktop"
    3.13  MAINTAINER="devl547@gmail.com"
    3.14  LICENSE="GPL2"
    3.15 +WEB_SITE="http://www.gnome.org/projects/brasero"
    3.16 +
    3.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.18 -WEB_SITE="http://www.gnome.org/projects/brasero"
    3.19 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.20 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.21  
    3.22 -DEPENDS="glib gtk+ GConf gstreamer0 gst0-plugins-base libxml2 libunique \
    3.23 -dbus-glib cdrdao dvd+rw-tools libcanberra libvorbis libogg"
    3.24  BUILD_DEPENDS="glib-dev gtk+-dev GConf-dev gstreamer0-dev gst0-plugins-base-dev \
    3.25  libxml2-dev libunique-dev dbus-glib-dev gnome-doc-utils xorg-libxcb-dev \
    3.26  libpthread-stubs xorg-xcb-util-dev orbit2-dev dbus-dev libcanberra-dev \
    3.27  libxml2-python libvorbis-dev libogg-dev util-linux-uuid-dev \
    3.28  intltool libtool"
    3.29 +SPLIT="brasero-dev"
    3.30  
    3.31 -# Rules to configure and make the package.
    3.32 -compile_rules()
    3.33 -{
    3.34 +compile_rules() {
    3.35  	./configure \
    3.36 -		--prefix=/usr \
    3.37  		--disable-schemas-install \
    3.38  		--disable-scrollkeeper \
    3.39  		--disable-caches \
    3.40 @@ -35,11 +33,16 @@
    3.41  	make DESTDIR=$DESTDIR install
    3.42  }
    3.43  
    3.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.45 -genpkg_rules()
    3.46 -{
    3.47 -	mkdir -p $fs/usr/share
    3.48 -	cp -a $install/usr/bin $fs/usr/
    3.49 -	cp -a $install/usr/lib $fs/usr/
    3.50 -	cp -a $install/usr/share/applications $fs/usr/share/applications
    3.51 +genpkg_rules() {
    3.52 +	case $PACKAGE in
    3.53 +		brasero)
    3.54 +			copy @std
    3.55 +			DEPENDS="glib gtk+ GConf gstreamer0 gst0-plugins-base libxml2 \
    3.56 +			libunique dbus-glib cdrdao dvd+rw-tools libcanberra libvorbis \
    3.57 +			libogg"
    3.58 +			;;
    3.59 +		*-dev)
    3.60 +			copy @dev
    3.61 +			;;
    3.62 +	esac
    3.63  }
     4.1 --- a/centerim/receipt	Tue Apr 03 16:50:07 2018 +0300
     4.2 +++ b/centerim/receipt	Wed Apr 04 12:25:12 2018 +0300
     4.3 @@ -1,4 +1,4 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="centerim"
     4.8  VERSION="5.0.1"
     4.9 @@ -6,27 +6,23 @@
    4.10  SHORT_DESC="Console mode IM"
    4.11  MAINTAINER="allan316@gmail.com"
    4.12  LICENSE="GPL2"
    4.13 +WEB_SITE="http://www.centerim.org"
    4.14 +
    4.15  TARBALL="centerim5-$VERSION.tar.gz"
    4.16 -WEB_SITE="http://www.centerim.org"
    4.17  WGET_URL="$WEB_SITE/download/cim5/$TARBALL"
    4.18 -TAGS="im instant-messenger cli command-line"
    4.19  
    4.20 -DEPENDS="ncurses curl openssl libidn libgpg-error gpgme"
    4.21  BUILD_DEPENDS="ncurses-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
    4.22  gpgme-dev libpurple-dev libsigc++-dev libxml2-dev"
    4.23  
    4.24 -# Rules to configure and make the package.
    4.25 -compile_rules()
    4.26 -{
    4.27 +compile_rules() {
    4.28  	mkdir -p $DESTDIR/usr
    4.29 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    4.30 -	make && make install
    4.31 +	./configure $CONFIGURE_ARGS &&
    4.32 +	make &&
    4.33 +	make install
    4.34  }
    4.35  
    4.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.37 -genpkg_rules()
    4.38 -{
    4.39 -	mkdir -p $fs/usr
    4.40 -	cp -a $install/usr/bin $fs/usr
    4.41 -	cp -a $install/usr/lib $fs/usr
    4.42 +genpkg_rules() {
    4.43 +	copy @std
    4.44 +	DEPENDS="ncurses curl openssl libidn libgpg-error gpgme"
    4.45 +	TAGS="im instant-messenger cli command-line"
    4.46  }
     5.1 --- a/clutter-gtk/receipt	Tue Apr 03 16:50:07 2018 +0300
     5.2 +++ b/clutter-gtk/receipt	Wed Apr 04 12:25:12 2018 +0300
     5.3 @@ -17,31 +17,24 @@
     5.4  
     5.5  compile_rules() {
     5.6  	patch -Np1 -i $stuff/fix-gir.patch
     5.7 -	sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
     5.8 -	       -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
     5.9 -	       clutter-gtk/gtk-clutter-embed.c
    5.10 +	sed \
    5.11 +		-e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
    5.12 +		-e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
    5.13 +		-i clutter-gtk/gtk-clutter-embed.c
    5.14  	autoreconf -i
    5.15 -	./configure \
    5.16 -		--prefix=/usr \
    5.17 -		$CONFIGURE_ARGS &&
    5.18 +	./configure $CONFIGURE_ARGS &&
    5.19  	make &&
    5.20 -	make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
    5.21 +	make DESTDIR=$DESTDIR install
    5.22  }
    5.23  
    5.24  genpkg_rules() {
    5.25  	case $PACKAGE in
    5.26  		clutter-gtk)
    5.27 -			mkdir -p $fs/usr/lib
    5.28 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.29 -			cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    5.30 +			copy @std
    5.31  			DEPENDS="gtk+ clutter"
    5.32  			;;
    5.33  		*-dev)
    5.34 -			mkdir -p $fs/usr/lib $fs/usr/share
    5.35 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
    5.36 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.37 -			cp -a $install/usr/include $fs/usr
    5.38 -			cp -a $install/usr/share/gir-1.0 $fs/usr/share
    5.39 +			copy @dev
    5.40  			;;
    5.41  	esac
    5.42  }
     6.1 --- a/compiz-core/receipt	Tue Apr 03 16:50:07 2018 +0300
     6.2 +++ b/compiz-core/receipt	Wed Apr 04 12:25:12 2018 +0300
     6.3 @@ -19,7 +19,6 @@
     6.4  
     6.5  compile_rules() {
     6.6  	./configure \
     6.7 -		--prefix=/usr \
     6.8  		--enable-shared \
     6.9  		--enable-librsvg \
    6.10  		--enable-dbus \
    6.11 @@ -27,30 +26,20 @@
    6.12  		--enable-glib \
    6.13  		--disable-static \
    6.14  		--disable-inotify &&
    6.15 -	make && make install
    6.16 +	make && make install || return 1
    6.17 +
    6.18 +	sed 's|bash|sh|' -i $install/usr/bin/compiz-decorator
    6.19  }
    6.20  
    6.21  genpkg_rules() {
    6.22  	case $PACKAGE in
    6.23  		compiz-core)
    6.24 -			mkdir -p $fs/usr/lib $fs/usr/share/locale
    6.25 -			cp -a $install/usr/bin $fs/usr
    6.26 -			cp -a $install/usr/lib/compiz $fs/usr/lib
    6.27 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.28 -			cp -a $install/usr/share/compiz $fs/usr/share
    6.29 -			cp -a $install/usr/share/icons $fs/usr/share
    6.30 -			cp -a $install/usr/share/locale/ru $fs/usr/share
    6.31 -			rm -rf $fs/usr/lib/compiz/*.la
    6.32 -			sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
    6.33 +			copy @std
    6.34  			DEPENDS="librsvg libxslt mesa glu dbus dbus-glib \
    6.35  			startup-notification compiz-bcop compiz-libcompizconfig"
    6.36  			;;
    6.37  		*-dev)
    6.38 -			mkdir -p $fs/usr/lib/compiz $fs/usr/share/compiz
    6.39 -			cp -a $install/usr/include $fs/usr
    6.40 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    6.41 -			cp -a $install/usr/lib/*.la $fs/usr/lib
    6.42 -			cp -a $install/usr/lib/compiz/*.la $fs/usr/lib/compiz/
    6.43 +			copy @dev
    6.44  			;;
    6.45  	esac
    6.46  }
     7.1 --- a/dar/receipt	Tue Apr 03 16:50:07 2018 +0300
     7.2 +++ b/dar/receipt	Wed Apr 04 12:25:12 2018 +0300
     7.3 @@ -1,31 +1,37 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="dar"
     7.8  VERSION="2.4.18"
     7.9  CATEGORY="system-tools"
    7.10 -SHORT_DESC="Disk archive."
    7.11 +SHORT_DESC="Disk archive"
    7.12  MAINTAINER="pascal.bellard@slitaz.org"
    7.13  LICENSE="GPL2"
    7.14  WEB_SITE="http://dar.linux.free.fr/"
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    7.18 -TAGS="backup"
    7.19  
    7.20 -DEPENDS="gcc-lib-base lzo libgcrypt bzip2 attr"
    7.21 -BUILD_DEPENDS="lzo-dev libgcrypt-dev bzip2-dev e2fsprogs-dev attr-dev"
    7.22 +BUILD_DEPENDS="lzo-dev libgcrypt-dev bzip2-dev e2fsprogs-dev attr-dev gettext \
    7.23 +zlib-dev upx"
    7.24 +SPLIT="dar-dev"
    7.25  
    7.26 -# Rules to configure and make the package.
    7.27 -compile_rules()
    7.28 -{
    7.29 -	./configure --prefix=/usr --infodir=/usr/share/info \
    7.30 -		--mandir=/usr/share/man \
    7.31 +compile_rules() {
    7.32 +	./configure \
    7.33 +		--disable-static \
    7.34  		$CONFIGURE_ARGS &&
    7.35  	make &&
    7.36  	make DESTDIR=$DESTDIR install
    7.37  }
    7.38  
    7.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.40 -genpkg_rules()
    7.41 -{
    7.42 -	cp -a $install/* $fs
    7.43 +genpkg_rules() {
    7.44 +	case $PACKAGE in
    7.45 +		dar)
    7.46 +			copy @std
    7.47 +			DEPENDS="gcc-lib-base lzo libgcrypt bzip2 attr"
    7.48 +			TAGS="backup"
    7.49 +			;;
    7.50 +		*-dev)
    7.51 +			copy @dev
    7.52 +			;;
    7.53 +	esac
    7.54  }
     8.1 --- a/dssi/receipt	Tue Apr 03 16:50:07 2018 +0300
     8.2 +++ b/dssi/receipt	Wed Apr 04 12:25:12 2018 +0300
     8.3 @@ -15,29 +15,14 @@
     8.4  SPLIT="dssi-dev"
     8.5  
     8.6  compile_rules() {
     8.7 -	./configure \
     8.8 -		--prefix=/usr \
     8.9 -		--localstatedir=/var \
    8.10 -		--mandir=/usr/share/man \
    8.11 -		$CONFIGURE_ARGS &&
    8.12 +	./configure $CONFIGURE_ARGS &&
    8.13  	make &&
    8.14  	make DESTDIR=$DESTDIR install
    8.15  }
    8.16  
    8.17  genpkg_rules() {
    8.18  	case $PACKAGE in
    8.19 -		dssi)
    8.20 -			mkdir -p $fs/usr/lib/dssi
    8.21 -			cp -a $install/usr/bin $fs/usr
    8.22 -			cp -a $install/usr/lib/dssi $fs/usr/lib
    8.23 -			rm -f $fs/usr/lib/dssi/*a
    8.24 -			DEPENDS="gcc-lib-base"
    8.25 -			;;
    8.26 -		*-dev)
    8.27 -			mkdir -p $fs/usr/lib/dssi
    8.28 -			cp -a $install/usr/include $fs/usr
    8.29 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    8.30 -			cp -a $install/usr/lib/dssi/*a $fs/usr/lib/dssi
    8.31 -			;;
    8.32 +		dssi)  copy @std;;
    8.33 +		*-dev) copy @dev;;
    8.34  	esac
    8.35  }
     9.1 --- a/engrampa/receipt	Tue Apr 03 16:50:07 2018 +0300
     9.2 +++ b/engrampa/receipt	Wed Apr 04 12:25:12 2018 +0300
     9.3 @@ -13,7 +13,6 @@
     9.4  
     9.5  BUILD_DEPENDS="mate-common yelp-tools gtk+3-dev caja-dev json-glib-dev itstool \
     9.6  xorg-libSM-dev"
     9.7 -SPLIT="engrampa-dev"
     9.8  
     9.9  compile_rules() {
    9.10  	./autogen.sh \
    9.11 @@ -25,26 +24,8 @@
    9.12  }
    9.13  
    9.14  genpkg_rules() {
    9.15 -	case $PACKAGE in
    9.16 -		engrampa)
    9.17 -			copy @std
    9.18 -			DEPENDS="atk bzlib cairo caja fontconfig freetype gdk-pixbuf glib \
    9.19 -			gtk+3 json-glib libffi libharfbuzz liblzma libpng16 libxml2 pango \
    9.20 -			pcre util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    9.21 -			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    9.22 -			xorg-pixman zlib"
    9.23 -			SUGGESTED="unrar unace p7zip zip"
    9.24 -			;;
    9.25 -		*-dev)
    9.26 -			copy @dev
    9.27 -			DEPENDS="engrampa atk-dev bzip2-dev cairo-dev caja-dev \
    9.28 -			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
    9.29 -			harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
    9.30 -			pcre-dev util-linux-blkid-dev util-linux-mount-dev \
    9.31 -			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
    9.32 -			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
    9.33 -			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    9.34 -			;;
    9.35 -	esac
    9.36 +	copy @std
    9.37 +	DEPENDS="cairo caja gdk-pixbuf glib gtk+3 json-glib pango"
    9.38 +	SUGGESTED="unrar unace p7zip zip"
    9.39  	TAGS="MATE"
    9.40  }
    10.1 --- a/epdf/receipt	Tue Apr 03 16:50:07 2018 +0300
    10.2 +++ b/epdf/receipt	Wed Apr 04 12:25:12 2018 +0300
    10.3 @@ -17,25 +17,19 @@
    10.4  
    10.5  compile_rules() {
    10.6  	./autogen.sh \
    10.7 -		--prefix=/usr \
    10.8 -		$CONFIGURE_ARGS 2>&1 | \
    10.9 -		sed 's|missing: No such|missing: no such|'
   10.10 -	make && make install
   10.11 +		$CONFIGURE_ARGS &&
   10.12 +	make &&
   10.13 +	make install
   10.14  }
   10.15  
   10.16  genpkg_rules() {
   10.17  	case $PACKAGE in
   10.18  		epdf)
   10.19 -			mkdir -p $fs/usr/lib
   10.20 -			cp -a $install/usr/bin $fs/usr
   10.21 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   10.22 +			copy @std
   10.23  			DEPENDS="poppler eina ecore evas"
   10.24  			;;
   10.25  		*-dev)
   10.26 -			mkdir -p $fs/usr/lib
   10.27 -			cp -a $install/usr/include $fs/usr
   10.28 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   10.29 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   10.30 +			copy @dev
   10.31  			DEPENDS="poppler-dev eina-dev ecore-dev evas-dev"
   10.32  			;;
   10.33  	esac
    11.1 --- a/ettercap/receipt	Tue Apr 03 16:50:07 2018 +0300
    11.2 +++ b/ettercap/receipt	Wed Apr 04 12:25:12 2018 +0300
    11.3 @@ -1,4 +1,4 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="ettercap"
    11.8  VERSION="NG-0.7.3"
    11.9 @@ -6,36 +6,25 @@
   11.10  SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN"
   11.11  MAINTAINER="claudinei@slitaz.org"
   11.12  LICENSE="GPL2"
   11.13 +WEB_SITE="http://ettercap.sourceforge.net"
   11.14 +
   11.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   11.16 -WEB_SITE="http://ettercap.sourceforge.net"
   11.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   11.18  
   11.19 -DEPENDS="libpthread-stubs libpcap libnet libltdl zlib"
   11.20  BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \
   11.21  zlib-dev"
   11.22  
   11.23 -# Rules to configure and make the package.
   11.24 -compile_rules()
   11.25 -{
   11.26 -	cd $src
   11.27 +compile_rules() {
   11.28  	sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.*
   11.29  	./configure \
   11.30 -		--prefix=/usr \
   11.31 -		--infodir=/usr/share/info \
   11.32 -		--mandir=/usr/share/man \
   11.33  		--enable-plugins \
   11.34  		--disable-gtk \
   11.35  		$CONFIGURE_ARGS &&
   11.36 -	make && make DESTDIR=$DESTDIR install
   11.37 +	make &&
   11.38 +	make DESTDIR=$DESTDIR install
   11.39  }
   11.40  
   11.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.42 -genpkg_rules()
   11.43 -{
   11.44 -	mkdir -p $fs/usr/share
   11.45 -	cp -a $install/usr/bin $fs/usr
   11.46 -	cp -a $install/etc $fs
   11.47 -	cp -a $install/usr/share/ettercap $fs/usr/share
   11.48 -	cp -a $install/usr/lib $fs/usr
   11.49 +genpkg_rules() {
   11.50 +	copy @std
   11.51 +	DEPENDS="libpthread-stubs libpcap libnet libltdl zlib"
   11.52  }
   11.53 -
    12.1 --- a/flam3/receipt	Tue Apr 03 16:50:07 2018 +0300
    12.2 +++ b/flam3/receipt	Wed Apr 04 12:25:12 2018 +0300
    12.3 @@ -3,44 +3,36 @@
    12.4  PACKAGE="flam3"
    12.5  VERSION="3.1.1"
    12.6  CATEGORY="graphics"
    12.7 -SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations"
    12.8 +SHORT_DESC="Tools to create/display fractal flames: algorithmically generated \
    12.9 +images and animations"
   12.10  MAINTAINER="gokhlayeh@slitaz.org"
   12.11  LICENSE="GPL3"
   12.12 +WEB_SITE="http://flam3.com/"
   12.13 +
   12.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   12.15 -WEB_SITE="http://flam3.com/"
   12.16  WGET_URL="https://github.com/scottdraves/flam3/archive/v$VERSION.tar.gz"
   12.17  
   12.18 -BUILD_DEPENDS="expat-dev jpeg-dev libpng16-dev libxml2-dev"
   12.19 +BUILD_DEPENDS="expat-dev libjpeg-turbo-dev libpng16-dev libxml2-dev"
   12.20  SPLIT="flam3 flam3-dev"
   12.21  
   12.22 -# Rules to configure and make the package.
   12.23 -compile_rules()
   12.24 -{
   12.25 -	cd $src/src
   12.26 +compile_rules() {
   12.27  	./configure \
   12.28 -		--prefix=/usr \
   12.29 -		--infodir=/usr/share/info \
   12.30 -		--mandir=/usr/share/man \
   12.31 +		--disable-static \
   12.32 +		--enable-shared \
   12.33  		$CONFIGURE_ARGS &&
   12.34 -	make $MAKEFLAGS && make DESTDIR=$DESTDIR -j 1 install
   12.35 +	make $MAKEFLAGS &&
   12.36 +	make DESTDIR=$DESTDIR -j1 install
   12.37  }
   12.38  
   12.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.40 -genpkg_rules()
   12.41 -{
   12.42 +genpkg_rules() {
   12.43  	case $PACKAGE in
   12.44 -	flam3)
   12.45 -		DEPENDS="expat libjpeg libpng16 libxml2"
   12.46 -		mkdir -p $fs/usr/share
   12.47 -		cp -a $install/usr/bin $fs/usr/
   12.48 -		cp -a $install/usr/share/flam3 $fs/usr/share/
   12.49 -		;;
   12.50 -	flam3-dev)
   12.51 -		CAT="development|Tools to create/display fractal flames: algorithmically generated images and animations (devel files)"
   12.52 -		DEPENDS="flam3"
   12.53 -		mkdir -p $fs/usr
   12.54 -		cp -a $install/usr/lib $fs/usr
   12.55 -		cp -a $install/usr/include $fs/usr
   12.56 -		;;
   12.57 +		flam3)
   12.58 +			copy @std
   12.59 +			DEPENDS="libjpeg-turbo libpng16 libxml2 zlib"
   12.60 +			;;
   12.61 +		*-dev)
   12.62 +			copy @dev
   12.63 +			DEPENDS="flam3 libjpeg-turbo-dev libpng16-dev libxml2-dev"
   12.64 +			;;
   12.65  	esac
   12.66  }
    13.1 --- a/synergy/receipt	Tue Apr 03 16:50:07 2018 +0300
    13.2 +++ b/synergy/receipt	Wed Apr 04 12:25:12 2018 +0300
    13.3 @@ -1,35 +1,30 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="synergy"
    13.8  VERSION="1.3.6"
    13.9  CATEGORY="x-window"
   13.10 -SHORT_DESC="Synergy keyboard and mouse sharing."
   13.11 +SHORT_DESC="Synergy keyboard and mouse sharing"
   13.12  MAINTAINER="rcx@zoominternet.net"
   13.13  LICENSE="GPL2"
   13.14 +WEB_SITE="http://synergy-foss.org"
   13.15 +
   13.16  TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
   13.17 -WEB_SITE="http://synergy-foss.org"
   13.18  WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
   13.19  
   13.20 -DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
   13.21  BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
   13.22  
   13.23 -# Rules to configure and make the package.
   13.24 -compile_rules()
   13.25 -{		
   13.26 -	cd $src
   13.27 -	
   13.28 -	cmake -D CMAKE_INSTALL_PREFIX=/usr .
   13.29 -	make
   13.30 -	# install binary
   13.31 -	install -d "$DESTDIR/usr/bin/"
   13.32 -	install -Dm755 synergyc $DESTDIR//usr/bin/
   13.33 -	install -Dm755 synergys $DESTDIR/usr/bin/
   13.34 -	install -Dm644 examples/${PACKAGE}.conf "$DESTDIR/etc/${PACKAGE}.conf"
   13.35 +compile_rules() {
   13.36 +	cmake \
   13.37 +		-D CMAKE_INSTALL_PREFIX=/usr \
   13.38 +		. &&
   13.39 +	make || return 1
   13.40 +
   13.41 +	install -Dm755 synergyc              $install/usr/bin/synergyc
   13.42 +	install -Dm755 synergys              $install/usr/bin/synergys
   13.43 +	install -Dm644 examples/synergy.conf $install/etc/synergy.conf
   13.44  }
   13.45  
   13.46 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.47 -genpkg_rules()
   13.48 -{
   13.49 -	mkdir -p $fs/usr
   13.50 -	cp -a $install/usr/bin $fs/usr
   13.51 +genpkg_rules() {
   13.52 +	copy @std
   13.53 +	DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama"
   13.54  }
    14.1 --- a/util-linux/receipt	Tue Apr 03 16:50:07 2018 +0300
    14.2 +++ b/util-linux/receipt	Wed Apr 04 12:25:12 2018 +0300
    14.3 @@ -1,7 +1,7 @@
    14.4  # SliTaz package receipt v2.
    14.5  
    14.6  PACKAGE="util-linux"
    14.7 -VERSION="2.30.1"
    14.8 +VERSION="2.31.1"
    14.9  CATEGORY="meta"
   14.10  SHORT_DESC="Random collection of Linux utilities"
   14.11  MAINTAINER="pankso@slitaz.org"
   14.12 @@ -32,14 +32,13 @@
   14.13  	mkdir -p $install/var/lib/hwclock
   14.14  	./configure \
   14.15  		ADJTIME_PATH=/var/lib/hwclock/adjtime \
   14.16 -		--docdir=/usr/share/doc/util-linux-$VERSION \
   14.17  		--disable-static \
   14.18  		--without-systemd \
   14.19  		--without-systemdsystemunitdir &&
   14.20  	make && make install || exit 1
   14.21  
   14.22 -	mkdir -p $install/usr/share/applications
   14.23 -	cp $stuff/cfdisk.desktop $install/usr/share/applications
   14.24 +	install -Dm644 $stuff/cfdisk.desktop \
   14.25 +		$install/usr/share/applications/cfdisk.desktop
   14.26  }
   14.27  
   14.28  genpkg_rules() {
   14.29 @@ -56,7 +55,7 @@
   14.30  			util-linux-uuid"
   14.31  			;;
   14.32  		blkid-dev)
   14.33 -			copy blkid.h blkid.pc libblkid.*a
   14.34 +			copy blkid.h blkid.pc
   14.35  			CAT="development|blkid development files"
   14.36  			DEPENDS="util-linux-blkid util-linux-uuid-dev"
   14.37  			;;
   14.38 @@ -94,7 +93,7 @@
   14.39  			util-linux-smartcols util-linux-uuid"
   14.40  			;;
   14.41  		fdisk-dev)
   14.42 -			copy libfdisk.h libfdisk.*a fdisk.pc
   14.43 +			copy libfdisk.h fdisk.pc
   14.44  			CAT="development|fdisk utility development files"
   14.45  			DEPENDS="util-linux-fdisk util-linux-blkid-dev util-linux-uuid-dev"
   14.46  			;;
   14.47 @@ -131,7 +130,7 @@
   14.48  			util-linux-smartcols"
   14.49  			;;
   14.50  		mount-dev)
   14.51 -			copy libmount.h libmount.*a mount.pc
   14.52 +			copy libmount.h mount.pc
   14.53  			CAT="development|mount utilities development files"
   14.54  			DEPENDS="util-linux-mount util-linux-blkid-dev util-linux-uuid-dev"
   14.55  			;;
   14.56 @@ -158,7 +157,7 @@
   14.57  			DEPENDS="glibc-base"
   14.58  			;;
   14.59  		smartcols-dev)
   14.60 -			copy libsmartcols.h libsmartcols.*a smartcols.pc
   14.61 +			copy libsmartcols.h smartcols.pc
   14.62  			CAT="development|smartcols library development files"
   14.63  			DEPENDS="util-linux-smartcols"
   14.64  			;;
   14.65 @@ -168,7 +167,7 @@
   14.66  			DEPENDS="glibc-base"
   14.67  			;;
   14.68  		uuid-dev)
   14.69 -			copy uuid.h libuuid.*a uuid.pc
   14.70 +			copy uuid.h uuid.pc
   14.71  			CAT="development|uuid utility and library development files"
   14.72  			DEPENDS="util-linux-uuid"
   14.73  			;;
    15.1 --- a/xorg-xf86-video-fbturbo/receipt	Tue Apr 03 16:50:07 2018 +0300
    15.2 +++ b/xorg-xf86-video-fbturbo/receipt	Wed Apr 04 12:25:12 2018 +0300
    15.3 @@ -18,8 +18,6 @@
    15.4  # ported yet.
    15.5  
    15.6  BUILD_DEPENDS="xorg-server-dev automake autoconf libtool"
    15.7 -SPLIT="xorg-xf86-video-fbturbo-dev"
    15.8 -PKG_RULE="std-dev"
    15.9  
   15.10  compile_rules() {
   15.11  	autoreconf -vi
   15.12 @@ -29,14 +27,6 @@
   15.13  }
   15.14  
   15.15  genpkg_rules() {
   15.16 -	case $PACKAGE in
   15.17 -		*-fbturbo)
   15.18 -			copy @std
   15.19 -			DEPENDS="xorg-server"
   15.20 -			;;
   15.21 -		*-dev)
   15.22 -			copy @dev
   15.23 -			DEPENDS="xorg-xf86-video-fbturbo xorg-server-dev"
   15.24 -			;;
   15.25 -	esac
   15.26 +	copy @std
   15.27 +	DEPENDS="xorg-server"
   15.28  }
    16.1 --- a/xtrkcad/receipt	Tue Apr 03 16:50:07 2018 +0300
    16.2 +++ b/xtrkcad/receipt	Wed Apr 04 12:25:12 2018 +0300
    16.3 @@ -16,55 +16,46 @@
    16.4  gtk+-dev libxml2-dev libgtkhtml-dev libgtkhtml doxygen xorg-xproto \
    16.5  xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
    16.6  xorg-libXdmcp-dev"
    16.7 -SPLIT="xtrkcad-doc"
    16.8 +SPLIT="xtrkcad-doc xtrkcad"
    16.9  
   16.10  compile_rules() {
   16.11  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
   16.12  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
   16.13 -	
   16.14 +
   16.15  	XTRKCAD_STUFF=$stuff
   16.16 -	
   16.17 +
   16.18  	[ -d $PACKAGE-source-$VERSION ] && mv $PACKAGE-source-$VERSION $PACKAGE-$VERSION
   16.19  	cd $src
   16.20 -	sed -e 's|share/xtrkcad/locale|share/locale|g' -i CMakeLists.txt &&
   16.21 -	cmake -D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \
   16.22 +
   16.23 +	sed -e 's|share/xtrkcad/locale|share/locale|g' -i CMakeLists.txt
   16.24 +
   16.25 +	cmake \
   16.26 +		-D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \
   16.27  		-D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++ \
   16.28  		-D CMAKE_INSTALL_PREFIX=/usr \
   16.29 -		-D XTRKCAD_USE_GTK=ON -D XTRKCAD_USE_GTK_CAIRO=ON . &&
   16.30 +		-D XTRKCAD_USE_GTK=ON \
   16.31 +		-D XTRKCAD_USE_GTK_CAIRO=ON \
   16.32 +		. &&
   16.33  	make PREFIX=/usr &&
   16.34 -	make DESTDIR=$DESTDIR install &&
   16.35 -	mkdir -p $DESTDIR/usr/share/pixmaps &&
   16.36 -	cp -f $XTRKCAD_STUFF/$PACKAGE.png $DESTDIR/usr/share/pixmaps &&
   16.37 -	mkdir -p $DESTDIR/usr/share/applications &&
   16.38 -	cp -f $XTRKCAD_STUFF/$PACKAGE.desktop $DESTDIR/usr/share/applications &&
   16.39 -	sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $DESTDIR/usr/share/applications/*.desktop
   16.40 +	make DESTDIR=$DESTDIR install || return 1
   16.41 +
   16.42 +	install -Dm644 $stuff/xtrkcad.png     $install/usr/share/pixmaps/xtrkcad.png
   16.43 +	install -Dm644 $stuff/xtrkcad.desktop $install/usr/share/applications/xtrkcad.desktop
   16.44  }
   16.45  
   16.46  genpkg_rules() {
   16.47  	case $PACKAGE in
   16.48 +		xtrkcad-doc)
   16.49 +			copy html/ examples/ demos/
   16.50 +			CAT="games|documentation, examples, and how-to demos"
   16.51 +			;;
   16.52  		xtrkcad)
   16.53 -			mkdir -p $fs/usr/share/$PACKAGE
   16.54 -			cp -f $install/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
   16.55 -			cp -f $install/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
   16.56 -			cp -f $install/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
   16.57 -			cp -a $install/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
   16.58 -
   16.59 -			cp -a $install/usr/share/applications $fs/usr/share
   16.60 -			cp -a $install/usr/share/pixmaps $fs/usr/share
   16.61 -
   16.62 -			cp -a $install/usr/bin $fs/usr
   16.63 +			copy @std @rm
   16.64  			DEPENDS="menu-railroad glibc-base glib zlib expat libxml2 gtk+ \
   16.65  			libgtkhtml fontconfig freetype atk cairo libpng16 pango \
   16.66  			xorg-pixman xorg-libxcb xorg-xcb-util xorg-libX11 xorg-libXau \
   16.67  			xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
   16.68  			xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
   16.69  			;;
   16.70 -		xtrkcad-doc)
   16.71 -			mkdir -p $fs/usr/share/$WANTED
   16.72 -			cp -a $install/usr/share/$WANTED/html $fs/usr/share/$WANTED
   16.73 -			cp -a $install/usr/share/$WANTED/examples $fs/usr/share/$WANTED
   16.74 -			cp -a $install/usr/share/$WANTED/demos $fs/usr/share/$WANTED
   16.75 -			CAT="games|documentation, examples, and how-to demos"
   16.76 -			;;
   16.77  	esac
   16.78  }