wok-next view krb5/receipt @ rev 8047
Up: sudo-pam and sudo to 1.7.4p6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Jan 20 14:07:40 2011 +0000 (2011-01-20) |
parents | 37b975a39e76 |
children | ba9416f5cbff |
line source
1 # SliTaz package receipt.
3 PACKAGE="krb5"
4 VERSION="1.8.3"
5 CATEGORY="security"
6 SHORT_DESC="Network authentication protocol with strong authentication."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-signed.tar"
9 BUILD_DEPENDS="perl bison"
10 WEB_SITE="http://web.mit.edu/Kerberos/"
11 WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libkrb5"
13 CONFIG_FILES="/etc/krb5"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -d $src ] || tar xzf $PACKAGE-$VERSION.tar.gz
19 cd $src/src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc --localstatedir=/var \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make -j 4 &&
24 make DESTDIR=$PWD/../_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc
31 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do
36 rm -rf $fs$file
37 done
38 }
40 # Pre and post install commands for Tazpkg.
41 post_install()
42 {
43 cat <<EOF
44 ----
45 To start $PACKAGE server you can run :
47 /etc/init.d/$PACKAGE start
49 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
50 ----
51 EOF
52 }