wok-next view udftools/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents f80eb6a9a6ac
children 10df65db91ad
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://linux-udf.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
13 DEPENDS="ncurses readline"
14 BUILD_DEPENDS="ncurses-dev readline-dev bash"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|^inline|extern &|' include/libudffs.h
20 sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
21 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
22 cdrwtool/cdrwtool.c pktsetup/pktsetup.c
23 ./configure --prefix=/usr &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }