wok-next annotate udftools/receipt @ rev 21226

updated chocolate-doom (1.4.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Dec 03 16:21:36 2019 +0100 (2019-12-03)
parents 10df65db91ad
children e5d0942bb3d9
rev   line source
al@20604 1 # SliTaz package receipt v2.
pascal@15209 2
pascal@15209 3 PACKAGE="udftools"
pascal@15209 4 VERSION="1.0.0b3"
pascal@15209 5 CATEGORY="utilities"
al@21020 6 SHORT_DESC="Tools for UDF filesystems and DVD/CD-R(W) drives"
pascal@15209 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15209 8 LICENSE="GPL2"
al@20604 9 WEB_SITE="http://linux-udf.sourceforge.net/"
al@20604 10
pascal@15209 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15209 12 WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
pascal@15209 13
pascal@15209 14 BUILD_DEPENDS="ncurses-dev readline-dev bash"
pascal@15209 15
al@20604 16 compile_rules() {
pascal@19696 17 sed -i 's|^inline|extern &|' include/libudffs.h
pascal@15209 18 sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
pascal@15209 19 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
pascal@15209 20 cdrwtool/cdrwtool.c pktsetup/pktsetup.c
al@20604 21
al@20604 22 ./configure &&
al@20604 23 fix libtool &&
pascal@15209 24 make &&
al@21020 25 make DESTDIR=$install install
pascal@15209 26 }
pascal@15209 27
al@20604 28 genpkg_rules() {
al@20604 29 copy @std
al@20604 30 DEPENDS="ncurses readline"
pascal@15209 31 }