wok-current annotate udftools/receipt @ rev 24778

remove freeradius-dialupadmin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 17:24:39 2022 +0000 (2022-03-19)
parents 5ea0ce1cecc0
children
rev   line source
pascal@15209 1 # SliTaz package receipt.
pascal@15209 2
pascal@15209 3 PACKAGE="udftools"
pascal@24060 4 VERSION="2.3"
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@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@15209 24 # Rules to configure and make the package.
pascal@15209 25 compile_rules()
pascal@15209 26 {
Hans-G?nter@22068 27 # 1.0.0b3
Hans-G?nter@22068 28 # sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c
Hans-G?nter@22068 29 # sed -i 's/<stdio.h>/&\n#include <limits.h>/' \
Hans-G?nter@22068 30 # cdrwtool/cdrwtool.c pktsetup/pktsetup.c
Hans-G?nter@22068 31
Hans-G?nter@22068 32 ./autogen.sh &&
pascal@15209 33 ./configure --prefix=/usr &&
pascal@15209 34 make &&
pascal@15209 35 make DESTDIR=$DESTDIR install
pascal@15209 36 }
pascal@15209 37
pascal@15209 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15209 39 genpkg_rules()
pascal@15209 40 {
pascal@15209 41 mkdir -p $fs/usr
Hans-G?nter@22068 42
Hans-G?nter@22068 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22068 44 cp -a $install/usr/sbin $fs/usr
pascal@15209 45 }