wok-next rev 19572

Up: gperf, expat, inetutils (added), perl-xml-parser, intltool, autoconf, automake.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 23 15:07:51 2016 +0200 (2016-12-23)
parents 8da249b2c8d7
children 35e3c24d2100
files autoconf/receipt automake/receipt expat-dev/receipt expat/receipt gperf/receipt inetutils/receipt intltool/receipt perl-xml-parser/receipt
line diff
     1.1 --- a/autoconf/receipt	Fri Dec 23 03:55:33 2016 +0200
     1.2 +++ b/autoconf/receipt	Fri Dec 23 15:07:51 2016 +0200
     1.3 @@ -6,32 +6,25 @@
     1.4  SHORT_DESC="A GNU tool for automatically configuring source code"
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="http://www.gnu.org/software/autoconf/"
     1.8 +WEB_SITE="https://www.gnu.org/software/autoconf/autoconf.html"
     1.9 +
    1.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.11  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13  DEPENDS="m4 perl"
    1.14  BUILD_DEPENDS="m4 perl"
    1.15  
    1.16 -# Rules to compile & install the temporary toolchain.
    1.17 -cook_tmp_toolchain()
    1.18 -{
    1.19 -	./configure && make && make install
    1.20 -}
    1.21 -
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	./configure $CONFIGURE_ARGS &&
    1.26 -	make &&
    1.27 -	make install
    1.28 +	./configure $CONFIGURE_ARGS && make && make install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34 +	cook_copy_folders bin
    1.35  	mkdir -p $fs/usr/share
    1.36 -	cp -a $install/usr/bin $fs/usr
    1.37  	cp -a $install/usr/share/autoconf $fs/usr/share
    1.38  	rm -f $fs/usr/share/autoconf/INSTALL
    1.39  }
     2.1 --- a/automake/receipt	Fri Dec 23 03:55:33 2016 +0200
     2.2 +++ b/automake/receipt	Fri Dec 23 15:07:51 2016 +0200
     2.3 @@ -1,37 +1,39 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="automake"
     2.7 -VERSION="1.14.1"
     2.8 +VERSION="1.15"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="A GNU tool for automatically creating Makefiles"
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -WEB_SITE="http://www.gnu.org/software/automake/"
    2.14 +WEB_SITE="https://www.gnu.org/software/automake/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    2.18  
    2.19  DEPENDS="autoconf"
    2.20 -BUILD_DEPENDS="autoconf bison flex"
    2.21 -
    2.22 -# Rules to compile & install the temporary toolchain.
    2.23 -cook_tmp_toolchain()
    2.24 -{
    2.25 -	./configure && make && make install
    2.26 -}
    2.27 +BUILD_DEPENDS="autoconf bison flex gfortran"
    2.28  
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	./configure $CONFIGURE_ARGS &&
    2.33 +	sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in
    2.34 +
    2.35 +	./configure \
    2.36 +		--docdir=/usr/share/doc/automake-$VERSION \
    2.37 +		$CONFIGURE_ARGS &&
    2.38  	make &&
    2.39  	make install
    2.40 +
    2.41 +	# Save space by symlinking duplicates
    2.42 +	cd $install/usr/bin
    2.43 +	rm aclocal;  find . -name 'aclocal-*'  -exec ln -s \{\} aclocal  \;
    2.44 +	rm automake; find . -name 'automake-*' -exec ln -s \{\} automake \;
    2.45  }
    2.46  
    2.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.48  genpkg_rules()
    2.49  {
    2.50  	cp -a $install/* $fs
    2.51 -	ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal
    2.52 -	ln -sf automake-${VERSION%.*} $fs/usr/bin/automake
    2.53  	rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man
    2.54  }
     3.1 --- a/expat-dev/receipt	Fri Dec 23 03:55:33 2016 +0200
     3.2 +++ b/expat-dev/receipt	Fri Dec 23 15:07:51 2016 +0200
     3.3 @@ -1,22 +1,19 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="expat-dev"
     3.7 -VERSION="2.1.0"
     3.8 +VERSION="2.2.0"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="XML parsing library devel files."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12  LICENSE="MIT"
    3.13  WEB_SITE="http://expat.sourceforge.net/"
    3.14 -WANTED="expat"
    3.15  HOST_ARCH="i486 arm"
    3.16  
    3.17 +WANTED="expat"
    3.18  DEPENDS="expat"
    3.19  
    3.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.21  genpkg_rules()
    3.22  {
    3.23 -	mkdir -p $fs/usr/lib
    3.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.26 -	cp -a $install/usr/include $fs/usr
    3.27 +	cook_copy_files *.h *.*a *.pc
    3.28  }
     4.1 --- a/expat/receipt	Fri Dec 23 03:55:33 2016 +0200
     4.2 +++ b/expat/receipt	Fri Dec 23 15:07:51 2016 +0200
     4.3 @@ -1,30 +1,31 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="expat"
     4.7 -VERSION="2.1.0"
     4.8 +VERSION="2.2.0"
     4.9  CATEGORY="x-window"
    4.10  SHORT_DESC="XML parsing C library"
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12  LICENSE="MIT"
    4.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.14  WEB_SITE="http://expat.sourceforge.net/"
    4.15 +HOST_ARCH="i486 arm"
    4.16 +
    4.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.19 -HOST_ARCH="i486 arm"
    4.20  
    4.21  # Rules to configure and make the package.
    4.22  compile_rules()
    4.23  {
    4.24 -	./configure $CONFIGURE_ARGS &&
    4.25 -	make && make DESTDIR=$DESTDIR install
    4.26 +	./configure \
    4.27 +		--disable-static \
    4.28 +		$CONFIGURE_ARGS &&
    4.29 +	make && make DESTDIR=$install install
    4.30 +
    4.31 +	docdir="$install/usr/share/doc/expat-$VERSION"
    4.32 +	mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1
    4.33  }
    4.34  
    4.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.36  genpkg_rules()
    4.37  {
    4.38 -	mkdir -p $fs/usr/lib $fs/usr/bin
    4.39 -	cp -a $install/usr/bin/* $fs/usr/bin
    4.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.41 -	# expat so.0 symbolic link.
    4.42 -	cd $fs/usr/lib
    4.43 -	ln -s libexpat.so.1.*.* libexpat.so.0
    4.44 +	cook_copy_files xmlwf *.so*
    4.45  }
     5.1 --- a/gperf/receipt	Fri Dec 23 03:55:33 2016 +0200
     5.2 +++ b/gperf/receipt	Fri Dec 23 15:07:51 2016 +0200
     5.3 @@ -6,22 +6,23 @@
     5.4  SHORT_DESC="GNU gperf is a perfect hash function generator."
     5.5  MAINTAINER="pankso@slitaz.org"
     5.6  LICENSE="GPL3"
     5.7 +WEB_SITE="https://www.gnu.org/software/gperf/"
     5.8 +HOST_ARCH="i486 arm"
     5.9 +
    5.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.11 -WEB_SITE="http://www.gnu.org/software/gperf/"
    5.12  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    5.13 -HOST_ARCH="i486 arm"
    5.14  
    5.15  # Rules to configure and make the package.
    5.16  compile_rules()
    5.17  {
    5.18 -	./configure $CONFIGURE_ARGS
    5.19 +	./configure \
    5.20 +		--docdir=/usr/share/doc/gperf-$VERSION \
    5.21 +		$CONFIGURE_ARGS &&
    5.22  	make && make install
    5.23  }
    5.24  
    5.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.26  genpkg_rules()
    5.27  {
    5.28 -	mkdir -p $fs/usr
    5.29 -	cp -a $install/usr/bin $fs/usr
    5.30 +	cook_copy_folders bin
    5.31  }
    5.32 -
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/inetutils/receipt	Fri Dec 23 15:07:51 2016 +0200
     6.3 @@ -0,0 +1,43 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="inetutils"
     6.7 +VERSION="1.9.4"
     6.8 +CATEGORY="base-system"
     6.9 +SHORT_DESC="Programs for basic networking"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="GPL3"
    6.12 +WEB_SITE="https://www.gnu.org/software/inetutils/"
    6.13 +
    6.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.15 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    6.16 +
    6.17 +DEPENDS="readline"
    6.18 +BUILD_DEPENDS=""
    6.19 +
    6.20 +# Rules to configure and make the package.
    6.21 +compile_rules()
    6.22 +{
    6.23 +	./configure \
    6.24 +		--localstatedir=/var \
    6.25 +		--disable-logger \
    6.26 +		--disable-whois \
    6.27 +		--disable-rcp \
    6.28 +		--disable-rexec \
    6.29 +		--disable-rlogin \
    6.30 +		--disable-rsh \
    6.31 +		--disable-servers \
    6.32 +		$CONFIGURE_ARGS &&
    6.33 +	make && make install
    6.34 +
    6.35 +	mkdir -p $install/bin $install/sbin
    6.36 +	for i in hostname ping ping6 traceroute; do
    6.37 +		mv $install/usr/bin/$i $install/bin
    6.38 +	done
    6.39 +	mv $install/usr/bin/ifconfig $install/sbin
    6.40 +}
    6.41 +
    6.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.43 +genpkg_rules()
    6.44 +{
    6.45 +	cook_copy_folders bin sbin
    6.46 +}
     7.1 --- a/intltool/receipt	Fri Dec 23 03:55:33 2016 +0200
     7.2 +++ b/intltool/receipt	Fri Dec 23 15:07:51 2016 +0200
     7.3 @@ -1,15 +1,16 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="intltool"
     7.7 -VERSION="0.50.2"
     7.8 +VERSION="0.51.0"
     7.9  CATEGORY="development"
    7.10  SHORT_DESC="Translation tools (PO, XML)."
    7.11  MAINTAINER="pankso@slitaz.org"
    7.12  LICENSE="GPL2"
    7.13 +WEB_SITE="https://freedesktop.org/wiki/Software/intltool/"
    7.14 +HOST_ARCH="i486 arm"
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.17 -WEB_SITE="https://edge.launchpad.net/intltool"
    7.18 -WGET_URL="https://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL"
    7.19 -HOST_ARCH="i486 arm"
    7.20 +WGET_URL="http://launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL"
    7.21  
    7.22  DEPENDS="perl perl-xml-parser gettext"
    7.23  BUILD_DEPENDS="perl perl-xml-parser wget"
    7.24 @@ -17,20 +18,16 @@
    7.25  # Rules to configure and make the package.
    7.26  compile_rules()
    7.27  {
    7.28 -	cd $src
    7.29 -	./configure \
    7.30 -		--prefix=/usr \
    7.31 -		$CONFIGURE_ARGS &&
    7.32 -	make &&
    7.33 -	make DESTDIR=$DESTDIR install
    7.34 +	sed -i 's:\\\${:\\\$\\{:' intltool-update.in
    7.35 +
    7.36 +	./configure $CONFIGURE_ARGS && make && make install
    7.37 +
    7.38 +	docdir="$install/usr/share/doc/intltool-$VERSION"
    7.39 +	mkdir -p $docdir; cp doc/I18N-HOWTO $docdir
    7.40  }
    7.41  
    7.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.43  genpkg_rules()
    7.44  {
    7.45 -	mkdir -p $fs/usr/share
    7.46 -	cp -a $install/usr/bin $fs/usr
    7.47 -	cp -a $install/usr/share/aclocal $fs/usr/share
    7.48 -	cp -a $install/usr/share/intltool $fs/usr/share
    7.49 -	chmod +x $fs/usr/bin/*
    7.50 +	cook_copy_folders bin aclocal intltool
    7.51  }
     8.1 --- a/perl-xml-parser/receipt	Fri Dec 23 03:55:33 2016 +0200
     8.2 +++ b/perl-xml-parser/receipt	Fri Dec 23 15:07:51 2016 +0200
     8.3 @@ -1,23 +1,23 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="perl-xml-parser"
     8.7 -VERSION="2.41"
     8.8 +VERSION="2.44"
     8.9  CATEGORY="development"
    8.10  SHORT_DESC="XML::Parser module is a Perl extension interface to XML expat."
    8.11  MAINTAINER="pankso@slitaz.org"
    8.12  LICENSE="GPL"
    8.13 +WEB_SITE="https://github.com/chorny/XML-Parser"
    8.14 +HOST_ARCH="i486 arm"
    8.15 +
    8.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.17 +WGET_URL="http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-$VERSION.tar.gz"
    8.18 +
    8.19  DEPENDS="perl expat"
    8.20  BUILD_DEPENDS="perl expat-dev"
    8.21 -SOURCE="XML-Parser"
    8.22 -TARBALL="$SOURCE-$VERSION.tar.gz"
    8.23 -WEB_SITE="http://search.cpan.org/dist/XML-Parser/"
    8.24 -WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$TARBALL"
    8.25 -HOST_ARCH="i486 arm"
    8.26  
    8.27  # Rules to configure and make the package.
    8.28  compile_rules()
    8.29  {
    8.30 -	cd $src
    8.31  	perl Makefile.PL &&
    8.32  	make &&
    8.33  	make DESTDIR=$DESTDIR install
    8.34 @@ -26,7 +26,5 @@
    8.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.36  genpkg_rules()
    8.37  {
    8.38 -	mkdir -p $fs/usr
    8.39 -	cp -a $install/usr/lib $fs/usr
    8.40 +	cook_copy_folders lib
    8.41  }
    8.42 -