wok-next annotate udftools/receipt @ rev 21578

updated davfs2 (1.5.4 -> 1.5.6)
author Hans-G?nter Theisgen
date Tue Jun 23 15:33:53 2020 +0100 (2020-06-23)
parents d5aab818505e
children
rev   line source
al@20604 1 # SliTaz package receipt v2.
pascal@15209 2
pascal@15209 3 PACKAGE="udftools"
Hans-G?nter@21473 4 VERSION="2.2"
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"
Hans-G?nter@21473 9 WEB_SITE="https://github.com/pali/udftools/"
al@20604 10
pascal@15209 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21473 12 WGET_URL="${WEB_SITE}releases/download/$VERSION/$TARBALL"
pascal@15209 13
Hans-G?nter@21473 14 BUILD_DEPENDS="bash ncurses-dev readline-dev"
pascal@15209 15
Hans-G?nter@21473 16 compile_rules()
Hans-G?nter@21473 17 {
Hans-G?nter@21473 18 sed -i 's|^inline|extern &|' \
Hans-G?nter@21473 19 include/libudffs.h
Hans-G?nter@21473 20 sed -i 's/(char\*)spm += /spm = (char*)spm + /' \
Hans-G?nter@21473 21 wrudf/wrudf.c
pascal@15209 22 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
Hans-G?nter@21473 23 cdrwtool/cdrwtool.c \
Hans-G?nter@21473 24 pktsetup/pktsetup.c
al@20604 25
al@20604 26 ./configure &&
al@20604 27 fix libtool &&
pascal@15209 28 make &&
al@21020 29 make DESTDIR=$install install
pascal@15209 30 }
pascal@15209 31
Hans-G?nter@21473 32 genpkg_rules()
Hans-G?nter@21473 33 {
al@20604 34 copy @std
al@20604 35 DEPENDS="ncurses readline"
pascal@15209 36 }