wok annotate tacacs+/receipt @ rev 17628
icedtea6-jdk: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 13 20:39:14 2015 +0100 (2015-02-13) |
parents | cc45f15b4baf |
children | b3e8eb320061 |
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" |
pascal@15600 | 8 LICENSE="MIT" |
allan316@3454 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3454 | 10 WEB_SITE="http://www.shrubbery.net" |
allan316@3454 | 11 WGET_URL="ftp://ftp.shrubbery.net/pub/tac_plus/$TARBALL" |
allan316@3454 | 12 |
pascal@15118 | 13 DEPENDS="libwrap pam" |
pascal@15118 | 14 BUILD_DEPENDS="libwrap-dev pam-dev" |
pascal@15118 | 15 |
allan316@3454 | 16 # Rules to configure and make the package. |
allan316@3454 | 17 compile_rules() |
allan316@3454 | 18 { |
allan316@3454 | 19 cd $src |
allan316@3454 | 20 ./configure \ |
allan316@3454 | 21 --prefix=/usr \ |
allan316@3454 | 22 --infodir=/usr/share/info \ |
allan316@3454 | 23 --mandir=/usr/share/man \ |
allan316@3454 | 24 $CONFIGURE_ARGS && |
pascal@15118 | 25 make && make DESTDIR=$DESTDIR install |
allan316@3454 | 26 } |
allan316@3454 | 27 |
allan316@3454 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3454 | 29 genpkg_rules() |
allan316@3454 | 30 { |
allan316@3454 | 31 mkdir -p $fs/usr |
pascal@15118 | 32 cp -a $install/usr/bin $fs/usr |
allan316@3454 | 33 } |
allan316@3454 | 34 |