wok diff lzip/receipt @ rev 25057

linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:05:30 2022 +0000 (2022-06-06)
parents 15650f5d595b
children fbe88431f963
line diff
     1.1 --- a/lzip/receipt	Fri Sep 17 10:35:57 2021 +0000
     1.2 +++ b/lzip/receipt	Mon Jun 06 11:05:30 2022 +0000
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lzip"
     1.7 -VERSION="1.21"
     1.8 +VERSION="1.23"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="LZMA compressor"
    1.11 +SHORT_DESC="LZMA compressor."
    1.12  MAINTAINER="mimas@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.nongnu.org/lzip/lzip.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.nongnu.org/lzip/lzip.html"
    1.18 -WGET_URL="http://download.savannah.gnu.org/releases/lzip/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20 +WGET_URL="https://download.savannah.gnu.org/releases/lzip/$TARBALL"
    1.21  
    1.22  DEPENDS="gcc-lib-base"
    1.23  
    1.24 +HOST_ARCH="i486 arm"
    1.25 +
    1.26  current_version()
    1.27  {
    1.28  	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.29 @@ -24,17 +26,16 @@
    1.30  {
    1.31  	mkdir -p $DESTDIR/usr/share/doc
    1.32  	cp README $DESTDIR/usr/share/doc
    1.33 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.34 +
    1.35 +	./configure		\
    1.36 +		--prefix=/usr	\
    1.37 +		$CONFIGURE_ARGS &&
    1.38  	make &&
    1.39 -	make DESTDIR=$DESTDIR install
    1.40 +	make install DESTDIR=$DESTDIR
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -#	cp $src/lzdiff $fs/usr/bin
    1.49 -#	cp $src/lzgrep $fs/usr/bin
    1.50 +	cook_copy_folders	bin
    1.51  }
    1.52 -