wok-current annotate 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 |
rev | line source |
---|---|
pascal@7287 | 1 # SliTaz package receipt. |
pascal@7287 | 2 |
pascal@7287 | 3 PACKAGE="autofs" |
pascal@7287 | 4 VERSION="5.0.5" |
pascal@7287 | 5 CATEGORY="system-tools" |
pascal@7287 | 6 SHORT_DESC="Linux automounter." |
pascal@7287 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7287 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@7287 | 9 WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5" |
pascal@7287 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@7287 | 11 TAGS="filesystem" |
pascal@7287 | 12 |
pascal@7287 | 13 # Rules to configure and make the package. |
pascal@7287 | 14 compile_rules() |
pascal@7287 | 15 { |
pascal@7287 | 16 cd $src |
pascal@7287 | 17 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile* |
pascal@7287 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@7287 | 19 --mandir=/usr/share/man \ |
pascal@7287 | 20 $CONFIGURE_ARGS && |
pascal@7287 | 21 make && |
pascal@7287 | 22 make DESTDIR=$PWD/_pkg install |
pascal@7287 | 23 } |
pascal@7287 | 24 |
pascal@7287 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7287 | 26 genpkg_rules() |
pascal@7287 | 27 { |
pascal@7287 | 28 mkdir -p $fs/usr |
pascal@7287 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@7287 | 30 cp -a $_pkg/usr/lib $fs/usr |
pascal@7287 | 31 } |