Contents of /trunk/core/man-db/man-db-2.7.0.2-r1.smage2
Parent Directory | Revision Log
Revision 22336 -
(show annotations)
(download)
Tue Oct 7 09:16:05 2014 UTC (9 years, 11 months ago) by niro
File size: 1380 byte(s)
Tue Oct 7 09:16:05 2014 UTC (9 years, 11 months ago) by niro
File size: 1380 byte(s)
auto added: ver bump to 2.7.0.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="man-db" |
4 | PVER="2.7.0.2" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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-444 |
14 | >= sys-apps/coreutils-8.15 |
15 | >= sys-apps/grep-2.9 |
16 | >= sys-apps/groff-1.21 |
17 | >= dev-libs/libpipeline-1.3 |
18 | >= sys-libs/zlib-1.2.5 |
19 | >= dev-db/db-6.0" |
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.xz" |
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 | ) |
37 | |
38 | UP2DATE="updatecmd 'http://download.savannah.gnu.org/releases/${PNAME}/?C=M;O=A' | lasttarball xz" |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | mconfigure \ |
45 | --libexecdir=/usr/$(mlibdir) \ |
46 | --disable-setuid \ |
47 | --with-browser=/usr/bin/lynx \ |
48 | --with-vgrind=/usr/bin/vgrind \ |
49 | --with-grap=/usr/bin/grap \ |
50 | --with-db=db \ |
51 | --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" \ |
52 | || die |
53 | |
54 | mmake || die |
55 | } |
56 | |
57 | src_install() |
58 | { |
59 | cd ${SRCDIR} |
60 | make DESTDIR=${BINDIR} install || die |
61 | |
62 | minstallconf man-db.confd man-db || die |
63 | minstallcron daily man-db.cron man-db || die |
64 | |
65 | minstalldocs ChangeLog NEWS README doc/{COPYING*,HACKING,TODO} || die |
66 | } |