commit 43da346606b64c78380dbf490fede7a4d63fe910 Author: James Mills <prologic@shortcircuit.net.au> Date: Sun Nov 30 01:11:16 2014 +1000 links (NEW): A text WWW browser, similar to Lynx diff --git a/links/.footprint b/links/.footprint new file mode 100644 index 0000000..8c60939 --- /dev/null +++ b/links/.footprint @@ -0,0 +1,28 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/links +-rwxr-xr-x root/root usr/bin/xlinks +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/links.desktop +drwxr-xr-x root/root usr/share/doc/ +drwxr-xr-x root/root usr/share/doc/links/ +drwxr-xr-x root/root usr/share/doc/links/calibration/ +-rw-r--r-- root/root usr/share/doc/links/calibration/adjusted.png +-rw-r--r-- root/root usr/share/doc/links/calibration/black-control-rocking.png +-rw-r--r-- root/root usr/share/doc/links/calibration/black-icon.png +-rw-r--r-- root/root usr/share/doc/links/calibration/calibration.html +-rw-r--r-- root/root usr/share/doc/links/calibration/elbow.png +-rw-r--r-- root/root usr/share/doc/links/calibration/kalibrace.html +-rw-r--r-- root/root usr/share/doc/links/calibration/picture-crank-0.png +-rw-r--r-- root/root usr/share/doc/links/calibration/picture-crank-up.png +-rw-r--r-- root/root usr/share/doc/links/calibration/picture-icon.png +-rw-r--r-- root/root usr/share/doc/links/calibration/test_pattern.png +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/links.1.gz +lrwxrwxrwx root/root usr/share/man/man1/xlinks.1.gz -> links.1.gz +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/links_16x16_1.xpm +-rw-r--r-- root/root usr/share/pixmaps/links_16x16_2.xpm +-rw-r--r-- root/root usr/share/pixmaps/links_32x32.xpm diff --git a/links/.md5sum b/links/.md5sum new file mode 100644 index 0000000..1208522 --- /dev/null +++ b/links/.md5sum @@ -0,0 +1,2 @@ +d5fb7c45ca41dad2b20f5c056498ea07 links-2.8.tar.bz2 +33c384881ab0e4522b00b60ca4ed221b links.desktop diff --git a/links/Pkgfile b/links/Pkgfile new file mode 100644 index 0000000..44401a2 --- /dev/null +++ b/links/Pkgfile @@ -0,0 +1,38 @@ +# Description: A text WWW browser, similar to Lynx +# URL: http://links.twibright.com/ +# Maintainer: James Mills, prologic at shortcircuit dot net dot au +# +# Depends on: bzip2 xz openssl gpm +# Nice to have: xorg libtiff libpng + +name=links +version=2.8 +release=1 +source=(http://links.twibright.com/download/${name}-${version}.tar.bz2 links.desktop) + +build() { + cd ${name}-${version} + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure + + (cd intl; ./gen-intl; ./synclang) + ./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript \ + --enable-graphics --with-x --with-fb + make + mv links xlinks + + ./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript \ + --disable-graphics --without-x --without-fb + make + + make DESTDIR="${PKG}" install + + install -m755 xlinks "${PKG}/usr/bin/xlinks" + ln -s links.1.gz "${PKG}/usr/share/man/man1/xlinks.1.gz" + + install -D -m644 "${SRC}/links.desktop" "${PKG}/usr/share/applications/links.desktop" + install -d "${PKG}/usr/share/pixmaps" + install -m644 links_16x16_1.xpm links_16x16_2.xpm links_32x32.xpm "${PKG}/usr/share/pixmaps/" + + install -d "${PKG}/usr/share/doc/links/calibration" + install -m644 doc/links_cal/* "${PKG}/usr/share/doc/links/calibration/" +}