wok view freeradius/receipt @ rev 2410
Removed PyXML --> use pyxml already present
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 10 11:34:05 2009 +0100 (2009-03-10) |
parents | 7a6ae52b92fa |
children | 3eacc9c96968 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.3"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 DEPENDS="openssl"
9 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev"
10 SOURCE="freeradius-server"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.freeradius.org/"
13 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --with-system-libtool \
25 $CONFIGURE_ARGS &&
26 make &&
27 make R=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/share/freeradius $fs/usr/share
39 cp -a $_pkg/etc $fs
40 cp -a $_pkg/var $fs
41 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
42 }