wok diff cdrdao/receipt @ rev 23985

linld: up to 60k for header.com
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 28 09:45:01 2020 +0000 (2020-11-28)
parents 6e8b1bcb30e2
children bfabe25c21ff
line diff
     1.1 --- a/cdrdao/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/cdrdao/receipt	Sat Nov 28 09:45:01 2020 +0000
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cdrdao"
     1.7 -VERSION="1.2.3"
     1.8 +VERSION="1.2.4"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Records audio/data CD-Rs using toc files"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://cdrdao.sourceforge.net/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="https://sourceforge.net/projects/cdrdao/"
    1.17 -WGET_URL="$WEB_SITE/$TARBALL"
    1.18 +WGET_URL="https://downloads.sourceforge.net/$PACKAGE/$TARBALL"
    1.19  
    1.20  DEPENDS="gcc-lib-base lame libmad libvorbis libao"
    1.21  BUILD_DEPENDS="lame-dev libmad-dev libvorbis-dev libao-dev libao libogg-dev"
    1.22 @@ -16,7 +17,6 @@
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27  	for i in trackdb/*.cc ; do
    1.28  		grep -q string.h $i && continue
    1.29  		grep -q util.h $i || continue
    1.30 @@ -27,8 +27,12 @@
    1.31  	grep -qs 'define u8' scsilib/libscg/scsi-linux-sg.c ||
    1.32  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.33  		scsilib/libscg/scsi-linux-sg.c
    1.34 -	patch -Np1 -i $stuff/$PACKAGE-$VERSION-stat.patch || return 1
    1.35 -	./configure --prefix=/usr --with-lame $CONFIGURE_ARGS &&
    1.36 +#	patch -Np1 -i $stuff/$PACKAGE-$VERSION-stat.patch || return 1
    1.37 +
    1.38 +	./configure \
    1.39 +		--prefix=/usr \
    1.40 +		--with-lame \
    1.41 +		$CONFIGURE_ARGS &&
    1.42  	make &&
    1.43  	make DESTDIR=$DESTDIR install
    1.44  }