wok-next view portmap/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8e1b2a143eb3
children d6e32d144815
line source
1 # SliTaz package receipt v2.
3 PACKAGE="portmap"
4 VERSION="6.0"
5 CATEGORY="network"
6 SHORT_DESC="RPC portmapper"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
14 BUILD_DEPENDS="libwrap-dev"
16 compile_rules() {
17 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
18 NO_TCP_WRAPPER=1 make || return 1
20 install -Dm755 pmap_dump $install/usr/sbin/pmap_dump
21 install -Dm755 pmap_set $install/usr/sbin/pmap_set
22 install -Dm755 portmap $install/usr/sbin/portmap
24 install -Dm755 $stuff/init.d/portmap $install/etc/init.d/portmap
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="libwrap"
30 }
32 # Post message when installing.
33 post_install() {
34 [ -n "$quiet" ] || cat <<EOT
36 .------------------------------------------------.
37 | To start portmap server you can run: |
38 | /etc/init.d/portmap start |
39 | or add portmap to RUN_DAEMONS in /etc/rcS.conf |
40 '------------------------------------------------'
41 EOT
42 }