the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: elinks
Version: 0.10.4
Revision: 1
Description: Development version of Links text WWW browser
License: GPL
Maintainer: Daniel Macks
Conflicts: elinks, elinks-ssl
Replaces: elinks, elinks-ssl
Depends: expat-shlibs, libidn-shlibs, bzip2-shlibs, libiconv
BuildDepends: expat, libidn, bzip2-dev, gettext-dev, gettext-tools, libiconv-dev, bison (>= 2.0)
Source: http://elinks.or.cz/download/elinks-%v.tar.bz2
Source-MD5: 0bcc8324f70dba46503af15023c8ee0f
PatchScript: sed 's|@PREFIX@|%p|' < %a/%n.patch | patch -p1
ConfigureParams: --mandir='${prefix}/share/man' --without-gpm --without-lua --without-x --without-openssl
CompileScript: <<
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
rm -r %i/lib %i/share/locale/locale.alias
<<
DocFiles: AUTHORS BUGS COPYING ChangeLog NEWS README SITES THANKS TODO
DescDetail: <<
Development version of Links (Lynx-like text WWW browser), with more
liberal features policy and development style.
This is the ELinks tree - intended to provide a feature-rich version
of Links. Its purpose is to provide an alternative to Links, and to
test and tune various new features, but still provide good rock-solid
releases inside stable branches.
<<
DescPort: <<
po/Makefile ignores prefix= passed with 'make install' but respects
DESTDIR= so do it that way.
This pkg builds and uses its own gettext libs (should fix to use
fink's). In the mean time, that means we get non-package-specific
config.charset and charset.alias, so we remove those.
Fink has lua5 but elinks is written against lua4 so diable lua support.
Not going to require X11. For info about why it is needed at all, see
http://linuxfromscratch.org/pipermail/elinks-dev/2004-January/000754.html
<<
Homepage: http://elinks.or.cz
diff -Nurd -x'*~' elinks-0.10.3.orig/configure elinks-0.10.3/configure
--- elinks-0.10.3.orig/configure 2005-02-28 16:17:42.000000000 -0500
+++ elinks-0.10.3/configure 2005-03-29 18:05:07.000000000 -0500
@@ -7269,6 +7269,9 @@
if test "$disable_openssl" = yes; then
cf_result="not used"
+ LIBS="-L@PREFIX@/lib $LIBS_X"
+ CFLAGS="$CFLAGS_X -I@PREFIX@/include"
+ CPPFLAGS="$CPPFLAGS_X -I@PREFIX@/include"
else
for ssldir in "$openssl_withval" "" /usr /usr/local/openssl \
/usr/lib/openssl /usr/local/ssl \
Package: elinks
Version: 0.11.2
Revision: 2
Description: Development version of Links text WWW browser
License: GPL
Maintainer: Daniel Macks
Conflicts: elinks-ssl (<< 0.11.2-2)
Replaces: elinks-ssl (<< 0.11.2-2)
Depends: expat1-shlibs, libidn-shlibs, bzip2-shlibs, libiconv
BuildDepends: expat1, libidn, bzip2-dev, gettext-tools, libiconv-dev, bison (>= 2.0), system-openssl-dev, fink (>= 0.24.12-1)
Source: http://elinks.or.cz/download/elinks-%v.tar.bz2
Source-MD5: 5a8f83afb527cf443f58b372136a81fc
PatchFile: %n.patch
PatchFile-MD5: 5d8877f3492290429637b9ad2103dd6c
PatchScript: <<
%{default_script}
perl -pi -e 's/INCLUDES( \+= .*CFLAGS)/CPPFLAGS\1/' `find . -name Makefile`
<<
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams: --mandir=%p/share/man --without-gpm --without-lua --without-x --without-spidermonkey --disable-fsp --with-openssl=%p/lib/system-openssl
CompileScript: <<
ac_cv_path_ASCIIDOC= ac_cv_path_XMLTO= ac_cv_path_JW= ./configure %c
make V=1
<<
InstallScript: <<
make install DESTDIR=%d
rm -r %i/lib %i/share/locale/locale.alias
<<
DocFiles: AUTHORS BUGS COPYING ChangeLog NEWS README SITES THANKS TODO
SplitOff: <<
Package: %N-ssl
Depends: %N (= %v-%r), fink-obsolete-packages
Description: Dummy upgrade package: use %N instead
InstallScript: <<
mkdir -p %i/share/doc/installed-packages
touch %i/share/doc/installed-packages/%n
<<
<<
DescDetail: <<
Development version of Links (Lynx-like text WWW browser), with more
liberal features policy and development style.
This is the ELinks tree - intended to provide a feature-rich version
of Links. Its purpose is to provide an alternative to Links, and to
test and tune various new features, but still provide good rock-solid
releases inside stable branches.
As of 0.11.2-2, "elinks" has ssl support and "elinks-ssl" is deprecated.
<<
DescPort: <<
This pkg builds and uses its own highly- and fairly-undocumentedly-
hacked gettext libs, so make sure to see *that* gettext's headers
before any fink or system ones that may exist.
Fink has lua5 but elinks is written against lua4 so diable lua support.
Fix general CPPFLAGS handling. See:
http://linuxfromscratch.org/pipermail/elinks-users/2006-November/001354.html
Fix configure *_CFLAGS propagation. See:
-rdynamic test is documented to be fragile. It incorrectly passes for
us, so just skip it.
<<
DescPackaging: <<
Not going to require X11. For info about why it is needed at all, see
http://linuxfromscratch.org/pipermail/elinks-dev/2004-January/000754.html
Define V Makefile variable to display actual compiler commands instead
of high-level summary.
Not gonna bother fixing the .h checking issues that lead to "present
but cannot be compiled" noise for netinet/ip.h and net/if.h
Make sure the internal gettext doesn't install charset files.
Rebuilding the docs uses docbook-utils, which has elinks as a
potential dependency. Circularity! We already have docs in the
tarball, so force configure to avoid looking for those utility
packages.
<<
Homepage: http://elinks.or.cz
diff -Nurd -x'*~' elinks-0.11.2.orig/Makefile.config.in elinks-0.11.2/Makefile.config.in
--- elinks-0.11.2.orig/Makefile.config.in 2006-11-19 08:46:35.000000000 -0500
+++ elinks-0.11.2/Makefile.config.in 2006-11-22 02:53:53.000000000 -0500
@@ -157,8 +157,9 @@
INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
+AM_CPPFLAGS = -I$(top_srcdir)/src/intl/gettext
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
MAKE_COLOR = @MAKE_COLOR@
diff -Nurd -x'*~' elinks-0.11.2.orig/configure elinks-0.11.2/configure
--- elinks-0.11.2.orig/configure 2006-11-19 08:46:47.000000000 -0500
+++ elinks-0.11.2/configure 2006-11-22 03:08:23.000000000 -0500
@@ -11212,6 +11212,7 @@
echo "${ECHO_T}$HAVE_VARIADIC_MACROS" >&6
+if false; then
echo "$as_me:$LINENO: checking for -rdynamic" >&5
echo $ECHO_N "checking for -rdynamic... $ECHO_C" >&6
LDFLAGS_X="$LDFLAGS"
@@ -11265,6 +11266,7 @@
test "$have_rdynamic" = no && LDFLAGS="$LDFLAGS_X"
echo "$as_me:$LINENO: result: $have_rdynamic" >&5
echo "${ECHO_T}$have_rdynamic" >&6
+fi
@@ -23327,7 +23329,28 @@
# CFLAGS doesn't contain all compile flags. Some will be added only when
# needed in the respective source directory. To get all compile flags
# easily just add CPPFLAGS.
-ALL_CFLAGS="$CFLAGS $CPPFLAGS"
+
+
+ about="Compiler options (CPPFLAGS)"
+ value=""
+ msgdots2="`echo $about | sed 's/[0-9]/./g'`"
+ msgdots1="`echo $msgdots2 | sed 's/[a-z]/./g'`"
+ msgdots0="`echo $msgdots1 | sed 's/[A-Z]/./g'`"
+ msgdots="`echo $msgdots0 | sed 's/[_ ()]/./g'`"
+ DOTS="................................"
+ dots=`echo $DOTS | sed "s/$msgdots//"`
+
+ # $msgdots too big?
+ if test "$dots" = "$DOTS"; then
+ dots=""
+ fi
+
+ if test -z "$value"; then
+ value="$CPPFLAGS"
+ fi
+
+ echo "$about $dots $value" >> features.log
+
about="Compiler options (CFLAGS)"
@@ -23345,7 +23368,7 @@
fi
if test -z "$value"; then
- value="$ALL_CFLAGS"
+ value="$CFLAGS"
fi
echo "$about $dots $value" >> features.log