# HG changeset patch # User Aleksej Bobylev # Date 1482498471 -7200 # Node ID c740762c8991a903c817ed774ca31b41bbf157b9 # Parent 8da249b2c8d755919b40b79598f078ab72970821 Up: gperf, expat, inetutils (added), perl-xml-parser, intltool, autoconf, automake. diff -r 8da249b2c8d7 -r c740762c8991 autoconf/receipt --- a/autoconf/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/autoconf/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -6,32 +6,25 @@ SHORT_DESC="A GNU tool for automatically configuring source code" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.gnu.org/software/autoconf/" +WEB_SITE="https://www.gnu.org/software/autoconf/autoconf.html" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" DEPENDS="m4 perl" BUILD_DEPENDS="m4 perl" -# Rules to compile & install the temporary toolchain. -cook_tmp_toolchain() -{ - ./configure && make && make install -} - # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS && - make && - make install + ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + cook_copy_folders bin mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/autoconf $fs/usr/share rm -f $fs/usr/share/autoconf/INSTALL } diff -r 8da249b2c8d7 -r c740762c8991 automake/receipt --- a/automake/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/automake/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -1,37 +1,39 @@ # SliTaz package receipt. PACKAGE="automake" -VERSION="1.14.1" +VERSION="1.15" CATEGORY="development" SHORT_DESC="A GNU tool for automatically creating Makefiles" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.gnu.org/software/automake/" +WEB_SITE="https://www.gnu.org/software/automake/" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" DEPENDS="autoconf" -BUILD_DEPENDS="autoconf bison flex" - -# Rules to compile & install the temporary toolchain. -cook_tmp_toolchain() -{ - ./configure && make && make install -} +BUILD_DEPENDS="autoconf bison flex gfortran" # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS && + sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in + + ./configure \ + --docdir=/usr/share/doc/automake-$VERSION \ + $CONFIGURE_ARGS && make && make install + + # Save space by symlinking duplicates + cd $install/usr/bin + rm aclocal; find . -name 'aclocal-*' -exec ln -s \{\} aclocal \; + rm automake; find . -name 'automake-*' -exec ln -s \{\} automake \; } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs - ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal - ln -sf automake-${VERSION%.*} $fs/usr/bin/automake rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man } diff -r 8da249b2c8d7 -r c740762c8991 expat-dev/receipt --- a/expat-dev/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/expat-dev/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -1,22 +1,19 @@ # SliTaz package receipt. PACKAGE="expat-dev" -VERSION="2.1.0" +VERSION="2.2.0" CATEGORY="development" SHORT_DESC="XML parsing library devel files." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" WEB_SITE="http://expat.sourceforge.net/" -WANTED="expat" HOST_ARCH="i486 arm" +WANTED="expat" DEPENDS="expat" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + cook_copy_files *.h *.*a *.pc } diff -r 8da249b2c8d7 -r c740762c8991 expat/receipt --- a/expat/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/expat/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -1,30 +1,31 @@ # SliTaz package receipt. PACKAGE="expat" -VERSION="2.1.0" +VERSION="2.2.0" CATEGORY="x-window" SHORT_DESC="XML parsing C library" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://expat.sourceforge.net/" +HOST_ARCH="i486 arm" + +TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + make && make DESTDIR=$install install + + docdir="$install/usr/share/doc/expat-$VERSION" + mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/bin - cp -a $install/usr/bin/* $fs/usr/bin - cp -a $install/usr/lib/*.so* $fs/usr/lib - # expat so.0 symbolic link. - cd $fs/usr/lib - ln -s libexpat.so.1.*.* libexpat.so.0 + cook_copy_files xmlwf *.so* } diff -r 8da249b2c8d7 -r c740762c8991 gperf/receipt --- a/gperf/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/gperf/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -6,22 +6,23 @@ SHORT_DESC="GNU gperf is a perfect hash function generator." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/gperf/" +HOST_ARCH="i486 arm" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/gperf/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" -HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS + ./configure \ + --docdir=/usr/share/doc/gperf-$VERSION \ + $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin } - diff -r 8da249b2c8d7 -r c740762c8991 inetutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inetutils/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="inetutils" +VERSION="1.9.4" +CATEGORY="base-system" +SHORT_DESC="Programs for basic networking" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/inetutils/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="readline" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --localstatedir=/var \ + --disable-logger \ + --disable-whois \ + --disable-rcp \ + --disable-rexec \ + --disable-rlogin \ + --disable-rsh \ + --disable-servers \ + $CONFIGURE_ARGS && + make && make install + + mkdir -p $install/bin $install/sbin + for i in hostname ping ping6 traceroute; do + mv $install/usr/bin/$i $install/bin + done + mv $install/usr/bin/ifconfig $install/sbin +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders bin sbin +} diff -r 8da249b2c8d7 -r c740762c8991 intltool/receipt --- a/intltool/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/intltool/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="intltool" -VERSION="0.50.2" +VERSION="0.51.0" CATEGORY="development" SHORT_DESC="Translation tools (PO, XML)." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://freedesktop.org/wiki/Software/intltool/" +HOST_ARCH="i486 arm" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://edge.launchpad.net/intltool" -WGET_URL="https://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL" -HOST_ARCH="i486 arm" +WGET_URL="http://launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL" DEPENDS="perl perl-xml-parser gettext" BUILD_DEPENDS="perl perl-xml-parser wget" @@ -17,20 +18,16 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + sed -i 's:\\\${:\\\$\\{:' intltool-update.in + + ./configure $CONFIGURE_ARGS && make && make install + + docdir="$install/usr/share/doc/intltool-$VERSION" + mkdir -p $docdir; cp doc/I18N-HOWTO $docdir } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/aclocal $fs/usr/share - cp -a $install/usr/share/intltool $fs/usr/share - chmod +x $fs/usr/bin/* + cook_copy_folders bin aclocal intltool } diff -r 8da249b2c8d7 -r c740762c8991 perl-xml-parser/receipt --- a/perl-xml-parser/receipt Fri Dec 23 03:55:33 2016 +0200 +++ b/perl-xml-parser/receipt Fri Dec 23 15:07:51 2016 +0200 @@ -1,23 +1,23 @@ # SliTaz package receipt. PACKAGE="perl-xml-parser" -VERSION="2.41" +VERSION="2.44" CATEGORY="development" SHORT_DESC="XML::Parser module is a Perl extension interface to XML expat." MAINTAINER="pankso@slitaz.org" LICENSE="GPL" +WEB_SITE="https://github.com/chorny/XML-Parser" +HOST_ARCH="i486 arm" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-$VERSION.tar.gz" + DEPENDS="perl expat" BUILD_DEPENDS="perl expat-dev" -SOURCE="XML-Parser" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://search.cpan.org/dist/XML-Parser/" -WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$TARBALL" -HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { - cd $src perl Makefile.PL && make && make DESTDIR=$DESTDIR install @@ -26,7 +26,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib } -