wok-next view udftools/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 10df65db91ad |
children | e5d0942bb3d9 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="udftools"
4 VERSION="1.0.0b3"
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="http://linux-udf.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev readline-dev bash"
16 compile_rules() {
17 sed -i 's|^inline|extern &|' include/libudffs.h
18 sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
19 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
20 cdrwtool/cdrwtool.c pktsetup/pktsetup.c
22 ./configure &&
23 fix libtool &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="ncurses readline"
31 }