wok view krb5/receipt @ rev 5736

Up krb5 (1.8.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 26 12:20:19 2010 +0200 (2010-06-26)
parents bd6010223726
children 8806a69fb967
line source
1 # SliTaz package receipt.
3 PACKAGE="krb5"
4 VERSION="1.8.2"
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 &&
24 make DESTDIR=$PWD/../_pkg install &&
25 cp ../../stuff/*.files-list ..
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc
32 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cat $src/*.files-list | while read file; do
37 rm -rf $fs$file
38 done
39 # Package all krb5 pkgs
40 for i in $(cd $WOK; grep -l '^WANTED="krb5"$' */receipt)
41 do
42 tazwok cook ${i%/receipt}
43 done
44 }
46 # Pre and post install commands for Tazpkg.
47 post_install()
48 {
49 cat <<EOF
50 ----
51 To start $PACKAGE server you can run :
53 /etc/init.d/$PACKAGE start
55 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
56 ----
57 EOF
58 }