wok-next annotate udftools/receipt @ rev 20834
prosody: interesting, requires lua 5.1, and not 5.3
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:14:11 2018 +0000 (2018-06-17) |
parents | 1b1c3f6e30f6 |
children | d5aab818505e |
rev | line source |
---|---|
al@20604 | 1 # SliTaz package receipt v2. |
pascal@15209 | 2 |
pascal@15209 | 3 PACKAGE="udftools" |
pascal@15209 | 4 VERSION="1.0.0b3" |
pascal@15209 | 5 CATEGORY="utilities" |
al@20604 | 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" |
al@20604 | 9 WEB_SITE="http://linux-udf.sourceforge.net/" |
al@20604 | 10 |
pascal@15209 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15209 | 12 WGET_URL="$SF_MIRROR/linux-udf/$TARBALL" |
pascal@15209 | 13 |
pascal@15209 | 14 BUILD_DEPENDS="ncurses-dev readline-dev bash" |
pascal@15209 | 15 |
al@20604 | 16 compile_rules() { |
pascal@19696 | 17 sed -i 's|^inline|extern &|' include/libudffs.h |
pascal@15209 | 18 sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c |
pascal@15209 | 19 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \ |
pascal@15209 | 20 cdrwtool/cdrwtool.c pktsetup/pktsetup.c |
al@20604 | 21 |
al@20604 | 22 ./configure && |
al@20604 | 23 fix libtool && |
pascal@15209 | 24 make && |
pascal@15209 | 25 make DESTDIR=$DESTDIR install |
pascal@15209 | 26 } |
pascal@15209 | 27 |
al@20604 | 28 genpkg_rules() { |
al@20604 | 29 copy @std |
al@20604 | 30 DEPENDS="ncurses readline" |
pascal@15209 | 31 } |