wok-4.x view autofs/receipt @ rev 8938
masqmail, mplayer-svn, nagios-nrpe, notify-python, openvas-administrator, openvas-client, openvas-manager, openvas-scanner, perl-xml-entities, pgadmin, python-ipy: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 16:28:33 2011 +0100 (2011-03-01) |
parents | a6137e640e01 |
children | 13515b835cfa |
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 BUILD_DEPENDS="flex"
10 WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 DEPENDS="linux-autofs"
13 TAGS="filesystem"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 mkdir -p $1/mnt/auto 2> /dev/null
39 }