wok view portmap/receipt @ rev 25012

Up python-xmlutils (1.4.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 16 19:42:25 2022 +0000 (23 months ago)
parents 6135577f4d08
children 2b069c72d47e
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://repository.timesys.com/buildsources/${PACKAGE:0:1}/$PACKAGE/$PACKAGE-$VERSION/$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 }