wok-next annotate krb5/receipt @ rev 6888
Added startup-notification to startup-notification-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 01:22:31 2010 +0000 (2010-10-21) |
parents | 8806a69fb967 |
children | 0e470e272b60 |
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 && |
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 } |