wok-next view freeradius/receipt @ rev 9365
Fixed packages that have SOURCE that equal PACKAGE. This shouldn't happend.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 20 19:43:39 2011 +0000 (2011-03-20) |
parents | 9b0eb993018e |
children | fbdbdc00789a |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.3"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 DEPENDS="openssl cyrus-sasl libldap libtool python readline libunixODBC \
9 libkrb5 libcomerr3 libmysqlclient gdbm"
10 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev"
11 SOURCE="freeradius-server"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.freeradius.org/"
14 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --sysconfdir=/etc \
21 --localstatedir=/var \
22 --with-system-libtool &&
23 make -j1 &&
24 make R=$DESTDIR 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
38 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
39 }