wok-4.x view freeradius/receipt @ rev 438

Add: qemu kqemu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 15 09:43:51 2008 +0000 (2008-03-15)
parents b45878c8f8c3
children 6c076951fbe8
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="http://www.freeradius.org/"
11 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$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 }