wok view portmap/receipt @ rev 16703
Add: mplayer-opt: the same as mplayer but with enabled CPU optimizations (MMX, MMX2, SSE, SSE2 and friends).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 28 11:27:38 2014 +0300 (2014-05-28) |
parents | 02bbaa9d12ba |
children | 6135577f4d08 |
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 LICENSE="BSD"
9 TARBALL="${PACKAGE}-${VERSION}.tgz"
10 WEB_SITE="http://neil.brown.name/portmap/"
11 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
13 DEPENDS="libwrap"
14 BUILD_DEPENDS="libwrap-dev"
16 # rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Build
22 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
23 NO_TCP_WRAPPER=1 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin
30 cp -a $src/pmap_dump $fs/usr/sbin
31 cp -a $src/pmap_set $fs/usr/sbin
32 cp -a $src/portmap $fs/usr/sbin
34 mkdir -p $fs/etc/init.d
35 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
36 }
39 post_install()
40 {
41 # Post message when installing.
42 echo -e "\nTo starts $PACKAGE server you can run :\n"
43 echo "/etc/init.d/$PACKAGE start"
44 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
45 }