wok-4.x view portmap/receipt @ rev 11820
Up: thunderbird to 10.0.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 25 14:16:39 2012 -0500 (2012-02-25) |
parents | be13f25e790b |
children |
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 mkdir -p $fs/etc/init.d
34 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
35 }
38 post_install()
39 {
40 # Post message when installing.
41 echo -e "\nTo starts $PACKAGE server you can run :\n"
42 echo "/etc/init.d/$PACKAGE start"
43 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
44 }