wok-6.x diff par2/receipt @ rev 21377

razorqt, rrdtool: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 10:58:42 2019 +0200 (2019-04-22)
parents 97e4114f1224
children b6ad3bff03b2
line diff
     1.1 --- a/par2/receipt	Thu May 11 12:48:03 2017 +0200
     1.2 +++ b/par2/receipt	Mon Apr 22 10:58:42 2019 +0200
     1.3 @@ -2,25 +2,26 @@
     1.4  
     1.5  PACKAGE="par2"
     1.6  SOURCE="par2cmdline"
     1.7 -VERSION="0.4"
     1.8 +VERSION="0.8.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Utility for posting and recovery of multi-part archives."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://parchive.sourceforge.net/"
    1.15 -WGET_URL="$SF_MIRROR/parchive/$TARBALL"
    1.16 +WGET_URL="https://github.com/Parchive/par2cmdline/archive/v$VERSION.tar.gz"
    1.17 +PROVIDE="par2cmdline"
    1.18  
    1.19  DEPENDS="gcc-lib-base"
    1.20 +BUILD_DEPENDS="automake"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	#http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
    1.26 -	patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true
    1.27 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.28 -	--mandir=/usr/share/man \
    1.29 -	$CONFIGURE_ARGS &&
    1.30 +	./automake.sh
    1.31 +	./configure --prefix=/usr \
    1.32 +		--mandir=/usr/share/man \
    1.33 +		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37 @@ -28,7 +29,7 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	cp -a $install/usr $fs
    1.42 -	mkdir -p $install/usr/share/doc
    1.43 -	cp $src/README $src/ROADMAP $install/usr/share/doc
    1.44 +	mkdir -p $fs/usr/share/doc
    1.45 +	cp $src/README $fs/usr/share/doc
    1.46 +	cp -a $install/usr/bin $fs/usr
    1.47  }