wok-6.x view portmap/receipt @ rev 22768

updated fop (2.3 -> 2.4)
author Hans-G?nter Theisgen
date Sat Jan 25 14:53:26 2020 +0100 (2020-01-25)
parents 2a5cc8208d36
children affc6fdda56c
line source
1 # SliTaz package receipt.
3 PACKAGE="portmap"
4 VERSION="6.0"
5 CATEGORY="network"
6 SHORT_DESC="RPC portmapper"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="${PACKAGE}-${VERSION}.tgz"
10 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
11 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
13 DEPENDS="libwrap"
14 BUILD_DEPENDS="libwrap-dev"
16 # rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Build
22 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
23 NO_TCP_WRAPPER=1 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin
30 cp -a $src/pmap_dump $fs/usr/sbin
31 cp -a $src/pmap_set $fs/usr/sbin
32 cp -a $src/portmap $fs/usr/sbin
34 mkdir -p $fs/etc/init.d
35 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
36 }
39 post_install()
40 {
41 # Post message when installing.
42 echo -e "\nTo starts $PACKAGE server you can run :\n"
43 echo "/etc/init.d/$PACKAGE start"
44 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
45 }