wok annotate tacacs+/receipt @ rev 3699
Up:mpd , fix WGET_URL, improve configure options
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Jul 17 07:53:41 2009 +0000 (2009-07-17) |
parents | |
children | 4897058add72 |
rev | line source |
---|---|
allan316@3454 | 1 # SliTaz package receipt. |
allan316@3454 | 2 |
allan316@3454 | 3 PACKAGE="tacacs+" |
allan316@3454 | 4 VERSION="F4.0.4.18" |
allan316@3454 | 5 CATEGORY="misc" |
allan316@3454 | 6 SHORT_DESC="authentication server for cisco devices" |
allan316@3454 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3454 | 8 DEPENDS="libwrap" |
allan316@3454 | 9 BUILD_DEPENDS="libwrap-dev" |
allan316@3454 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3454 | 11 WEB_SITE="http://www.shrubbery.net" |
allan316@3454 | 12 WGET_URL="ftp://ftp.shrubbery.net/pub/tac_plus/$TARBALL" |
allan316@3454 | 13 |
allan316@3454 | 14 # Rules to configure and make the package. |
allan316@3454 | 15 compile_rules() |
allan316@3454 | 16 { |
allan316@3454 | 17 cd $src |
allan316@3454 | 18 ./configure \ |
allan316@3454 | 19 --prefix=/usr \ |
allan316@3454 | 20 --infodir=/usr/share/info \ |
allan316@3454 | 21 --mandir=/usr/share/man \ |
allan316@3454 | 22 $CONFIGURE_ARGS && |
allan316@3454 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@3454 | 24 } |
allan316@3454 | 25 |
allan316@3454 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3454 | 27 genpkg_rules() |
allan316@3454 | 28 { |
allan316@3454 | 29 mkdir -p $fs/usr |
allan316@3454 | 30 cp -a $_pkg/usr/bin $fs/usr |
allan316@3454 | 31 } |
allan316@3454 | 32 |