# HG changeset patch # User Hans-G?nter Theisgen # Date 1601791171 -3600 # Node ID 649e94bd0cd2fd7522afdbe3f7ee14b20eacf3dc # Parent 3a911a85bdd593bdc9cb323919c2002a624a6149 updated dpkg (1.16.12 -> 1.17.27) see bug report 248 diff -r 3a911a85bdd5 -r 649e94bd0cd2 dpkg-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dpkg-lang/receipt Sun Oct 04 06:59:31 2020 +0100 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="dpkg-lang" +VERSION="1.17.27" +CATEGORY="misc" +SHORT_DESC="Debian package management system - message files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://wiki.debian.org/dpkg" + +WANTED="dpkg" + +HOST_ARCH="any" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/locale + + # Copy all message files + for mf in $install/usr/share/locale/*/LC_MESSAGES/dpkg.mo + do + lang=${mf/\/LC_MESSAGES\/dpkg.mo/} # remove suffix + lang=${lang##*/} # remove prefix + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES + cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES + done + for mf in $install/usr/share/locale/*/LC_MESSAGES/dselect.mo + do + lang=${mf/\/LC_MESSAGES\/dselect.mo/} # remove suffix + lang=${lang##*/} # remove prefix + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES + cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES + done +} diff -r 3a911a85bdd5 -r 649e94bd0cd2 dpkg/receipt --- a/dpkg/receipt Fri Oct 02 16:50:09 2020 +0000 +++ b/dpkg/receipt Sun Oct 04 06:59:31 2020 +0100 @@ -1,28 +1,40 @@ # SliTaz package receipt. PACKAGE="dpkg" -VERSION="1.16.12" +VERSION="1.17.27" CATEGORY="misc" SHORT_DESC="Debian package management system" MAINTAINER="shann@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://wiki.debian.org/dpkg" -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" + +TARBALL="${PACKAGE}_$VERSION.tar.xz" +#WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" # 1.16.12 +WGET_URL="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$TARBALL" + DEPENDS="bzlib liblzma zlib" +BUILD_DEPENDS="liblzma-dev ncurses-dev perl" CONFIG_FILES="/etc/logrotate.d/dpkg /etc/cron.daily/dpkg /etc/alternatives/README /etc/dpkg/dpkg.cfg" +compile_rules() +{ + ./configure & + make && + make install +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/etc/alternatives $fs/etc/dpkg $fs/etc/cron.daily $fs/etc/logrotate.d - mkdir -p $fs/usr/share $fs/usr/sbin $fs/usr/sbin $fs/sbin - cp -a $src/etc/* $fs/etc - cp -a $src/sbin/* $fs/sbin - cp -a $src/usr/* $fs/usr - chown -R root.root $fs + mkdir -p $fs/usr/share + + cp -a $install/usr/etc $fs + cp -a $install/usr/sbin $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/dpkg $fs/usr/share + rm $fs/usr/share/dpkg/*-mk }