wok-6.x annotate unfs3/receipt @ rev 5391
fix pcmanfm desktop wallpaper (thanks slicel)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat May 01 13:39:22 2010 -0400 (2010-05-01) |
parents | 06bea11c343c |
children | f6d334f2cb4d |
rev | line source |
---|---|
erjo@171 | 1 # SliTaz package receipt. |
erjo@171 | 2 |
erjo@171 | 3 PACKAGE="unfs3" |
erjo@2984 | 4 VERSION="0.9.22" |
pankso@211 | 5 CATEGORY="network" |
erjo@171 | 6 SHORT_DESC="User-land NFSv3 Server" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@171 | 8 DEPENDS="portmap" |
erjo@171 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@171 | 10 WEB_SITE="http://unfs3.sourceforge.net/" |
erjo@171 | 11 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}" |
jozee@4974 | 12 TAGS="network nfs" |
erjo@171 | 13 |
erjo@171 | 14 # Rules to configure and make the package. |
erjo@171 | 15 compile_rules() |
erjo@171 | 16 { |
erjo@171 | 17 cd $src |
erjo@171 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@171 | 19 --sysconfdir=/etc \ |
erjo@171 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@171 | 21 |
erjo@171 | 22 make |
erjo@171 | 23 } |
erjo@171 | 24 |
erjo@171 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@171 | 26 genpkg_rules() |
erjo@171 | 27 { |
erjo@171 | 28 mkdir -p $fs/usr/bin |
erjo@171 | 29 install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin |
erjo@171 | 30 |
erjo@171 | 31 mkdir -p $fs/etc/init.d |
pascal@4342 | 32 install -g root -o root -m 0644 stuff/etc/exports $fs/etc |
erjo@171 | 33 install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d |
erjo@171 | 34 } |
erjo@171 | 35 |
erjo@171 | 36 post_install() |
erjo@171 | 37 { |
erjo@171 | 38 |
erjo@171 | 39 echo -e "\nTo starts $PACKAGE server you can run :\n" |
erjo@171 | 40 echo "/etc/init.d/$PACKAGE start" |
erjo@171 | 41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
erjo@171 | 42 } |