wok-6.x annotate krb5/receipt @ rev 8120

linux: make sure the real tar is installed.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 21:51:05 2011 +0000 (2011-01-23)
parents 37b975a39e76
children ba9416f5cbff
rev   line source
pascal@1335 1 # SliTaz package receipt.
pascal@1335 2
pascal@1335 3 PACKAGE="krb5"
rcx@5993 4 VERSION="1.8.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@5736 11 WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION%.*}/$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@5783 23 make -j 4 &&
gokhlayeh@7970 24 make DESTDIR=$PWD/../_pkg install
pascal@1335 25 }
pascal@1335 26
pascal@1335 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1335 28 genpkg_rules()
pascal@1335 29 {
pascal@1335 30 mkdir -p $fs/usr $fs/etc
pascal@1335 31 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
pascal@1335 32 cp -a $_pkg/usr/bin $fs/usr
pascal@1335 33 cp -a $_pkg/usr/sbin $fs/usr
pascal@1335 34 cp -a $_pkg/usr/lib $fs/usr
gokhlayeh@7970 35 cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do
pascal@1335 36 rm -rf $fs$file
pascal@1335 37 done
pascal@1335 38 }
pascal@1335 39
pascal@1335 40 # Pre and post install commands for Tazpkg.
pascal@1335 41 post_install()
pascal@1335 42 {
pascal@1335 43 cat <<EOF
pascal@1335 44 ----
pascal@1335 45 To start $PACKAGE server you can run :
pascal@1335 46
pascal@1335 47 /etc/init.d/$PACKAGE start
pascal@1335 48
pascal@1335 49 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
pascal@1335 50 ----
pascal@1335 51 EOF
pascal@1335 52 }