wok-next annotate portmap/receipt @ rev 21127

Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 18 11:29:09 2019 +0200 (2019-01-18)
parents 8e1b2a143eb3
children d6e32d144815
rev   line source
al@21020 1 # SliTaz package receipt v2.
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15379 8 LICENSE="BSD"
al@20949 9 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
al@21020 10
al@21020 11 TARBALL="$PACKAGE-$VERSION.tgz"
erjo@252 12 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
erjo@174 13
pascal@15379 14 BUILD_DEPENDS="libwrap-dev"
erjo@174 15
al@21020 16 compile_rules() {
erjo@252 17 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
al@21020 18 NO_TCP_WRAPPER=1 make || return 1
al@21020 19
al@21020 20 install -Dm755 pmap_dump $install/usr/sbin/pmap_dump
al@21020 21 install -Dm755 pmap_set $install/usr/sbin/pmap_set
al@21020 22 install -Dm755 portmap $install/usr/sbin/portmap
al@21020 23
al@21020 24 install -Dm755 $stuff/init.d/portmap $install/etc/init.d/portmap
erjo@174 25 }
erjo@174 26
al@21020 27 genpkg_rules() {
al@21020 28 copy @std
al@21020 29 DEPENDS="libwrap"
erjo@174 30 }
erjo@174 31
al@21020 32 # Post message when installing.
al@21020 33 post_install() {
al@21020 34 [ -n "$quiet" ] || cat <<EOT
erjo@174 35
al@21020 36 .------------------------------------------------.
al@21020 37 | To start portmap server you can run: |
al@21020 38 | /etc/init.d/portmap start |
al@21020 39 | or add portmap to RUN_DAEMONS in /etc/rcS.conf |
al@21020 40 '------------------------------------------------'
al@21020 41 EOT
erjo@174 42 }