wok-current view freeradius/receipt @ rev 1310

openldap: add openssl dependancy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 26 20:19:16 2008 +0000 (2008-08-26)
parents 6c076951fbe8
children b7a4721eb10b
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.0.5"
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 }