wok annotate portmap/receipt @ rev 16219

Up fpc-bootstrap (2.6.4) again...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 31 20:10:40 2014 +0000 (2014-03-31)
parents 02bbaa9d12ba
children 6135577f4d08
rev   line source
erjo@174 1 # SliTaz package receipt.
erjo@174 2
erjo@174 3 PACKAGE="portmap"
erjo@252 4 VERSION="6.0"
pankso@211 5 CATEGORY="network"
erjo@175 6 SHORT_DESC="RPC portmapper"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15379 8 LICENSE="BSD"
erjo@252 9 TARBALL="${PACKAGE}-${VERSION}.tgz"
erjo@252 10 WEB_SITE="http://neil.brown.name/portmap/"
erjo@252 11 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
erjo@174 12
pascal@15379 13 DEPENDS="libwrap"
pascal@15379 14 BUILD_DEPENDS="libwrap-dev"
erjo@174 15
erjo@174 16 # rules to configure and make the package.
erjo@174 17 compile_rules()
erjo@174 18 {
erjo@174 19 cd $src
erjo@174 20
erjo@175 21 # Build
erjo@252 22 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
erjo@252 23 NO_TCP_WRAPPER=1 make
erjo@174 24 }
erjo@174 25
erjo@174 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@174 27 genpkg_rules()
erjo@174 28 {
erjo@174 29 mkdir -p $fs/usr/sbin
erjo@174 30 cp -a $src/pmap_dump $fs/usr/sbin
erjo@174 31 cp -a $src/pmap_set $fs/usr/sbin
erjo@174 32 cp -a $src/portmap $fs/usr/sbin
erjo@252 33
erjo@252 34 mkdir -p $fs/etc/init.d
erjo@252 35 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
erjo@174 36 }
erjo@174 37
erjo@174 38
erjo@174 39 post_install()
erjo@174 40 {
erjo@174 41 # Post message when installing.
erjo@174 42 echo -e "\nTo starts $PACKAGE server you can run :\n"
erjo@174 43 echo "/etc/init.d/$PACKAGE start"
gokhlayeh@9470 44 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
erjo@174 45 }