wok view krb5/receipt @ rev 12319

libgdiplus: Add --with-cairo=system option. Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 07:28:39 2012 +0000 (2012-04-19)
parents b7319995b37e
children b22851d31b7e
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 else
26 mv $srcdir/* .
27 fi
28 cd $src/src
29 ./configure --localstatedir=/var $CONFIGURE_ARGS &&
30 make $MAKEFLAGS && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr $fs/etc
37 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/sbin $fs/usr
40 cp -a $_pkg/usr/lib $fs/usr
41 cat $stuff/*.files-list | while read file; do
42 rm -rf ${fs}$file
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 }