browser, similar to Lynx."
HOMEPAGE = "http://links.twibright.com/"
SECTION = "console/network"
-LICENSE = "GPL"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=65e735be2e05d5943803344148f57603"
DEPENDS = "jpeg libpng flex openssl zlib"
-LPV = "${@bb.data.getVar("PV",d,1).split("+")[1]}"
-
-SRC_URI = "http://links.twibright.com/download/links-${LPV}.tar.bz2 \
+SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \
file://ac-prog-cxx.patch;patch=1 \
- file://cookies-save-0.96.patch;patch=1 \
- file://links-2.1pre17-fix-segfault-on-loading-cookies.patch;patch=1"
+"
-inherit autotools
+# pandora hack: certs just don't work, no idea why
+CPPFLAGS += -DNO_SSL_CERTIFICATES
-S = "${WORKDIR}/links-${LPV}"
+#PACKAGECONFIG ??= ""
+#PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
+#PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
+EXTRA_OECONF += " --with-bzip2 --with-lzma --without-libevent"
+inherit autotools pkgconfig