wok diff libtar/receipt @ rev 21724

updated ptxdist again (2012.03.0 -> 2019.06.0)
author Hans-G?nter Theisgen
date Wed Jun 12 15:14:06 2019 +0100 (2019-06-12)
parents eeba7ab1dffe
children ede1d184d5c5
line diff
     1.1 --- a/libtar/receipt	Thu Jan 24 18:16:34 2019 +0100
     1.2 +++ b/libtar/receipt	Wed Jun 12 15:14:06 2019 +0100
     1.3 @@ -1,34 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libtar"
     1.7 -VERSION="1.2.11"
     1.8 +VERSION="1.2.20"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="C library for manipulating POSIX tar files."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://directory.fsf.org/wiki/Libtar"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://repo.or.cz/w/libtar.git/"
    1.17 -WGET_URL="ftp://ftp.feep.net/pub/software/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="http://pkgbuild.com/~giovanni/$PACKAGE/$TARBALL"
    1.19  
    1.20  DEPENDS="zlib"
    1.21 -BUILD_DEPENDS="zlib-dev"
    1.22 +BUILD_DEPENDS="automake libtool zlib-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 +	autoreconf --force --install
    1.33 +	./configure				\
    1.34 +		--prefix=/usr			\
    1.35 +		--infodir=/usr/share/info	\
    1.36 +		--mandir=/usr/share/man		\
    1.37  		$CONFIGURE_ARGS &&
    1.38 -	make && make DESTDIR=$DESTDIR install
    1.39 +	make -j 1 &&
    1.40 +	make DESTDIR=$DESTDIR install
    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 +	mkdir -p $fs/usr/lib
    1.49 +
    1.50 +	cp -a $install/usr/bin		$fs/usr
    1.51 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.52  }
    1.53 -