wok-6.x view freeradius/receipt @ rev 9922

thunar: fix deps/bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 17 23:13:52 2011 +0200 (2011-05-17)
parents 3d0f1a3ab4c1
children d318593b0fb6
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 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 export CFLAGS="$CFLAGS -fno-strict-aliasing"
21 ./configure --sysconfdir=/etc \
22 --localstatedir=/var \
23 --with-system-libtool \
24 --with-system-libltdl &&
25 make -j1 &&
26 make R=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/share/freeradius $fs/usr/share
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/var $fs
40 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
41 }