wok-6.x view freeradius/receipt @ rev 138

UP : slitaz-tools (1.6) + typo
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 14 22:36:50 2008 +0100 (2008-01-14)
parents 447c9fb94189
children cf0444d3c315
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="1.1.7"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 DEPENDS="libtool, openssl"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freeradius.org/"
11 WGET_URL="http://freeradius.portal-to-web.de/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS
23 make
24 make R=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/freeradius $fs/usr/share
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/var $fs
39 strip -s $fs/usr/bin/*
40 strip -s $fs/usr/sbin/*
41 strip -s $fs/usr/lib/*
42 }