wok-next diff udftools/receipt @ rev 21715
Up cookutils (1146)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 28 07:53:22 2020 +0000 (2020-07-28) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/udftools/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/udftools/receipt Tue Jul 28 07:53:22 2020 +0000 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 }