wok view netatalk-pam/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (19 months ago)
parents a2e2f54c8e28
children
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk-pam"
4 VERSION="2.2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="netatalk"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://netatalk.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
14 PROVIDE="netatalk:pam"
16 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
17 libwrap zlib pam libcomerr3"
18 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev file"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
25 --libexecdir=/usr/lib/netatalk \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 #cp -a $install/usr/lib/netatalk $fs/usr/lib
38 cp -a $install/etc $fs
39 cp -a $stuff/etc $fs
40 rm -f $fs/etc/netatalk/uams/*a
41 }
43 # Pre and post install commands for Tazpkg.
44 post_install()
45 {
46 cat <<EOF
47 ----
48 To start $PACKAGE server you can run :
50 /etc/init.d/$PACKAGE start
52 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
53 ----
54 EOF
55 }
57 # Overlap busybox
58 pre_install()
59 {
60 rm -f "$1/usr/bin/timeout"
61 }
63 post_remove()
64 {
65 ln -s /bin/busybox "$1/usr/bin/timeout"
66 }