Annotation of /trunk/core/lynx/lynx-2.8.6-r3.smage2
Parent Directory | Revision Log
Revision 327 -
(hide annotations)
(download)
Mon Dec 22 17:50:02 2008 UTC (15 years, 6 months ago) by niro
File size: 1974 byte(s)
Mon Dec 22 17:50:02 2008 UTC (15 years, 6 months ago) by niro
File size: 1974 byte(s)
-rev bump to 2.8.6-r3: rebuild against ncurses-5.7
1 | niro | 327 | # $Header: /magellan-cvs/smage/lynx/lynx-2.8.6-r2.smage2,v 1.1 2008/03/25 22:00:02 niro Exp $ |
2 | |||
3 | PNAME="lynx" | ||
4 | PVER="2.8.6" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | # patchlevel of lynx | ||
8 | PLEVEL="5" | ||
9 | |||
10 | PCATEGORIE="net-www" | ||
11 | STATE="unstable" | ||
12 | |||
13 | DESCRIPTION="Lynx is the text web browser." | ||
14 | HOMEPAGE="http://lynx.isc.org/" | ||
15 | |||
16 | DEPEND=">= sys-libs/ncurses-5.7 | ||
17 | >= sys-libs/zlib-1.2 | ||
18 | >= dev-libs/openssl-0.9.8" | ||
19 | |||
20 | SDEPEND=">= sys-dev/gettext-0.11" | ||
21 | |||
22 | SRCFILE="${PNAME}${PVER}rel.${PLEVEL}.tar.bz2" | ||
23 | SRCDIR="${BUILDDIR}/${PNAME}$(echo ${PVER} | sed "s:\.:-:g")" | ||
24 | |||
25 | sminclude mbuild mtools | ||
26 | |||
27 | SRC_URI=( | ||
28 | http://lynx.isc.org/${PNAME}${PVER}/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd ${HOMEPAGE} | grep 'stable release' | sed 's/.*lynx\(.*\)\.\ .*/\1/;s/-/\./g'" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | CFLAGS="${CFLAGS} -DANSI_VARARGS" | ||
39 | |||
40 | mconfigure \ | ||
41 | --libdir=/etc \ | ||
42 | --with-ssl \ | ||
43 | --with-zlib \ | ||
44 | --enable-cgi-links \ | ||
45 | --enable-EXP_PERSISTENT_COOKIES \ | ||
46 | --enable-prettysrc \ | ||
47 | --enable-nsl-fork \ | ||
48 | --enable-file-upload \ | ||
49 | --enable-read-eta \ | ||
50 | --enable-libjs \ | ||
51 | --enable-color-style \ | ||
52 | --enable-scrollbar \ | ||
53 | --enable-included-msgs \ | ||
54 | || die | ||
55 | |||
56 | mmake || die | ||
57 | } | ||
58 | |||
59 | src_install() | ||
60 | { | ||
61 | cd ${SRCDIR} | ||
62 | |||
63 | # needed directories | ||
64 | minstalldir /usr/share/man/man1 || die | ||
65 | |||
66 | # installs lynx | ||
67 | mmake DESTDIR=${BINDIR} install || die | ||
68 | |||
69 | # installs lynx-doc files | ||
70 | make DOCDIR=${BINDIR}/usr/share/doc/${PNAME}-${PVER}/lynx_doc \ | ||
71 | HELPDIR=${BINDIR}/usr/share/doc/${PNAME}-${PVER}/lynx_help \ | ||
72 | install-doc || die | ||
73 | |||
74 | # installs lynx-help files | ||
75 | make DOCDIR=${BINDIR}/usr/share/doc/${PNAME}-${PVER}/lynx_doc \ | ||
76 | HELPDIR=${BINDIR}/usr/share/doc/${PNAME}-${PVER}/lynx_help \ | ||
77 | libdir=${BINDIR}/etc \ | ||
78 | install-help || die | ||
79 | |||
80 | # fixes doc/help location in lynx.cfg | ||
81 | sed -i "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PNAME}-${PVER}/lynx_help/lynx_help_main.html|" lynx.cfg || die | ||
82 | minstalletc ${SRCDIR}/lynx.cfg || die | ||
83 | |||
84 | # install other docs and readmes | ||
85 | minstalldocs CHANGES COPYHEADER INSTALLATION PROBLEMS README || die | ||
86 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |