wok view udftools/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
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 }