wok view portmap/receipt @ rev 450
ADD: lostirc, A simple IRC client
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Mar 17 02:01:23 2008 +0100 (2008-03-17) |
parents | f808fda230ba |
children | a075ff895254 |
line source
1 # SliTaz package receipt.
3 PACKAGE="portmap"
4 VERSION="6.0"
5 CATEGORY="network"
6 SHORT_DESC="RPC portmapper"
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS="libwrap-dev"
9 TARBALL="${PACKAGE}-${VERSION}.tgz"
10 WEB_SITE="http://neil.brown.name/portmap/"
11 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
14 # rules to configure and make the package.
15 compile_rules()
16 {
17 # Ovewriting default $src definition
19 src=${PACKAGE}_${VERSION}
20 cd $src
22 # Build
23 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
24 NO_TCP_WRAPPER=1 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 src=${PACKAGE}_${VERSION}
31 _pkg=${PACKAGE}_${VERSION}/_pkg
34 mkdir -p $fs/usr/sbin
35 cp -a $src/pmap_dump $fs/usr/sbin
36 cp -a $src/pmap_set $fs/usr/sbin
37 cp -a $src/portmap $fs/usr/sbin
39 strip -s $fs/usr/sbin/*
41 mkdir -p $fs/etc/init.d
42 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
45 }
48 post_install()
49 {
50 # Post message when installing.
51 echo -e "\nTo starts $PACKAGE server you can run :\n"
52 echo "/etc/init.d/$PACKAGE start"
53 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
55 }