wok view udftools/receipt @ rev 24911
updated mlvpn (2.3.4 -> 2.3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 15:36:09 2022 +0100 (2022-04-09) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udftools"
4 VERSION="2.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Linux UDF filesystem userspcae utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pali/udftools/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
14 DEPENDS="ncurses readline"
15 BUILD_DEPENDS="autoconf automake bash file libtool ncurses-dev
16 readline-dev udev-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 1.0.0b3
28 # sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
29 # sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
30 # cdrwtool/cdrwtool.c pktsetup/pktsetup.c
32 ./autogen.sh &&
33 ./configure --prefix=/usr &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 }