wok-stable annotate krb5/receipt @ rev 2109

Add: aspell-de
author Paul Issott <paul@slitaz.org>
date Thu Jan 29 20:07:53 2009 +0000 (2009-01-29)
parents 04d6abcf6d15
children 2a76df9f77e4
rev   line source
pascal@1335 1 # SliTaz package receipt.
pascal@1335 2
pascal@1335 3 PACKAGE="krb5"
pascal@1335 4 VERSION="1.6.3"
pascal@1335 5 CATEGORY="security"
pascal@1335 6 SHORT_DESC="Network authentication protocol with strong authentication."
pascal@1335 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1335 8 TARBALL="$PACKAGE-$VERSION-signed.tar"
pascal@1447 9 BUILD_DEPENDS="perl bison"
pascal@1335 10 WEB_SITE="http://web.mit.edu/Kerberos/"
pascal@1335 11 WGET_URL="${WEB_SITE}dist/$PACKAGE/1.6/$TARBALL"
pascal@1335 12 DEPENDS="libkrb5"
pascal@1335 13 CONFIG_FILES="/etc/krb5"
pascal@1335 14
pascal@1335 15 # Rules to configure and make the package.
pascal@1335 16 compile_rules()
pascal@1335 17 {
pascal@1335 18 [ -d $src ] || tar xzf $PACKAGE-$VERSION.tar.gz
pascal@1335 19 cd $src/src
pascal@1335 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1335 21 --sysconfdir=/etc --localstatedir=/var \
pascal@1447 22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1447 23 make &&
pascal@1447 24 make DESTDIR=$PWD/../_pkg install &&
pascal@1335 25 cp ../../stuff/*.files-list ..
pascal@1335 26 }
pascal@1335 27
pascal@1335 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1335 29 genpkg_rules()
pascal@1335 30 {
pascal@1335 31 mkdir -p $fs/usr $fs/etc
pascal@1335 32 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
pascal@1335 33 cp -a $_pkg/usr/bin $fs/usr
pascal@1335 34 cp -a $_pkg/usr/sbin $fs/usr
pascal@1335 35 cp -a $_pkg/usr/lib $fs/usr
pascal@1335 36 cat $src/*.files-list | while read file; do
pascal@1335 37 rm -rf $fs$file
pascal@1335 38 done
pascal@1335 39 # Package all krb5 pkgs
pascal@1335 40 for i in $(cd $WOK; grep -l '^WANTED="krb5"$' */receipt)
pascal@1335 41 do
pascal@1335 42 tazwok cook ${i%/receipt}
pascal@1335 43 done
pascal@1335 44 }
pascal@1335 45
pascal@1335 46 # Pre and post install commands for Tazpkg.
pascal@1335 47 post_install()
pascal@1335 48 {
pascal@1335 49 cat <<EOF
pascal@1335 50 ----
pascal@1335 51 To start $PACKAGE server you can run :
pascal@1335 52
pascal@1335 53 /etc/init.d/$PACKAGE start
pascal@1335 54
pascal@1335 55 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
pascal@1335 56 ----
pascal@1335 57 EOF
pascal@1335 58 }