links (NEW): A text WWW browser, similar to Lynx

This commit is contained in:
James Mills 2014-11-30 01:11:16 +10:00
parent f853214711
commit 43da346606
3 changed files with 68 additions and 0 deletions

28
links/.footprint Normal file
View File

@ -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

2
links/.md5sum Normal file
View File

@ -0,0 +1,2 @@
d5fb7c45ca41dad2b20f5c056498ea07 links-2.8.tar.bz2
33c384881ab0e4522b00b60ca4ed221b links.desktop

38
links/Pkgfile Normal file
View File

@ -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/"
}