wok-stable view freeradius/receipt @ rev 10168
Up: perl-glib to 1.223.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 21:46:27 2011 +0000 (2011-05-20) |
parents | fbdbdc00789a |
children | b3ca9ff92e37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.10"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 SOURCE="freeradius-server"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freeradius.org/"
11 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
13 DEPENDS="libssl cyrus-sasl libldap libltld python readline libunixODBC \
14 libkrb5 libcomerr3 libmysqlclient gdbm"
15 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export CFLAGS="$CFLAGS -fno-strict-aliasing"
22 ./configure --sysconfdir=/etc \
23 --localstatedir=/var \
24 --with-system-libtool \
25 --with-system-libltdl &&
26 make -j1 &&
27 make R=$DESTDIR 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 }