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

thunar-archive-plugin: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 19 12:28:58 2011 +0200 (2011-05-19)
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 }