wok annotate udftools/receipt @ rev 21989

fasm: build fasmarm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 18:06:41 2019 +0200 (2019-10-15)
parents f80eb6a9a6ac
children e388459b49c0
rev   line source
pascal@15209 1 # SliTaz package receipt.
pascal@15209 2
pascal@15209 3 PACKAGE="udftools"
pascal@15209 4 VERSION="1.0.0b3"
pascal@15209 5 CATEGORY="utilities"
pascal@15209 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"
pascal@15209 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15209 10 WEB_SITE="http://linux-udf.sourceforge.net/"
pascal@15209 11 WGET_URL="$SF_MIRROR/linux-udf/$TARBALL"
pascal@15209 12
pascal@15209 13 DEPENDS="ncurses readline"
pascal@20571 14 BUILD_DEPENDS="ncurses-dev readline-dev bash file"
pascal@15209 15
pascal@15209 16 # Rules to configure and make the package.
pascal@15209 17 compile_rules()
pascal@15209 18 {
pascal@15209 19 sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
pascal@15209 20 sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
pascal@15209 21 cdrwtool/cdrwtool.c pktsetup/pktsetup.c
pascal@15209 22 ./configure --prefix=/usr &&
pascal@15209 23 make &&
pascal@15209 24 make DESTDIR=$DESTDIR install
pascal@15209 25 }
pascal@15209 26
pascal@15209 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15209 28 genpkg_rules()
pascal@15209 29 {
pascal@15209 30 mkdir -p $fs/usr
pascal@15209 31 cp -a $install/usr/bin $fs/usr
pascal@15209 32 }