wok rev 22004

updated tar (1.30 -> 1.32)
author Hans-G?nter Theisgen
date Fri Oct 18 17:30:51 2019 +0100 (2019-10-18)
parents 571d4eaa24d6
children 0fd02e4c6b02
files tar-lang/receipt tar/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tar-lang/receipt	Fri Oct 18 17:30:51 2019 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tar-lang"
     1.7 +VERSION="1.32"
     1.8 +CATEGORY="utilities"
     1.9 +TAGS="archive compression"
    1.10 +SHORT_DESC="GNU tar archiving tools - localised messages."
    1.11 +MAINTAINER="maintainer@slitaz.org"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="https://www.gnu.org/software/tar/"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17 +
    1.18 +WANTED="tar"
    1.19 +
    1.20 +HOST_ARCH="any"
    1.21 +
    1.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 +genpkg_rules()
    1.24 +{
    1.25 +	# Set list of wanted locales in LOCALE_PACK
    1.26 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.27 +
    1.28 +	# Copy message file in wanted languages, if available
    1.29 +	for locale in $LOCALE_PACK
    1.30 +	  do
    1.31 +		[ - $install/usr/share/locale/$locale ] || continue
    1.32 +		mkdir -p $fs/usr/share/locale
    1.33 +		cp -a $install/usr/share/locale/$locale	$fs/usr/share/locale
    1.34 +	  done
    1.35 +}
     2.1 --- a/tar/receipt	Fri Oct 18 17:00:56 2019 +0100
     2.2 +++ b/tar/receipt	Fri Oct 18 17:30:51 2019 +0100
     2.3 @@ -1,29 +1,32 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="tar"
     2.7 -VERSION="1.30"
     2.8 +VERSION="1.32"
     2.9  CATEGORY="utilities"
    2.10 +TAGS="archive compression"
    2.11  SHORT_DESC="GNU tar archiving tools."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL3"
    2.14 +WEB_SITE="https://www.gnu.org/software/tar/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WEB_SITE="http://www.gnu.org/software/tar/"
    2.18 -WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    2.19 -TAGS="archive compression"
    2.20 -HOST_ARCH="i486 arm"
    2.21 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    2.22  
    2.23  DEPENDS="xz"
    2.24  
    2.25 +HOST_ARCH="i486 arm"
    2.26 +
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30  	# this is needed since configure can't be run as root with out it
    2.31  	export FORCE_UNSAFE_CONFIGURE=1
    2.32 -	./configure \
    2.33 -		--prefix=/usr \
    2.34 -		--libexecdir=/usr/lib/$PACKAGE \
    2.35 -		$CONFIGURE_ARGS
    2.36 -	make
    2.37 +
    2.38 +	./configure				\
    2.39 +		--prefix=/usr			\
    2.40 +		--libexecdir=/usr/lib/$PACKAGE	\
    2.41 +		$CONFIGURE_ARGS &&
    2.42 +	make &&
    2.43  	make DESTDIR=$DESTDIR install
    2.44  }
    2.45