wok-6.x view freeradius/receipt @ rev 56
Modified path for cmake doc --> /usr/share/doc/cmake
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 21 21:24:33 2007 +0100 (2007-12-21) |
parents | |
children | b45878c8f8c3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="1.1.7"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 DEPENDS="libtool, openssl"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="www.freeradius.org"
11 WGET_URL="http://freeradius.portal-to-web.de/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS
23 make
24 make R=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/freeradius $fs/usr/share
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/var $fs
39 strip -s $fs/usr/bin/*
40 strip -s $fs/usr/sbin/*
41 strip -s $fs/usr/lib/*
42 }