wok view autofs/receipt @ rev 7287

Add autofs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 18:42:59 2010 +0100 (2010-11-16)
parents
children a6137e640e01
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 TAGS="filesystem"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 }