wok-next diff udftools/receipt @ rev 20775

quodlibet: remove non-existent package from bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 20:44:57 2018 +0300 (2018-06-06)
parents 1b1c3f6e30f6
children d5aab818505e
line diff
     1.1 --- a/udftools/receipt	Sun Apr 23 10:50:05 2017 +0200
     1.2 +++ b/udftools/receipt	Wed Jun 06 20:44:57 2018 +0300
     1.3 @@ -1,33 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="udftools"
     1.8  VERSION="1.0.0b3"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="tools for UDF filesystems and DVD/CD-R(W) drives."
    1.11 +SHORT_DESC="tools for UDF filesystems and DVD/CD-R(W) drives"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://linux-udf.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://linux-udf.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses readline"
    1.21  BUILD_DEPENDS="ncurses-dev readline-dev bash"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i 's|^inline|extern &|' include/libudffs.h
    1.28  	sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
    1.29  	sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
    1.30  		cdrwtool/cdrwtool.c pktsetup/pktsetup.c
    1.31 -	./configure --prefix=/usr &&
    1.32 +
    1.33 +	./configure &&
    1.34 +	fix libtool &&
    1.35  	make &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="ncurses readline"
    1.47  }