wok view krb5/receipt @ rev 10830
Up: tazusb (3.0) - Handle splitted rootfs, bunch of fixes, new style for doc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jun 07 12:28:06 2011 +0200 (2011-06-07) |
parents | d1768332cee0 |
children | b7319995b37e |
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 srcdir=$PACKAGE-$VERSION
19 [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz
20 # This is for cookutils. If more than one file was extracted it create
21 # $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
22 # that so we do the trick here.
23 if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
24 mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
25 fi
26 cd $src/src
27 ./configure --localstatedir=/var &&
28 make -j 4 && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/etc
35 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cat $stuff/*.files-list | while read file; do
40 rm -rf ${fs}$file
41 done
42 }
44 # Pre and post install commands for Tazpkg.
45 post_install()
46 {
47 cat <<EOF
48 ----
49 To start $PACKAGE server you can run :
51 /etc/init.d/$PACKAGE start
53 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
54 ----
55 EOF
56 }