Contents of /trunk/core/man-db/man-db-2.11.2-r1.smage2
Parent Directory | Revision Log
Revision 33466 -
(show annotations)
(download)
Mon Jul 24 11:34:47 2023 UTC (9 months, 2 weeks ago) by niro
File size: 1586 byte(s)
Mon Jul 24 11:34:47 2023 UTC (9 months, 2 weeks ago) by niro
File size: 1586 byte(s)
-ver bump to 2.11.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="man-db" |
4 | PVER="2.11.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-633 |
14 | >= sys-apps/coreutils-9.3 |
15 | >= sys-apps/grep-3 |
16 | >= sys-apps/groff-1.22 |
17 | >= dev-libs/libpipeline-1.5 |
18 | >= sys-libs/zlib-1.2.13 |
19 | >= dev-db/db-6.2" |
20 | |
21 | SDEPEND=">= virtual/pkgconfig |
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 | # hint: make check may fail if no basic locales are installed! |
30 | # atm disabled, adjust locale.conf |
31 | msetfeature "!check" |
32 | sminclude mbuild mtools systemd |
33 | |
34 | CRON_VER=1.2 |
35 | |
36 | SRC_URI=( |
37 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} |
38 | mirror://${PNAME}/${SRCFILE} |
39 | mirror://${PNAME}/man-db.cron-${CRON_VER} |
40 | mirror://${PNAME}/man-db.confd |
41 | ) |
42 | |
43 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | highesttarball xz" |
44 | |
45 | src_compile() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | mconfigure \ |
50 | --libexecdir=/usr/$(mlibdir) \ |
51 | --disable-setuid \ |
52 | --with-browser=/usr/bin/lynx \ |
53 | --with-vgrind=/usr/bin/vgrind \ |
54 | --with-grap=/usr/bin/grap \ |
55 | --with-db=db \ |
56 | --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" \ |
57 | --with-systemdsystemunitdir=$(mget-systemd-unit-dir) \ |
58 | || die |
59 | |
60 | mmake || die |
61 | } |
62 | |
63 | src_install() |
64 | { |
65 | cd ${SRCDIR} |
66 | make DESTDIR=${BINDIR} install || die |
67 | |
68 | minstallconf man-db.confd man-db || die |
69 | minstallcron daily man-db.cron-${CRON_VER} man-db || die |
70 | |
71 | minstalldocs ChangeLog NEWS README doc/{COPYING*,HACKING,TODO} || die |
72 | } |