summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/links/files/.mtn2git_empty0
-rw-r--r--packages/links/files/ac-prog-cxx.patch11
-rw-r--r--packages/links/links-x11_2.1pre20.bb21
-rw-r--r--packages/links/links_2.1pre20.bb19
4 files changed, 51 insertions, 0 deletions
diff --git a/packages/links/files/.mtn2git_empty b/packages/links/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/links/files/.mtn2git_empty
diff --git a/packages/links/files/ac-prog-cxx.patch b/packages/links/files/ac-prog-cxx.patch
new file mode 100644
index 0000000000..41c3826850
--- /dev/null
+++ b/packages/links/files/ac-prog-cxx.patch
@@ -0,0 +1,11 @@
+--- links-2.1pre20/configure.in.orig 2005-12-21 15:23:49.000000000 +0000
++++ links-2.1pre20/configure.in 2005-12-21 15:23:59.000000000 +0000
+@@ -18,7 +18,7 @@
+ dnl Checks for programs.
+ AC_PROG_CC
+
+-#AC_PROG_CXX
++AC_PROG_CXX
+ #AC_PROG_AWK
+ #AM_PROG_LEX
+ #AC_PROG_YACC
diff --git a/packages/links/links-x11_2.1pre20.bb b/packages/links/links-x11_2.1pre20.bb
new file mode 100644
index 0000000000..685ca73fd8
--- /dev/null
+++ b/packages/links/links-x11_2.1pre20.bb
@@ -0,0 +1,21 @@
+LICENSE = "GPL"
+SECTION = "console/network"
+DEPENDS = "jpeg libpng flex openssl zlib x11"
+DESCRIPTION = "Links is graphics and text mode WWW \
+browser, similar to Lynx."
+RCONFLICTS = "links"
+
+MAINTAINER = "Graeme Gregory <dp@xora.org.uk>"
+
+SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \
+ file://ac-prog-cxx.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
+ --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
+ --without-libtiff --without-svgalib --without-fb \
+ --without-directfb --without-pmshell --without-atheos \
+ --with-x --without-gpm"
+
+S = "${WORKDIR}/links-${PV}"
diff --git a/packages/links/links_2.1pre20.bb b/packages/links/links_2.1pre20.bb
new file mode 100644
index 0000000000..81906242d3
--- /dev/null
+++ b/packages/links/links_2.1pre20.bb
@@ -0,0 +1,19 @@
+LICENSE = "GPL"
+SECTION = "console/network"
+DEPENDS = "jpeg libpng gpm flex openssl zlib"
+DESCRIPTION = "Links is graphics and text mode WWW \
+browser, similar to Lynx."
+RCONFLICTS="links-x11"
+
+MAINTAINER = "Graeme Gregory <dp@xora.org.uk>"
+
+SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \
+ file://ac-prog-cxx.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
+ --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
+ --without-libtiff --without-svgalib --with-fb \
+ --without-directfb --without-pmshell --without-atheos \
+ --without-x"