wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="udftools"
4 VERSION="2.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Tools for UDF filesystems and DVD/CD-R(W) drives"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pali/udftools/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="bash ncurses-dev readline-dev"
16 compile_rules()
17 {
18 sed -i 's|^inline|extern &|' \
19 include/libudffs.h
20 sed -i 's/(char\*)spm += /spm = (char*)spm + /' \
21 wrudf/wrudf.c
22 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
23 cdrwtool/cdrwtool.c \
24 pktsetup/pktsetup.c
26 ./configure &&
27 fix libtool &&
28 make &&
29 make DESTDIR=$install install
30 }
32 genpkg_rules()
33 {
34 copy @std
35 DEPENDS="ncurses readline"
36 }