wok-4.x view freeradius/receipt @ rev 3801
Up: gcc/gcc-lib-base (4.4.1)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Aug 04 20:51:02 2009 +0000 (2009-08-04) |
parents | b33e84bed997 |
children | 9f19aee613be |
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 cyrus-sasl libldap libtool python readline"
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 }