wok-next rev 20599

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 17 00:06:41 2018 +0300 (2018-04-17)
parents 6e46ae5ac721
children af2860af5ac8
files man-db/receipt mate-menus/receipt mate-notification-daemon-gtk2/receipt mate-notification-daemon/receipt mathomatic/receipt matio/receipt mcrypt/receipt mdbtools/receipt megatools/receipt menu-cache/receipt mesa-demos/receipt metacity/receipt mhash/receipt mjpegtools/receipt moc/receipt modsecurity-apache/receipt mondo/receipt mono/receipt moserial/receipt mpc-library/receipt mpfr/receipt mpg123/receipt mtd-utils/receipt mtdev/receipt n2nc/receipt nagios-plugins/receipt naim/receipt navit/receipt ncmpcpp/receipt neon/receipt
line diff
     1.1 --- a/man-db/receipt	Mon Apr 16 22:50:58 2018 +0300
     1.2 +++ b/man-db/receipt	Tue Apr 17 00:06:41 2018 +0300
     1.3 @@ -22,6 +22,7 @@
     1.4  		--with-vgrind=/usr/bin/vgrind \
     1.5  		--with-grap=/usr/bin/grap \
     1.6  		$CONFIGURE_ARGS &&
     1.7 +	fix libtool &&
     1.8  	make &&
     1.9  	make install || return 1
    1.10  
     2.1 --- a/mate-menus/receipt	Mon Apr 16 22:50:58 2018 +0300
     2.2 +++ b/mate-menus/receipt	Tue Apr 17 00:06:41 2018 +0300
     2.3 @@ -18,6 +18,7 @@
     2.4  	./autogen.sh \
     2.5  		--enable-python \
     2.6  		$CONFIGURE_ARGS &&
     2.7 +	fix libtool &&
     2.8  	make &&
     2.9  	make install
    2.10  }
     3.1 --- a/mate-notification-daemon-gtk2/receipt	Mon Apr 16 22:50:58 2018 +0300
     3.2 +++ b/mate-notification-daemon-gtk2/receipt	Tue Apr 17 00:06:41 2018 +0300
     3.3 @@ -20,14 +20,15 @@
     3.4  
     3.5  	mkdir macros; autoreconf -fi
     3.6  	intltoolize;  autoreconf
     3.7 +
     3.8  	./configure $CONFIGURE_ARGS &&
     3.9 +	fix libtool &&
    3.10  	make &&
    3.11  	make install
    3.12  }
    3.13  
    3.14  genpkg_rules() {
    3.15 -	copy @std
    3.16 -	cook_copy_icons # only 16 and 48
    3.17 +	copy @std @ico # only 16 and 48 icons
    3.18  	DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
    3.19  	glib gtk+ libcanberra libffi libharfbuzz libltdl liblzma libnotify libogg \
    3.20  	libpng16 libvorbis libwnck2 libxml2 pango pcre startup-notification \
     4.1 --- a/mate-notification-daemon/receipt	Mon Apr 16 22:50:58 2018 +0300
     4.2 +++ b/mate-notification-daemon/receipt	Tue Apr 17 00:06:41 2018 +0300
     4.3 @@ -18,6 +18,7 @@
     4.4  compile_rules() {
     4.5  	./autogen.sh \
     4.6  		$CONFIGURE_ARGS &&
     4.7 +	fix libtool &&
     4.8  	make &&
     4.9  	make install
    4.10  }
    4.11 @@ -25,14 +26,12 @@
    4.12  genpkg_rules() {
    4.13  	case $PACKAGE in
    4.14  		mate-notification-daemon)
    4.15 -			copy @std
    4.16 -			cook_copy_icons # only 16 and 48
    4.17 -			DEPENDS=""
    4.18 +			copy @std @ico # only 16 and 48 icons
    4.19  			PROVIDE="gtk+3:notification-daemon"
    4.20  			;;
    4.21  		*-dev)
    4.22  			copy @dev
    4.23 -			DEPENDS=""
    4.24 +			;;
    4.25  	esac
    4.26  	TAGS="MATE"
    4.27  }
     5.1 --- a/mathomatic/receipt	Mon Apr 16 22:50:58 2018 +0300
     5.2 +++ b/mathomatic/receipt	Tue Apr 17 00:06:41 2018 +0300
     5.3 @@ -14,19 +14,18 @@
     5.4  BUILD_DEPENDS="automake libtool readline-dev"
     5.5  SPLIT="mathomatic-optional mathomatic"
     5.6  
     5.7 -# Rules to configure and make the package.
     5.8 -compile_rules()
     5.9 -{
    5.10 +compile_rules() {
    5.11  	autoreconf -fi &&
    5.12  
    5.13 -	./configure $CONFIGURE_ARGS && make && make install || return 1
    5.14 +	./configure $CONFIGURE_ARGS &&
    5.15 +	fix libtool &&
    5.16 +	make &&
    5.17 +	make install || return 1
    5.18  
    5.19  	install -m0755 primes/matho-mult primes/matho-sum primes/primorial \
    5.20  		$install/usr/bin
    5.21  
    5.22 -	docdir="$install/usr/share/doc/mathomatic-16.0.5"
    5.23 -	mkdir -p $docdir
    5.24 -	cp doc/* $docdir
    5.25 +	cook_pick_docs doc/*
    5.26  
    5.27  	appdir="$install/usr/share/applications"
    5.28  	mkdir -p $appdir
    5.29 @@ -41,9 +40,7 @@
    5.30  	cook_pick_manpages mathomatic.1 lib/*.3 primes/*.1
    5.31  }
    5.32  
    5.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.34 -genpkg_rules()
    5.35 -{
    5.36 +genpkg_rules() {
    5.37  	case $PACKAGE in
    5.38  		mathomatic-optional)
    5.39  			copy bin/matho-* primorial
     6.1 --- a/matio/receipt	Mon Apr 16 22:50:58 2018 +0300
     6.2 +++ b/matio/receipt	Tue Apr 17 00:06:41 2018 +0300
     6.3 @@ -15,6 +15,7 @@
     6.4  
     6.5  compile_rules() {
     6.6  	./configure $CONFIGURE_ARGS &&
     6.7 +	fix libtool &&
     6.8  	make &&
     6.9  	make DESTDIR=$DESTDIR install
    6.10  }
     7.1 --- a/mcrypt/receipt	Mon Apr 16 22:50:58 2018 +0300
     7.2 +++ b/mcrypt/receipt	Tue Apr 17 00:06:41 2018 +0300
     7.3 @@ -1,30 +1,27 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="mcrypt"
     7.8  VERSION="2.6.8"
     7.9  CATEGORY="security"
    7.10 -SHORT_DESC="Encryption"
    7.11 +SHORT_DESC="Simple crypting program"
    7.12  MAINTAINER="erjo@slitaz.org"
    7.13  LICENSE="GPL3"
    7.14 +WEB_SITE="http://mcrypt.sourceforge.net/"
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.17 -WEB_SITE="http://mcrypt.sourceforge.net/"
    7.18  WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL"
    7.19  
    7.20 -DEPENDS="zlib mhash libmcrypt"
    7.21 -BUILD_DEPENDS="libmcrypt-dev libmcrypt-dev mhash-dev zlib-dev"
    7.22 +BUILD_DEPENDS="libmcrypt-dev mhash-dev zlib-dev"
    7.23 +COOKOPTS="skip-log-errors"
    7.24  
    7.25 -# Rules to configure and make the package.
    7.26 -compile_rules()
    7.27 -{
    7.28 -	./configure \
    7.29 -		--prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
    7.30 +compile_rules() {
    7.31 +	./configure $CONFIGURE_ARGS &&
    7.32 +	fix libtool &&
    7.33  	make &&
    7.34  	make DESTDIR=$DESTDIR install
    7.35  }
    7.36  
    7.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.38 -genpkg_rules()
    7.39 -{
    7.40 -	mkdir -p $fs/usr
    7.41 -	cp -a $install/usr/bin $fs/usr
    7.42 +genpkg_rules() {
    7.43 +	copy @std
    7.44 +	DEPENDS="zlib mhash libmcrypt"
    7.45  }
     8.1 --- a/mdbtools/receipt	Mon Apr 16 22:50:58 2018 +0300
     8.2 +++ b/mdbtools/receipt	Tue Apr 17 00:06:41 2018 +0300
     8.3 @@ -20,6 +20,7 @@
     8.4  		--enable-sql \
     8.5  		--with-unixodbc=/usr \
     8.6  		$CONFIGURE_ARGS &&
     8.7 +	fix libtool &&
     8.8  	make &&
     8.9  	make DESTDIR=$DESTDIR install
    8.10  }
     9.1 --- a/megatools/receipt	Mon Apr 16 22:50:58 2018 +0300
     9.2 +++ b/megatools/receipt	Tue Apr 17 00:06:41 2018 +0300
     9.3 @@ -1,29 +1,29 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="megatools"
     9.8  VERSION="1.9.96"
     9.9  CATEGORY="network"
    9.10 -SHORT_DESC="A collection of CLI programs for accessing Mega service."
    9.11 +SHORT_DESC="A collection of CLI programs for accessing Mega service"
    9.12  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
    9.13  LICENSE="GPL2"
    9.14  WEB_SITE="https://megatools.megous.com"
    9.15 +
    9.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.17  WGET_URL="$WEB_SITE/builds/$TARBALL"
    9.18  
    9.19 -DEPENDS="glib libcurl openssl gmp"
    9.20  BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-dev"
    9.21  
    9.22 -# Rules to configure and make the package.
    9.23 -compile_rules()
    9.24 -{
    9.25 -	./configure $CONFIGURE_ARGS --disable-static \
    9.26 -	&& make && make install
    9.27 +compile_rules() {
    9.28 +	./configure \
    9.29 +		--disable-static \
    9.30 +		$CONFIGURE_ARGS &&
    9.31 +	fix libtool &&
    9.32 +	make &&
    9.33 +	make install
    9.34  }
    9.35  
    9.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.37 -genpkg_rules()
    9.38 -{
    9.39 -	cp -a $install/* $fs
    9.40 +genpkg_rules() {
    9.41 +	copy @std
    9.42  	# upstream info: lib is deprecated; remove .h .pc .la
    9.43 -	rm -r $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*a $fs/usr/include
    9.44 +	DEPENDS="glib libcurl openssl gmp"
    9.45  }
    10.1 --- a/menu-cache/receipt	Mon Apr 16 22:50:58 2018 +0300
    10.2 +++ b/menu-cache/receipt	Tue Apr 17 00:06:41 2018 +0300
    10.3 @@ -20,7 +20,9 @@
    10.4  		--disable-static \
    10.5  		--enable-gtk-doc \
    10.6  		$CONFIGURE_ARGS &&
    10.7 -	make && make install
    10.8 +	fix libtool &&
    10.9 +	make &&
   10.10 +	make install
   10.11  }
   10.12  
   10.13  genpkg_rules() {
    11.1 --- a/mesa-demos/receipt	Mon Apr 16 22:50:58 2018 +0300
    11.2 +++ b/mesa-demos/receipt	Tue Apr 17 00:06:41 2018 +0300
    11.3 @@ -19,6 +19,7 @@
    11.4  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    11.5  
    11.6  	./configure $CONFIGURE_ARGS &&
    11.7 +	fix libtool &&
    11.8  	make &&
    11.9  	make DESTDIR=$DESTDIR install
   11.10  }
    12.1 --- a/metacity/receipt	Mon Apr 16 22:50:58 2018 +0300
    12.2 +++ b/metacity/receipt	Tue Apr 17 00:06:41 2018 +0300
    12.3 @@ -1,4 +1,4 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="metacity"
    12.8  VERSION="2.30.3"
    12.9 @@ -6,33 +6,30 @@
   12.10  SHORT_DESC="Window manager"
   12.11  MAINTAINER="al.bobylev@gmail.com"
   12.12  LICENSE="GPL2"
   12.13 +WEB_SITE="http://blogs.gnome.org/metacity/"
   12.14 +
   12.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   12.16 -HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|')
   12.17 -WEB_SITE="http://blogs.gnome.org/metacity/"
   12.18 -WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL"
   12.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   12.20  
   12.21 -DEPENDS="gsettings-desktop-schemas glib gtk+ xorg-libXcomposite \
   12.22 -xorg-libXdamage zenity-gtk2 xorg-libXinerama xorg-libXrandr xorg-libXcursor \
   12.23 -libcanberra libltdl libvorbis libogg GConf"
   12.24  BUILD_DEPENDS="gsettings-desktop-schemas glib-dev gtk+-dev \
   12.25  xorg-libXcomposite-dev xorg-libXdamage-dev zenity-gtk2 xorg-libXinerama-dev \
   12.26  xorg-libXrandr-dev xorg-libXcursor-dev libcanberra-dev libltdl libvorbis-dev \
   12.27  libogg-dev libtool gnome-doc-utils GConf-dev util-linux-uuid-dev intltool"
   12.28  
   12.29 -# Rules to configure and make the package.
   12.30 -compile_rules()
   12.31 -{
   12.32 -	./configure --prefix=/usr \
   12.33 -		--disable-verbose-mode --disable-sm --disable-scrollkeeper
   12.34 +compile_rules() {
   12.35 +	./configure \
   12.36 +		--disable-verbose-mode \
   12.37 +		--disable-sm \
   12.38 +		--disable-scrollkeeper \
   12.39 +		&&
   12.40 +	fix libtool &&
   12.41  	make &&
   12.42  	make DESTDIR=$DESTDIR install
   12.43  }
   12.44  
   12.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.46 -genpkg_rules()
   12.47 -{
   12.48 -	cp -a $install/usr $fs
   12.49 -	rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \
   12.50 -	$fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale
   12.51 -	rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la
   12.52 +genpkg_rules() {
   12.53 +	copy @std
   12.54 +	DEPENDS="gsettings-desktop-schemas glib gtk+ xorg-libXcomposite \
   12.55 +	xorg-libXdamage zenity-gtk2 xorg-libXinerama xorg-libXrandr xorg-libXcursor \
   12.56 +	libcanberra libltdl libvorbis libogg GConf"
   12.57  }
    13.1 --- a/mhash/receipt	Mon Apr 16 22:50:58 2018 +0300
    13.2 +++ b/mhash/receipt	Tue Apr 17 00:06:41 2018 +0300
    13.3 @@ -15,6 +15,7 @@
    13.4  
    13.5  compile_rules() {
    13.6  	./configure $CONFIGURE_ARGS &&
    13.7 +	fix libtool &&
    13.8  	make &&
    13.9  	make DESTDIR=$DESTDIR install
   13.10  }
    14.1 --- a/mjpegtools/receipt	Mon Apr 16 22:50:58 2018 +0300
    14.2 +++ b/mjpegtools/receipt	Tue Apr 17 00:06:41 2018 +0300
    14.3 @@ -20,15 +20,14 @@
    14.4  BUILD_DEPENDS="libjpeg-turbo-dev libpng16-dev libdv-dev xorg-libX11-dev \
    14.5  xorg-libICE-dev xorg-libXxf86dga-dev gtk+-dev libsdl-dev"
    14.6  
    14.7 -# Rules to configure and make the package.
    14.8 -compile_rules()
    14.9 -{
   14.10 -	./configure $CONFIGURE_ARGS && make && make install
   14.11 +compile_rules() {
   14.12 +	./configure $CONFIGURE_ARGS &&
   14.13 +	fix libtool &&
   14.14 +	make &&
   14.15 +	make install
   14.16  }
   14.17  
   14.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.19 -genpkg_rules()
   14.20 -{
   14.21 +genpkg_rules() {
   14.22  	case $PACKAGE in
   14.23  		mjpegtools)
   14.24  			copy @std
    15.1 --- a/moc/receipt	Mon Apr 16 22:50:58 2018 +0300
    15.2 +++ b/moc/receipt	Tue Apr 17 00:06:41 2018 +0300
    15.3 @@ -1,47 +1,32 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="moc"
    15.8  VERSION="2.5.0"
    15.9  CATEGORY="multimedia"
   15.10 -SHORT_DESC="Music on console."
   15.11 +SHORT_DESC="Music on console"
   15.12  MAINTAINER="paul@slitaz.org"
   15.13  LICENSE="GPL2"
   15.14 +WEB_SITE="http://moc.daper.net/"
   15.15 +
   15.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   15.17 -WEB_SITE="http://moc.daper.net/"
   15.18  WGET_URL="http://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
   15.19  
   15.20 -DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
   15.21 -libsamplerate libsndfile libltdl ffmpeg ncurses db"
   15.22 +BUILD_DEPENDS_arm="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev"
   15.23  BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev db-dev \
   15.24  curl-dev libsamplerate-dev alsa-lib-dev ncurses-dev libsndfile-dev libsamplerate \
   15.25  libtool libmagic-dev"
   15.26  
   15.27 -# Handle cross compilation
   15.28 -case "$ARCH" in
   15.29 -	arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
   15.30 -esac
   15.31 +compile_rules() {
   15.32 +	export LIBTOOL=${HOST_SYSTEM}-libtool
   15.33  
   15.34 -# Rules to configure and make the package.
   15.35 -compile_rules()
   15.36 -{
   15.37 -	export LIBTOOL=${HOST_SYSTEM}-libtool
   15.38 -	./configure \
   15.39 -		--prefix=/usr \
   15.40 -		--infodir=/usr/share/info \
   15.41 -		--mandir=/usr/share/man \
   15.42 -		$CONFIGURE_ARGS &&
   15.43 -	make && make DESTDIR=$DESTDIR install
   15.44 +	./configure $CONFIGURE_ARGS &&
   15.45 +	fix libtool &&
   15.46 +	make &&
   15.47 +	make DESTDIR=$DESTDIR install
   15.48  }
   15.49  
   15.50 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.51 -genpkg_rules()
   15.52 -{
   15.53 -	mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
   15.54 -	cp -a $install/usr/bin $fs/usr
   15.55 -	cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
   15.56 -	cp -a $install/usr/share/doc/* $fs/usr/share/doc
   15.57 -	cp -a $install/usr/share/moc/* $fs/usr/share/moc
   15.58 -
   15.59 -	# strip unneeded libraries
   15.60 -	rm $fs/usr/lib/moc/decoder_plugins/*.*a
   15.61 +genpkg_rules() {
   15.62 +	copy @std
   15.63 +	DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
   15.64 +	libsamplerate libsndfile libltdl ffmpeg ncurses db"
   15.65  }
    16.1 --- a/modsecurity-apache/receipt	Mon Apr 16 22:50:58 2018 +0300
    16.2 +++ b/modsecurity-apache/receipt	Tue Apr 17 00:06:41 2018 +0300
    16.3 @@ -1,28 +1,27 @@
    16.4 -# SliTaz package receipt.
    16.5 +# SliTaz package receipt v2.
    16.6  
    16.7  PACKAGE="modsecurity-apache"
    16.8  VERSION="2.7.7"
    16.9  CATEGORY="network"
   16.10 -SHORT_DESC="Web application firewall engine."
   16.11 +SHORT_DESC="Web application firewall engine"
   16.12  MAINTAINER="pascal.bellard@slitaz.org"
   16.13 -TARBALL="${PACKAGE}_$VERSION.tar.gz"
   16.14  LICENSE="Apache"
   16.15  WEB_SITE="https://www.modsecurity.org/"
   16.16 +
   16.17 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
   16.18  WGET_URL="$WEB_SITE/tarball/$VERSION/$TARBALL"
   16.19  
   16.20 -DEPENDS="apache apr apr-util pcre util-linux-uuid curl zlib openssl"
   16.21  BUILD_DEPENDS="apache-dev apr-dev apr-util-dev pcre-dev libxml2-dev \
   16.22  util-linux-uuid-dev curl-dev"
   16.23  
   16.24 -# Rules to configure and make the package.
   16.25 -compile_rules()
   16.26 -{
   16.27 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
   16.28 -	make && make DESTDIR=$DESTDIR install
   16.29 +compile_rules() {
   16.30 +	./configure $CONFIGURE_ARGS &&
   16.31 +	fix libtool &&
   16.32 +	make &&
   16.33 +	make DESTDIR=$DESTDIR install
   16.34  }
   16.35  
   16.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.37 -genpkg_rules()
   16.38 -{
   16.39 -	cp -a $install/* $fs
   16.40 +genpkg_rules() {
   16.41 +	copy @std
   16.42 +	DEPENDS="apache apr apr-util pcre util-linux-uuid curl zlib openssl"
   16.43  }
    17.1 --- a/mondo/receipt	Mon Apr 16 22:50:58 2018 +0300
    17.2 +++ b/mondo/receipt	Tue Apr 17 00:06:41 2018 +0300
    17.3 @@ -1,28 +1,26 @@
    17.4 -# SliTaz package receipt.
    17.5 +# SliTaz package receipt v2.
    17.6  
    17.7  PACKAGE="mondo"
    17.8  VERSION="3.0.2"
    17.9  CATEGORY="system-tools"
   17.10 -SHORT_DESC="GPL disaster recovery solution."
   17.11 +SHORT_DESC="GPL disaster recovery solution"
   17.12  MAINTAINER="erjo@slitaz.org"
   17.13  LICENSE="GPL2"
   17.14  WEB_SITE="http://www.mondorescue.org/"
   17.15 +
   17.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   17.17  WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
   17.18  
   17.19 -DEPENDS="newt mindi coreutils-disk afio gawk"
   17.20  BUILD_DEPENDS="newt-dev"
   17.21  
   17.22 -# Rules to configure and make the package.
   17.23 -compile_rules()
   17.24 -{
   17.25 -	./configure $CONFIGURE_ARGS && make && make install
   17.26 +compile_rules() {
   17.27 +	./configure $CONFIGURE_ARGS &&
   17.28 +	fix libtool &&
   17.29 +	make &&
   17.30 +	make install
   17.31  }
   17.32  
   17.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.34 -genpkg_rules()
   17.35 -{
   17.36 -	mkdir -p $fs/usr/share
   17.37 -	cp -a $install/usr/sbin $fs/usr
   17.38 -	cp -a $install/usr/share/mondo $fs/usr/share
   17.39 +genpkg_rules() {
   17.40 +	copy @std
   17.41 +	DEPENDS="newt mindi coreutils-disk afio gawk"
   17.42  }
    18.1 --- a/mono/receipt	Mon Apr 16 22:50:58 2018 +0300
    18.2 +++ b/mono/receipt	Tue Apr 17 00:06:41 2018 +0300
    18.3 @@ -22,6 +22,7 @@
    18.4  	./configure \
    18.5  		--with-libgdiplus=installed \
    18.6  		$CONFIGURE_ARGS &&
    18.7 +	fix libtool &&
    18.8  	make -j1 &&
    18.9  	make install
   18.10  
    19.1 --- a/moserial/receipt	Mon Apr 16 22:50:58 2018 +0300
    19.2 +++ b/moserial/receipt	Tue Apr 17 00:06:41 2018 +0300
    19.3 @@ -1,44 +1,32 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="moserial"
    19.8  VERSION="2.32.1"
    19.9  CATEGORY="utilities"
   19.10 -SHORT_DESC="A gtk-based serial console."
   19.11 +SHORT_DESC="A GTK-based serial console"
   19.12  MAINTAINER="domcox@slitaz.org"
   19.13  LICENSE="GPL3"
   19.14 +WEB_SITE="https://live.gnome.org/moserial"
   19.15 +
   19.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   19.17 -WEB_SITE="https://live.gnome.org/moserial"
   19.18 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.19 -LOCALES="da de es fr pt_BR zh_CN"
   19.20 -TAGS="serial console"
   19.21 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.22  
   19.23 -DEPENDS="GConf gtk+"
   19.24  BUILD_DEPENDS="GConf-dev gnome-doc-utils intltool vala gtk+-dev"
   19.25  
   19.26 -# Rules to configure and make the package.
   19.27 -compile_rules()
   19.28 -{
   19.29 +compile_rules() {
   19.30  	# removing help
   19.31  	patch -Np3 -i $stuff/glade.patch
   19.32 -	# build
   19.33 -	./configure $CONFIGURE_ARGS \
   19.34 +
   19.35 +	./configure \
   19.36  		--disable-scrollkeeper \
   19.37 -		--prefix="/usr" &&
   19.38 +		$CONFIGURE_ARGS &&
   19.39 +	fix libtool &&
   19.40  	make &&
   19.41  	make DESTDIR=$DESTDIR install
   19.42  }
   19.43  
   19.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.45 -#
   19.46 -genpkg_rules()
   19.47 -{
   19.48 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale
   19.49 -	cp -a $install/usr/bin $fs/usr
   19.50 -	cp -a $install/usr/share/moserial $fs/usr/share
   19.51 -	cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
   19.52 -		$fs/usr/share/pixmaps
   19.53 -	for locale in $LOCALES; do
   19.54 -		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
   19.55 -	done
   19.56 -	chown -R root.root $fs
   19.57 +genpkg_rules() {
   19.58 +	copy @std *.mo
   19.59 +	DEPENDS="GConf gtk+"
   19.60 +	TAGS="serial console"
   19.61  }
    20.1 --- a/mpc-library/receipt	Mon Apr 16 22:50:58 2018 +0300
    20.2 +++ b/mpc-library/receipt	Tue Apr 17 00:06:41 2018 +0300
    20.3 @@ -19,7 +19,11 @@
    20.4  	./configure \
    20.5  		--disable-static \
    20.6  		$CONFIGURE_ARGS &&
    20.7 -	make && make html && make install && make install-html
    20.8 +	fix libtool &&
    20.9 +	make &&
   20.10 +	make html &&
   20.11 +	make install &&
   20.12 +	make install-html
   20.13  }
   20.14  
   20.15  genpkg_rules() {
    21.1 --- a/mpfr/receipt	Mon Apr 16 22:50:58 2018 +0300
    21.2 +++ b/mpfr/receipt	Tue Apr 17 00:06:41 2018 +0300
    21.3 @@ -23,7 +23,11 @@
    21.4  		--disable-static \
    21.5  		--enable-thread-safe \
    21.6  		$CONFIGURE_ARGS &&
    21.7 -	make && make html && make install && make install-html
    21.8 +	fix libtool &&
    21.9 +	make &&
   21.10 +	make html &&
   21.11 +	make install &&
   21.12 +	make install-html
   21.13  }
   21.14  
   21.15  testsuite() {
    22.1 --- a/mpg123/receipt	Mon Apr 16 22:50:58 2018 +0300
    22.2 +++ b/mpg123/receipt	Tue Apr 17 00:06:41 2018 +0300
    22.3 @@ -24,6 +24,7 @@
    22.4  		--with-default-audio=alsa \
    22.5  		$ARCH_ARGS \
    22.6  		$CONFIGURE_ARGS &&
    22.7 +	fix libtool &&
    22.8  	make &&
    22.9  	make install
   22.10  }
    23.1 --- a/mtd-utils/receipt	Mon Apr 16 22:50:58 2018 +0300
    23.2 +++ b/mtd-utils/receipt	Tue Apr 17 00:06:41 2018 +0300
    23.3 @@ -1,30 +1,26 @@
    23.4 -# SliTaz package receipt.
    23.5 +# SliTaz package receipt v2.
    23.6  
    23.7  PACKAGE="mtd-utils"
    23.8  VERSION="2.0.1"
    23.9  CATEGORY="base-system"
   23.10 -SHORT_DESC="Memory Technology Device Tools (including jff2)."
   23.11 +SHORT_DESC="Memory Technology Device Tools (including jff2)"
   23.12  MAINTAINER="pascal.bellard@slitaz.org"
   23.13  LICENSE="GPL2"
   23.14 +WEB_SITE="http://www.linux-mtd.infradead.org/"
   23.15 +
   23.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   23.17 -WEB_SITE="http://www.linux-mtd.infradead.org/"
   23.18  WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL"
   23.19  
   23.20 -DEPENDS="lzo zlib util-linux-uuid"
   23.21  BUILD_DEPENDS="acl-dev lzo-dev zlib-dev util-linux-uuid-dev"
   23.22  
   23.23 -# Rules to configure and make the package.
   23.24 -compile_rules()
   23.25 -{
   23.26 -	./configure \
   23.27 -		--prefix=/usr \
   23.28 -		$CONFIGURE_ARGS &&
   23.29 -	make && make DESTDIR=$DESTDIR install
   23.30 +compile_rules() {
   23.31 +	./configure $CONFIGURE_ARGS &&
   23.32 +	fix libtool &&
   23.33 +	make &&
   23.34 +	make DESTDIR=$DESTDIR install
   23.35  }
   23.36  
   23.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.38 -genpkg_rules()
   23.39 -{
   23.40 -	mkdir -p $fs/usr
   23.41 -	cp -a $install/usr/sbin $fs/usr
   23.42 +genpkg_rules() {
   23.43 +	copy @std
   23.44 +	DEPENDS="lzo zlib util-linux-uuid"
   23.45  }
    24.1 --- a/mtdev/receipt	Mon Apr 16 22:50:58 2018 +0300
    24.2 +++ b/mtdev/receipt	Tue Apr 17 00:06:41 2018 +0300
    24.3 @@ -18,7 +18,9 @@
    24.4  	./configure \
    24.5  		--disable-static \
    24.6  		$CONFIGURE_ARGS &&
    24.7 -	make && make install
    24.8 +	fix libtool &&
    24.9 +	make &&
   24.10 +	make install
   24.11  }
   24.12  
   24.13  genpkg_rules() {
    25.1 --- a/n2nc/receipt	Mon Apr 16 22:50:58 2018 +0300
    25.2 +++ b/n2nc/receipt	Tue Apr 17 00:06:41 2018 +0300
    25.3 @@ -3,7 +3,7 @@
    25.4  PACKAGE="n2nc"
    25.5  VERSION="r_133"
    25.6  CATEGORY="network"
    25.7 -SHORT_DESC="Nat 2 Nat COnnector"
    25.8 +SHORT_DESC="Nat 2 Nat Connector"
    25.9  MAINTAINER="pascal.bellard@slitaz.org"
   25.10  LICENSE="GPL2"
   25.11  WEB_SITE="http://n2nc.sourceforge.net/"
   25.12 @@ -21,11 +21,9 @@
   25.13  	autoheader
   25.14  	automake --force-missing --add-missing
   25.15  	autoconf
   25.16 -	./configure \
   25.17 -		--prefix=/usr \
   25.18 -		--mandir=/usr/share/man \
   25.19 -		--localstatedir=/var \
   25.20 -		$CONFIGURE_ARGS &&
   25.21 +
   25.22 +	./configure $CONFIGURE_ARGS &&
   25.23 +	fix libtool &&
   25.24  	make &&
   25.25  	make DESTDIR=$DESTDIR install
   25.26  }
    26.1 --- a/nagios-plugins/receipt	Mon Apr 16 22:50:58 2018 +0300
    26.2 +++ b/nagios-plugins/receipt	Tue Apr 17 00:06:41 2018 +0300
    26.3 @@ -17,15 +17,15 @@
    26.4  
    26.5  compile_rules() {
    26.6  	sed -i '/gets is a security hole/d' gl/stdio*.h
    26.7 +
    26.8  	./configure \
    26.9 -		--prefix=/usr \
   26.10  		--libexecdir=/usr/lib/nagios/plugins \
   26.11  		--with-nagios-user=nobody \
   26.12  		--with-nagios-group=nogroup \
   26.13  		--with-ping-command="/bin/ping -w %d -c %d %s" \
   26.14  		--with-fping-command="/usr/sbin/fping" \
   26.15 -		--mandir=/usr/share/man \
   26.16  		$CONFIGURE_ARGS &&
   26.17 +	fix libtool &&
   26.18  	make &&
   26.19  	make DESTDIR=$DESTDIR install &&
   26.20  	make DESTDIR=$DESTDIR install-root
    27.1 --- a/naim/receipt	Mon Apr 16 22:50:58 2018 +0300
    27.2 +++ b/naim/receipt	Tue Apr 17 00:06:41 2018 +0300
    27.3 @@ -18,6 +18,7 @@
    27.4  
    27.5  compile_rules() {
    27.6  	./configure $CONFIGURE_ARGS &&
    27.7 +	fix libtool &&
    27.8  	make -j1 &&
    27.9  	make -j1 DESTDIR=$DESTDIR install
   27.10  }
    28.1 --- a/navit/receipt	Mon Apr 16 22:50:58 2018 +0300
    28.2 +++ b/navit/receipt	Tue Apr 17 00:06:41 2018 +0300
    28.3 @@ -18,6 +18,7 @@
    28.4  
    28.5  compile_rules() {
    28.6  	./configure $CONFIGURE_ARGS &&
    28.7 +	fix libtool &&
    28.8  	make &&
    28.9  	make DESTDIR=$DESTDIR install
   28.10  }
    29.1 --- a/ncmpcpp/receipt	Mon Apr 16 22:50:58 2018 +0300
    29.2 +++ b/ncmpcpp/receipt	Tue Apr 17 00:06:41 2018 +0300
    29.3 @@ -13,29 +13,25 @@
    29.4  
    29.5  BUILD_DEPENDS="ncurses-dev taglib taglib-dev curl-dev libmpdclient-dev"
    29.6  
    29.7 -# Rules to configure and make the package.
    29.8 -compile_rules()
    29.9 -{
   29.10 +compile_rules() {
   29.11  	./configure \
   29.12 -		--prefix=/usr \
   29.13  		--enable-clock \
   29.14  		--with-taglib \
   29.15  		--with-curl \
   29.16 -		--mandir=/usr/share/man \
   29.17  		$CONFIGURE_ARGS &&
   29.18 -	make && make install
   29.19 +	fix libtool &&
   29.20 +	make &&
   29.21 +	make install || return 1
   29.22 +
   29.23 +	mkdir -p $install/etc/skel/.ncmpcpp/
   29.24 +	cp $install/usr/share/doc/ncmpcpp/config \
   29.25 +	   $install/usr/share/doc/ncmpcpp/keys     $install/etc/skel/.ncmpcpp/
   29.26  }
   29.27  
   29.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.29 -genpkg_rules()
   29.30 -{
   29.31 -	mkdir -p $fs/usr/share $fs/etc/skel/.ncmpcpp
   29.32 -	cp -a $install/usr/bin $fs/usr
   29.33 -	cp -a $install/usr/share/doc $fs/usr/share
   29.34 -	ln $fs/usr/share/doc/ncmpcpp/config $fs/etc/skel/.ncmpcpp
   29.35 -	ln $fs/usr/share/doc/ncmpcpp/keys $fs/etc/skel/.ncmpcpp
   29.36 -DEPENDS="ncurses taglib mpd curl libmpdclient"
   29.37 -TAGS="music audio player"
   29.38 +genpkg_rules() {
   29.39 +	copy @std
   29.40 +	DEPENDS="ncurses taglib mpd curl libmpdclient"
   29.41 +	TAGS="music audio player"
   29.42  }
   29.43  
   29.44  post_install() {
    30.1 --- a/neon/receipt	Mon Apr 16 22:50:58 2018 +0300
    30.2 +++ b/neon/receipt	Tue Apr 17 00:06:41 2018 +0300
    30.3 @@ -24,6 +24,7 @@
    30.4  		--enable-shared \
    30.5  		--disable-static \
    30.6  		$CONFIGURE_ARGS &&
    30.7 +	fix libtool &&
    30.8  	make &&
    30.9  	make install
   30.10  }