wok-4.x view freeradius/receipt @ rev 1384
udev-dev: also update version
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 15 15:56:41 2008 +0200 (2008-09-15) |
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 }