# HG changeset patch # User Aleksej Bobylev # Date 1530140022 -10800 # Node ID 25585466953bd4df58bc138329db4c4eeae65962 # Parent 523cce42deabf0eab610ecccbd5bf4b642eadbe5 lzip: up (1.20); rpm4 -> rpm: up (4.14.1) diff -r 523cce42deab -r 25585466953b lzip/receipt --- a/lzip/receipt Thu Jun 28 00:30:02 2018 +0300 +++ b/lzip/receipt Thu Jun 28 01:53:42 2018 +0300 @@ -1,31 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lzip" -VERSION="1.16" +VERSION="1.20" CATEGORY="utilities" -SHORT_DESC="LZMA compressor" +SHORT_DESC="LZMA lossless data compressor" MAINTAINER="mimas@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.nongnu.org/lzip/lzip.html" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.nongnu.org/lzip/lzip.html" WGET_URL="http://download.savannah.gnu.org/releases/lzip/$TARBALL" -DEPENDS="gcc-lib-base" - -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr $CONFIGURE_ARGS && +compile_rules() { + ./configure \ + --prefix=/usr && make && - make DESTDIR=$DESTDIR install + make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr -# cp $src/lzdiff $fs/usr/bin -# cp $src/lzgrep $fs/usr/bin +genpkg_rules() { + copy @std } - diff -r 523cce42deab -r 25585466953b rpm/.icon.png Binary file rpm/.icon.png has changed diff -r 523cce42deab -r 25585466953b rpm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rpm/receipt Thu Jun 28 01:53:42 2018 +0300 @@ -0,0 +1,56 @@ +# SliTaz package receipt v2. + +PACKAGE="rpm" +VERSION="4.14.1" +CATEGORY="system-tools" +SHORT_DESC="RPM Package Manager" +MAINTAINER="erjo@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://rpm.org/" + +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="http://ftp.rpm.org/releases/rpm-${VERSION%.*}.x/$TARBALL" +# integrity check: http://rpm.org/download.html -> Release notes +TARBALL_SHA256="43f40e2ccc3ca65bd3238f8c9f8399d4957be0878c2e83cba2746d2d0d96793b" + +BUILD_DEPENDS="p7zip-full gnupg zlib-dev bzip2-dev xz-dev zstd-dev \ +elfutils-dev nss-dev nspr-dev libmagic-dev popt-dev libarchive-dev db-dev \ +gettext dbus-dev" +SPLIT="rpm-dev" + +compile_rules() { + ./configure \ + --without-lua \ + $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + rpm) + copy @std + DEPENDS="bzlib dbus elfutils libarchive libdb liblzma libmagic nss \ + popt python zlib zstd" + SUGGESTED="p7zip-full gnupg" + TAGS="package-manager" + ;; + *-dev) + copy @dev + DEPENDS="rpm bzip2-dev db-dev nss-dev popt-dev xz-dev zlib-dev \ + zstd-dev" + ;; + esac +} + +# Building rpm database. +post_install() { + chroot "$1/" rpm --initdb --quiet +} + +pre_remove() { + if [ -d "$1/var/lib/rpm" ]; then + rm -f "$1"/var/lib/rpm/* + fi +} diff -r 523cce42deab -r 25585466953b rpm4/receipt --- a/rpm4/receipt Thu Jun 28 00:30:02 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="rpm4" -VERSION="4.10.0" -CATEGORY="system-tools" -SHORT_DESC="RPM Package Manager" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -SOURCE="rpm" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WEB_SITE="http://www.rpm.org/" -WGET_URL="http://www.rpm.org/releases/rpm-${VERSION:0:4}.x/$TARBALL" -TAGS="package-manager" - -DEPENDS="popt beecrypt bzlib expat sqlite3 zlib gcc-lib-base neon libkrb5 \ -libcomerr3 nss nspr db liblzma libmagic" -BUILD_DEPENDS="beecrypt beecrypt-dev popt-dev gettext zlib-dev python-dev \ -nss-dev nspr-dev db-dev liblzma xz-dev libmagic-dev" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - CPPFLAGS="$CPPFLAGS -I/usr/include/nspr -I/usr/include/nss" ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --with-selinux=no \ - --with-lua=no \ - --with-dmalloc=no \ - --with-efence=no \ - --with-external-db \ - --localstatedir=/var \ - --mandir=/usr/share/man $CONFIGURE_ARGS && - make $MAKEFLAGS && - make DESTDIR=$DESTDIR install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/bin \ - $fs/usr/lib \ - $fs/var/lib/rpm \ - $fs/usr/src/redhat/SOURCES \ - $fs/usr/src/redhat/BUILD \ - $fs/usr/src/redhat/RPMS \ - $fs/usr/src/redhat/SPECS \ - $fs/usr/src/redhat/SRPMS - - cp -a $install/usr/bin $fs/usr - cp -a $install/bin/* $fs/usr/bin - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/rpm $fs/usr/lib -} - -post_install() -{ - cmd=$(readlink $root/bin/rpm) - if [ "$cmd" != '/usr/bin/rpm' ]; then - echo '' - echo "**** Actual RPM link : $cmd" - echo '' - echo -n 'Do you want rpm for /bin/rpm (Y/n) ? : '; read -t 30 anser - if [ "$anser" != 'n' ]; then - echo '' - action 'Removing rpm link to make a new one pointing on /usr/bin/rpm...' - rm $root/bin/rpm && ln -sf $root/usr/bin/rpm $root/bin/rpm - status - else - echo '' - echo "Leaving /bin/rpm to : $cmd" - fi - fi - - # Building rpm database. - $1/usr/bin/rpm --initdb --quiet -} - -pre_remove() -{ - if [ -d "$1/var/lib/rpm" ]; then - rm -f "$1"/var/lib/rpm/* - fi -} - -post_remove() -{ - cmd=$(readlink "$1/bin/rpm") - if [ "$cmd" != '/bin/rpm' ]; then - newline - action 'Restore applets from busybox...' - ln -sf /bin/busybox "$1/bin/rpm" - ln -sf /bin/busybox "$1/usr/bin/rpm2cpio" - status - fi -}