# HG changeset patch # User Hans-G?nter Theisgen # Date 1578324662 -3600 # Node ID ea31fefd3ec414024ac6f45f5fb147db7626f020 # Parent 1d9e2a91579dbd0298ba72cae4ce2cc2d7d367b5 updated bzip2 and bzip2-dev (1.0.6 -> 1.0.8) diff -r 1d9e2a91579d -r ea31fefd3ec4 bzip2-dev/receipt --- a/bzip2-dev/receipt Mon Jan 06 15:51:49 2020 +0100 +++ b/bzip2-dev/receipt Mon Jan 06 16:31:02 2020 +0100 @@ -1,22 +1,24 @@ # SliTaz package receipt. PACKAGE="bzip2-dev" -VERSION="1.0.6" +VERSION="1.0.8" CATEGORY="development" -SHORT_DESC="High-quality data compressor dev files." +SHORT_DESC="High-quality data compressor - development files." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.bzip.org/" -HOST_ARCH="i486 arm" +WEB_SITE="https://sourceware.org/bzip2/" + +DEPENDS="bzip2" WANTED="bzip2" -DEPENDS="bzip2" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/include $fs/usr/lib - cp $src/*.h $fs/usr/include - cp -a $src/*.*a $fs/usr/lib + mkdir -p $fs/usr/include + mkdir -p $fs/usr/lib + + cp $src/*.h $fs/usr/include + cp -a $src/*.*a $fs/usr/lib } - diff -r 1d9e2a91579d -r ea31fefd3ec4 bzip2/receipt --- a/bzip2/receipt Mon Jan 06 15:51:49 2020 +0100 +++ b/bzip2/receipt Mon Jan 06 16:31:02 2020 +0100 @@ -1,35 +1,39 @@ # SliTaz package receipt. PACKAGE="bzip2" -VERSION="1.0.6" +VERSION="1.0.8" CATEGORY="utilities" +TAGS="compression archive" SHORT_DESC="High-quality data compressor." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" +WEB_SITE="https://sourceware.org/bzip2/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://sourceware.org/bzip2/" -WGET_URL="http://www.bzip.org/$VERSION/$TARBALL" -TAGS="compression archive" -HOST_ARCH="i486 arm" +WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL" DEPENDS="bzlib" BUILD_DEPENDS="" +HOST_ARCH="i486 arm" + # Rules to configure and make the package. compile_rules() { # Disable the tests since they won't work on a multi-architecture build cp Makefile Makefile.orig sed -e "/^all:/s/ test//" Makefile.orig > Makefile - + # No configure script, we must used CC, AR and RANLIB set by cook. case "$ARCH" in arm*) make -f Makefile-libbz2_so CC=${CC} AR=${AR} RANLIB=${RANLIB} && - make clean && make CC=${CC} AR=${AR} RANLIB=${RANLIB} ;; + make clean && + make CC=${CC} AR=${AR} RANLIB=${RANLIB} ;; *) make -f Makefile-libbz2_so && - make clean && make ;; + make clean && + make ;; esac cook_pick_manpages bzdiff.1 bzgrep.1 bzip2.1 bzmore.1 @@ -45,7 +49,8 @@ genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $src/bzip2-shared $fs/usr/bin/bzip2 + cp -a $src/bzip2-shared $fs/usr/bin/bzip2 + # Da bunzip2, bzcat and lib symlink. cd $fs/usr/bin ln -s bzip2 bunzip2 @@ -55,7 +60,7 @@ # Restore Busybox symlinks upon removal post_remove() { - ln -s /bin/busybox /usr/bin/bunzip2 - ln -s /bin/busybox /usr/bin/bzcat - #ln -s /bin/busybox /usr/bin/bzip2 + ln -s /bin/busybox /usr/bin/bunzip2 + ln -s /bin/busybox /usr/bin/bzcat + #ln -s /bin/busybox /usr/bin/bzip2 }