wok view autofs/receipt @ rev 8374

Fixed fcron again.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 04 00:42:24 2011 +0000 (2011-02-04)
parents 547a87ca6aa4
children 45e2d5caa56d
line source
1 # SliTaz package receipt.
3 PACKAGE="autofs"
4 VERSION="5.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux automounter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 DEPENDS="linux-autofs"
12 TAGS="filesystem"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 mkdir -p $1/mnt/auto 2> /dev/null
38 }