wok-next view freeradius/receipt @ rev 9249
Down mpd 15.15 (I think we need tcp_wrappers)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 13 21:32:02 2011 +0000 (2011-03-13) |
parents | 9b0eb993018e |
children | fbdbdc00789a |
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 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --with-system-libtool &&
23 make -j1 &&
24 make R=$DESTDIR 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
38 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
39 }