wok-6.x view freeradius/receipt @ rev 6533
Up: gimp, gimp-console, gimp-dev, gimp-plug-ins to 2.6.11.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 04 19:32:48 2010 +0000 (2010-10-04) |
parents | 939450fd68aa |
children | 3d0f1a3ab4c1 |
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 libunixODBC \
9 libkrb5 libcomerr3 libmysqlclient gdbm"
10 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev"
11 SOURCE="freeradius-server"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.freeradius.org/"
14 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-system-libtool \
26 $CONFIGURE_ARGS &&
27 make &&
28 make R=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/share/freeradius $fs/usr/share
40 cp -a $_pkg/etc $fs
41 cp -a $_pkg/var $fs
42 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
43 }