wok-next diff unfs3/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | 23c3aed67cd9 |
children | d5aab818505e |
line diff
1.1 --- a/unfs3/receipt Thu Dec 05 20:23:08 2013 +0000 1.2 +++ b/unfs3/receipt Thu Jun 28 00:30:02 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="unfs3" 1.8 VERSION="0.9.22" 1.9 @@ -6,40 +6,38 @@ 1.10 SHORT_DESC="User-land NFSv3 Server" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="http://unfs3.sourceforge.net/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://unfs3.sourceforge.net/" 1.17 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}" 1.18 -TAGS="network nfs" 1.19 -CONFIG_FILES="/etc/exports" 1.20 1.21 -DEPENDS="portmap" 1.22 BUILD_DEPENDS="flex" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.29 - --sysconfdir=/etc \ 1.30 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.31 - make 1.32 +compile_rules() { 1.33 + ./configure $CONFIGURE_ARGS && 1.34 + make || return 1 1.35 + 1.36 + install -Dm755 $src/unfsd $install/usr/bin/unfsd 1.37 + install -Dm644 $stuff/etc/exports $install/etc/exports 1.38 + install -Dm755 $stuff/etc/init.d/unfsd $install/etc/init.d/unfsd 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr/bin 1.45 - install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin 1.46 - 1.47 - mkdir -p $fs/etc/init.d 1.48 - install -g root -o root -m 0644 stuff/etc/exports $fs/etc 1.49 - install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d 1.50 +genpkg_rules() { 1.51 + copy @std 1.52 + DEPENDS="portmap" 1.53 + TAGS="network nfs" 1.54 + CONFIG_FILES="/etc/exports" 1.55 } 1.56 1.57 -post_install() 1.58 -{ 1.59 +post_install() { 1.60 + [ -n "$quiet" ] || 1.61 + cat <<EOT 1.62 1.63 - echo -e "\nTo starts $PACKAGE server you can run :\n" 1.64 - echo "/etc/init.d/$PACKAGE start" 1.65 - echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" 1.66 + .----------------------------------------------. 1.67 + | To start unfs3 server you can run: | 1.68 + | /etc/init.d/unfsd start | 1.69 + | | 1.70 + | Or add unfsd to RUN_DAEMONS in /etc/rcS.conf | 1.71 + '----------------------------------------------' 1.72 +EOT 1.73 }