wok annotate radiusclient-ng/receipt @ rev 2621

atl1e, rt2860sta: move code into functions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 14 15:27:15 2009 +0000 (2009-04-14)
parents
children 2650aaa6a59e
rev   line source
pascal@1176 1 # SliTaz package receipt.
pascal@1176 2
pascal@1176 3 PACKAGE="radiusclient-ng"
pascal@1176 4 VERSION="0.5.6"
pascal@1176 5 CATEGORY="system-tools"
pascal@1176 6 SHORT_DESC="RADIUS Client Library."
pascal@1176 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1176 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1176 9 WEB_SITE="http://developer.berlios.de/projects/$PACKAGE/"
pascal@1176 10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
pascal@1176 11
pascal@1176 12 # Rules to configure and make the package.
pascal@1176 13 compile_rules()
pascal@1176 14 {
pascal@1176 15 cd $src
pascal@1176 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1176 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1176 18 make
pascal@1176 19 make DESTDIR=$PWD/_pkg install
pascal@1176 20 }
pascal@1176 21
pascal@1176 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1176 23 genpkg_rules()
pascal@1176 24 {
pascal@1176 25 mkdir -p $fs/usr/lib
pascal@1176 26 cp -a $_pkg/usr/etc $_pkg/usr/sbin $fs/usr
pascal@1176 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1176 28 }
pascal@1176 29