links: 2.10

This commit is contained in:
James Mills 2015-09-01 12:12:19 +10:00
parent 7b78fb624f
commit 4df7fec6f9
3 changed files with 10 additions and 26 deletions

View File

@ -2,26 +2,13 @@ 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/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/links.1.gz
lrwxrwxrwx root/root usr/man/man1/xlinks.1.gz -> links.1.gz
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

View File

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

View File

@ -6,8 +6,8 @@
# Nice to have: xorg libtiff libpng
name=links
version=2.8
release=2
version=2.10
release=1
source=(http://links.twibright.com/download/${name}-${version}.tar.bz2 links.desktop)
build() {
@ -15,24 +15,21 @@ build() {
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure
(cd intl; ./gen-intl; ./synclang)
./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript \
./configure --prefix=/usr --mandir=/usr/man --enable-javascript \
--enable-graphics --with-x --with-fb
make
mv links xlinks
./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript \
./configure --prefix=/usr --mandir=/usr/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"
ln -s links.1.gz "${PKG}/usr/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/"
}