Contents of /branches/magellan-0_10_0/core/portmap/portmap-6.0-r1.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1190 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1190 byte(s)
created branch 'magellan-0_10_0'
1 | # $Id$ |
2 | |
3 | PNAME="portmap" |
4 | PVER="6.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-nds" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The portmapper manages RPC connections, which are used by protocols such as NFS and NIS." |
11 | HOMEPAGE="http://neil.brown.name/portmap/" |
12 | |
13 | DEPEND=">= sys-apps/tcp-wrappers-7.6" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tgz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}_${PVER}" |
17 | |
18 | sminclude mtools |
19 | |
20 | SRC_URI=( |
21 | http://neil.brown.name/portmap/portmap-6.0.tgz |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://neil.brown.name/portmap/ | lasttarball tgz" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | cd ${SRCDIR} |
31 | |
32 | # force use of our CFLAGS |
33 | sed -e "s:-O2:${CFLAGS}:" -i Makefile || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | local WRAP_DIR="${ROOT}/usr/$(mlibdir)" |
40 | |
41 | [[ -f /usr/$(mlibdir)/libwrap.a ]] && WRAP_DIR="/usr/$(mlibdir)" |
42 | |
43 | mmake FACILITY=LOG_AUTH \ |
44 | ZOMBIES='-DIGNORE_SIGCHLD' \ |
45 | WRAP_DIR="${WRAP_DIR}" \ |
46 | LIBS="-Wl,-Bstatic -lwrap -lutil -Wl,-Bdynamic -lnsl" \ |
47 | AUX= || die |
48 | } |
49 | |
50 | src_install() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | # needed directories |
55 | minstalldir /sbin || die |
56 | minstalldir /usr/sbin || die |
57 | minstalldir /usr/share/man/man8 || die |
58 | |
59 | mmake BASEDIR=${BINDIR} install || die |
60 | minstalldocs BLURB CHANGES README || die |
61 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |