wok-next rev 21473

updated udftools (1.0.0b3 -> 2.2)
author Hans-G?nter Theisgen
date Wed May 13 11:02:29 2020 +0100 (2020-05-13)
parents 13f780ae6111
children 17e6c5835bf6
files udftools/receipt
line diff
     1.1 --- a/udftools/receipt	Wed May 13 10:40:23 2020 +0100
     1.2 +++ b/udftools/receipt	Wed May 13 11:02:29 2020 +0100
     1.3 @@ -1,23 +1,27 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="udftools"
     1.7 -VERSION="1.0.0b3"
     1.8 +VERSION="2.2"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Tools for UDF filesystems and DVD/CD-R(W) drives"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://linux-udf.sourceforge.net/"
    1.14 +WEB_SITE="https://github.com/pali/udftools/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}releases/download/$VERSION/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="ncurses-dev readline-dev bash"
    1.21 +BUILD_DEPENDS="bash ncurses-dev readline-dev"
    1.22  
    1.23 -compile_rules() {
    1.24 -	sed -i 's|^inline|extern &|' include/libudffs.h
    1.25 -	sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
    1.26 +compile_rules()
    1.27 +{
    1.28 +	sed -i 's|^inline|extern &|' \
    1.29 +		include/libudffs.h
    1.30 +	sed -i 's/(char\*)spm += /spm = (char*)spm + /' \
    1.31 +		wrudf/wrudf.c
    1.32  	sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
    1.33 -		cdrwtool/cdrwtool.c pktsetup/pktsetup.c
    1.34 +		cdrwtool/cdrwtool.c \
    1.35 +		pktsetup/pktsetup.c
    1.36  
    1.37  	./configure &&
    1.38  	fix libtool &&
    1.39 @@ -25,7 +29,8 @@
    1.40  	make DESTDIR=$install install
    1.41  }
    1.42  
    1.43 -genpkg_rules() {
    1.44 +genpkg_rules()
    1.45 +{
    1.46  	copy @std
    1.47  	DEPENDS="ncurses readline"
    1.48  }