wok view freeradius/receipt @ rev 2144

Add beep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 04 17:44:46 2009 +0000 (2009-02-04)
parents 8dfc42034cf9
children 7a6ae52b92fa
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.1"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 DEPENDS="openssl"
9 BUILD_DEPENDS="libtool openldap-dev openssl-dev"
10 SOURCE="freeradius-server"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.freeradius.org/"
13 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --with-system-libtool \
25 $CONFIGURE_ARGS &&
26 make &&
27 make R=$PWD/_pkg 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 }