wok diff udftools/receipt @ rev 20132

Up dahdi-* (2.11.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 28 11:09:42 2017 +0200 (2017-10-28)
parents
children 1be66a08b81f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/udftools/receipt	Sat Oct 28 11:09:42 2017 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="udftools"
     1.7 +VERSION="1.0.0b3"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="tools for UDF filesystems and DVD/CD-R(W) drives."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://linux-udf.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
    1.15 +
    1.16 +DEPENDS="ncurses readline"
    1.17 +BUILD_DEPENDS="ncurses-dev readline-dev bash"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
    1.23 +	sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
    1.24 +		cdrwtool/cdrwtool.c pktsetup/pktsetup.c
    1.25 +	./configure --prefix=/usr &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +}