wok-next view udftools/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 1b1c3f6e30f6 |
children | d5aab818505e |
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=$DESTDIR install
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="ncurses readline"
31 }