wok-6.x view radiusclient-ng/receipt @ rev 25447

Down firefox-official (77.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 16:17:24 2022 +0000 (2022-09-06)
parents a77f941b8df6
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="radiusclient-ng"
4 VERSION="0.5.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="RADIUS Client Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/radiusclient-ng.berlios/"
11 WGET_URL="$SF_MIRROR/$PACKAGE.berlios/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/radiusclient-ng.berlios/files/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*/radiusclient-ng-||;s|.tar.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man $CONFIGURE_ARGS
26 make
27 make -j 1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/etc $fs
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }