wok-stable view portmap/receipt @ rev 3258
slitaz-menus: add chinese name, change system-doc.desktop into UTF-8
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Mon Jun 01 13:57:52 2009 +0800 (2009-06-01) |
parents | a075ff895254 |
children | be13f25e790b |
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 # Ovewriting default $src definition
20 src=${PACKAGE}_${VERSION}
21 cd $src
23 # Build
24 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
25 NO_TCP_WRAPPER=1 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 src=${PACKAGE}_${VERSION}
32 _pkg=${PACKAGE}_${VERSION}/_pkg
35 mkdir -p $fs/usr/sbin
36 cp -a $src/pmap_dump $fs/usr/sbin
37 cp -a $src/pmap_set $fs/usr/sbin
38 cp -a $src/portmap $fs/usr/sbin
40 strip -s $fs/usr/sbin/*
42 mkdir -p $fs/etc/init.d
43 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
46 }
49 post_install()
50 {
51 # Post message when installing.
52 echo -e "\nTo starts $PACKAGE server you can run :\n"
53 echo "/etc/init.d/$PACKAGE start"
54 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
56 }