Annotation of /branches/magellan-next/core/man-db/man-db-2.6.0.2-r1.smage2
Parent Directory | Revision Log
Revision 9849 -
(hide annotations)
(download)
Fri Jan 13 14:40:03 2012 UTC (12 years, 4 months ago) by niro
File size: 1512 byte(s)
Fri Jan 13 14:40:03 2012 UTC (12 years, 4 months ago) by niro
File size: 1512 byte(s)
-fixed confd name
1 | niro | 9847 | # $Id$ |
2 | |||
3 | PNAME="man-db" | ||
4 | PVER="2.6.0.2" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | |||
9 | DESCRIPTION="Tools for searching and reading man pages." | ||
10 | HOMEPAGE="http://savannah.nongnu.org/projects/man-db" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= sys-apps/less | ||
14 | >= sys-apps/coreutils | ||
15 | >= sys-apps/grep | ||
16 | >= sys-apps/groff | ||
17 | >= dev-libs/libpipeline- | ||
18 | >= sys-libs/zlib-1.2.5 | ||
19 | >= dev-db/db-5.1" | ||
20 | |||
21 | SDEPEND=">= dev-util/pkgconfig-0.25 | ||
22 | >= sys-dev/gettext-0.18" | ||
23 | |||
24 | PROVIDE="virtual/man" | ||
25 | |||
26 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
27 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
28 | |||
29 | sminclude mbuild mtools | ||
30 | |||
31 | SRC_URI=( | ||
32 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} | ||
33 | mirror://${PNAME}/${SRCFILE} | ||
34 | mirror://${PNAME}/man-db.cron | ||
35 | mirror://${PNAME}/man-db.confd | ||
36 | mirror://${PNAME}/${PNAME}-${PVER}-flock.patch | ||
37 | ) | ||
38 | |||
39 | UP2DATE="updatecmd 'http://download.savannah.gnu.org/releases/${PNAME}/?C=M;O=A' | lasttarball gz" | ||
40 | |||
41 | src_prepare() | ||
42 | { | ||
43 | munpack ${SRCFILE} || die | ||
44 | cd ${SRCDIR} | ||
45 | |||
46 | # fix missing flock header | ||
47 | mpatch ${PNAME}-${PVER}-flock.patch || die | ||
48 | } | ||
49 | |||
50 | src_compile() | ||
51 | { | ||
52 | cd ${SRCDIR} | ||
53 | |||
54 | mconfigure \ | ||
55 | --disable-setuid \ | ||
56 | --with-browser=/usr/bin/lynx \ | ||
57 | --with-vgrind=/usr/bin/vgrind \ | ||
58 | --with-grap=/usr/bin/grap \ | ||
59 | --with-db=db \ | ||
60 | --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x" \ | ||
61 | || die | ||
62 | |||
63 | mmake || die | ||
64 | } | ||
65 | |||
66 | src_install() | ||
67 | { | ||
68 | cd ${SRCDIR} | ||
69 | make PREFIX=${BINDIR} install || die | ||
70 | |||
71 | niro | 9849 | minstallconf man-db.confd man-db || die |
72 | niro | 9847 | minstallcron daily man-db.cron man-db || die |
73 | |||
74 | minstalldocs ChangeLog NEWS README doc/{COPYING*,HACKING,TODO} || die | ||
75 | } |