wok rev 23966

updated dpkg (1.16.12 -> 1.17.27) see bug report 248
author Hans-G?nter Theisgen
date Sun Oct 04 06:59:31 2020 +0100 (3 months ago)
parents 3a911a85bdd5
children 235803441e80
files dpkg-lang/receipt dpkg/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dpkg-lang/receipt	Sun Oct 04 06:59:31 2020 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dpkg-lang"
     1.7 +VERSION="1.17.27"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Debian package management system - message files."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://wiki.debian.org/dpkg"
    1.13 +
    1.14 +WANTED="dpkg"
    1.15 +
    1.16 +HOST_ARCH="any"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	mkdir -p $fs/usr/share/locale
    1.22 +
    1.23 +	# Copy all message files
    1.24 +	for mf in $install/usr/share/locale/*/LC_MESSAGES/dpkg.mo
    1.25 +	  do
    1.26 +		lang=${mf/\/LC_MESSAGES\/dpkg.mo/}	# remove suffix
    1.27 +		lang=${lang##*/}			# remove prefix
    1.28 +		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.29 +		cp -a $mf	$fs/usr/share/locale/$lang/LC_MESSAGES
    1.30 +	  done
    1.31 +	for mf in $install/usr/share/locale/*/LC_MESSAGES/dselect.mo
    1.32 +	  do
    1.33 +		lang=${mf/\/LC_MESSAGES\/dselect.mo/}	# remove suffix
    1.34 +		lang=${lang##*/}			# remove prefix
    1.35 +		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.36 +		cp -a $mf	$fs/usr/share/locale/$lang/LC_MESSAGES
    1.37 +	  done
    1.38 +}
     2.1 --- a/dpkg/receipt	Fri Oct 02 16:50:09 2020 +0000
     2.2 +++ b/dpkg/receipt	Sun Oct 04 06:59:31 2020 +0100
     2.3 @@ -1,28 +1,40 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="dpkg"
     2.7 -VERSION="1.16.12"
     2.8 +VERSION="1.17.27"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Debian package management system"
    2.11  MAINTAINER="shann@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="https://wiki.debian.org/dpkg"
    2.15 -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +TARBALL="${PACKAGE}_$VERSION.tar.xz"
    2.18 +#WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"	# 1.16.12
    2.19 +WGET_URL="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$TARBALL"
    2.20 +
    2.21  DEPENDS="bzlib liblzma zlib"
    2.22 +BUILD_DEPENDS="liblzma-dev ncurses-dev perl"
    2.23  
    2.24  CONFIG_FILES="/etc/logrotate.d/dpkg
    2.25  /etc/cron.daily/dpkg
    2.26  /etc/alternatives/README
    2.27  /etc/dpkg/dpkg.cfg"
    2.28  
    2.29 +compile_rules()
    2.30 +{
    2.31 +	./configure &
    2.32 +	make &&
    2.33 +	make install
    2.34 +}
    2.35 +
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	mkdir -p $fs/etc/alternatives $fs/etc/dpkg $fs/etc/cron.daily $fs/etc/logrotate.d
    2.40 -	mkdir -p $fs/usr/share $fs/usr/sbin $fs/usr/sbin $fs/sbin
    2.41 -	cp -a $src/etc/* $fs/etc
    2.42 -	cp -a $src/sbin/* $fs/sbin
    2.43 -	cp -a $src/usr/* $fs/usr
    2.44 -        chown -R root.root $fs
    2.45 +	mkdir -p $fs/usr/share
    2.46 +
    2.47 +	cp -a $install/usr/etc		$fs
    2.48 +	cp -a $install/usr/sbin		$fs
    2.49 +	cp -a $install/usr/bin		$fs/usr
    2.50 +	cp -a $install/usr/share/dpkg	$fs/usr/share
    2.51 +	rm				$fs/usr/share/dpkg/*-mk
    2.52  }