wok-stable view portmap/receipt @ rev 8993

Wormux is now named warmux. Up: warmux to 11.01.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 06:01:52 2011 +0000 (2011-03-03)
parents c1ff74d9b6f4
children 02bbaa9d12ba
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 DEPENDS="libwrap"
9 BUILD_DEPENDS="libwrap-dev"
10 TARBALL="${PACKAGE}-${VERSION}.tgz"
11 WEB_SITE="http://neil.brown.name/portmap/"
12 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
15 # rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # Build
21 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
22 NO_TCP_WRAPPER=1 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/sbin
29 cp -a $src/pmap_dump $fs/usr/sbin
30 cp -a $src/pmap_set $fs/usr/sbin
31 cp -a $src/portmap $fs/usr/sbin
33 strip -s $fs/usr/sbin/*
35 mkdir -p $fs/etc/init.d
36 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
39 }
42 post_install()
43 {
44 # Post message when installing.
45 echo -e "\nTo starts $PACKAGE server you can run :\n"
46 echo "/etc/init.d/$PACKAGE start"
47 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
49 }