wok-current annotate udftools/receipt @ rev 23712

updated udftools (2.1 -> 2.2)
author Hans-G?nter Theisgen
date Tue Apr 28 17:35:06 2020 +0100 (2020-04-28)
parents 6bab837a85ec
children 5ea0ce1cecc0
rev   line source
pascal@15209 1 # SliTaz package receipt.
pascal@15209 2
pascal@15209 3 PACKAGE="udftools"
Hans-G?nter@23712 4 VERSION="2.2"
pascal@15209 5 CATEGORY="utilities"
Hans-G?nter@22068 6 SHORT_DESC="Linux UDF filesystem userspcae utilities."
pascal@15209 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15209 8 LICENSE="GPL2"
Hans-G?nter@22068 9 WEB_SITE="https://github.com/pali/udftools/"
Hans-G?nter@22068 10
pascal@15209 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22068 12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
pascal@15209 13
pascal@15209 14 DEPENDS="ncurses readline"
Hans-G?nter@23712 15 BUILD_DEPENDS="autoconf automake bash file libtool ncurses-dev
Hans-G?nter@23712 16 readline-dev udev-dev"
pascal@15209 17
pascal@15209 18 # Rules to configure and make the package.
pascal@15209 19 compile_rules()
pascal@15209 20 {
Hans-G?nter@22068 21 # 1.0.0b3
Hans-G?nter@22068 22 # sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
Hans-G?nter@22068 23 # sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
Hans-G?nter@22068 24 # cdrwtool/cdrwtool.c pktsetup/pktsetup.c
Hans-G?nter@22068 25
Hans-G?nter@22068 26 ./autogen.sh &&
pascal@15209 27 ./configure --prefix=/usr &&
pascal@15209 28 make &&
pascal@15209 29 make DESTDIR=$DESTDIR install
pascal@15209 30 }
pascal@15209 31
pascal@15209 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15209 33 genpkg_rules()
pascal@15209 34 {
pascal@15209 35 mkdir -p $fs/usr
Hans-G?nter@22068 36
Hans-G?nter@22068 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22068 38 cp -a $install/usr/sbin $fs/usr
pascal@15209 39 }