wok view udftools/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents f08fe4855be4
children
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 1.0.0b3
29 # sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
30 # sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
31 # cdrwtool/cdrwtool.c pktsetup/pktsetup.c
33 ./autogen.sh &&
34 ./configure --prefix=/usr &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 }