wok-4.x view netatalk-pam/receipt @ rev 7769

Changed gdk-pixbuf post_install to --update-cache instead of creating a file in /etc/gtk-2.0. The file will now be in /usr/lib/gdk-pixbuf-2.0/2.10.0/ folder. This should fix problems with programs using .gif and .svg image files.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 22 19:10:02 2010 +0000 (2010-12-22)
parents 54fb6ed9d8bb
children 084d54778a9d
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk-pam"
4 VERSION="2.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
9 libwrap zlib pam libcomerr3"
10 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev"
11 SOURCE="netatalk"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://netatalk.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
16 PROVIDE="netatalk:pam"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 [ -f done.netatalk-2.0.3-newer-db.patch ] || \
23 patch -p1 < ../../$SOURCE/stuff/netatalk-2.0.3-newer-db.patch
24 touch done.netatalk-2.0.3-newer-db.patch
25 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
26 --libexecdir=/usr/lib/netatalk \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/netatalk $fs/usr/lib
39 cp -a $_pkg/etc $fs
40 cp -a stuff/etc $fs
41 rm -f $fs/etc/netatalk/uams/*a
42 }
44 # Pre and post install commands for Tazpkg.
45 post_install()
46 {
47 cat <<EOF
48 ----
49 To start $PACKAGE server you can run :
51 /etc/init.d/$PACKAGE start
53 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
54 ----
55 EOF
56 }