wok-current view krb5/receipt @ rev 13051
php, php-gd: Add freetype support
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jun 18 22:02:23 2012 +0200 (2012-06-18) |
parents | 68e8b7bddb27 |
children | 869f6481ce00 |
line source
1 # SliTaz package receipt.
3 PACKAGE="krb5"
4 VERSION="1.10.2"
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:0:4}/$TARBALL"
12 DEPENDS="libkrb5"
13 CONFIG_FILES="/etc/krb5"
14 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
15 CXXFLAGS="$CFLAGS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 srcdir=$PACKAGE-$VERSION
21 [ -d $src/src ] || tar xzf $src/$srcdir.tar.gz
22 # This is for cookutils. If more than one file was extracted it create
23 # $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
24 # that so we do the trick here.
25 if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
26 mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
27 else
28 mv $srcdir/* .
29 fi
30 cd $src/src
32 # FS#25384
33 sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4
35 ./configure --localstatedir=/var $CONFIGURE_ARGS &&
36 make $MAKEFLAGS && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr $fs/etc
43 cp -a $_pkg/usr/share/examples/krb5 $fs/etc
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/sbin $fs/usr
46 cp -a $_pkg/usr/lib $fs/usr
47 cat $stuff/*.files-list | while read file; do
48 rm -rf ${fs}$file
49 done
50 }
52 # Pre and post install commands for Tazpkg.
53 post_install()
54 {
55 cat <<EOF
56 ----
57 To start $PACKAGE server you can run :
59 /etc/init.d/$PACKAGE start
61 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
62 ----
63 EOF
64 }