wok annotate links/receipt @ rev 23135
updated links and links-dfb (2.19 -> 2.20.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 14 16:55:45 2020 +0100 (2020-03-14) |
parents | 29a21404e7bf |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="links" |
Hans-G?nter@23135 | 4 VERSION="2.20.2" |
pankso@203 | 5 CATEGORY="network" |
Hans-G?nter@21362 | 6 TAGS="web-browser" |
samuel_trassare@12047 | 7 SHORT_DESC="Light and fast web browser using Ncurses or Xlib." |
pankso@26 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
Hans-G?nter@21362 | 10 WEB_SITE="http://links.twibright.com/" |
Hans-G?nter@21362 | 11 |
pascal@15002 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15002 | 13 WGET_URL="http://links.twibright.com/download/$TARBALL" |
pascal@15002 | 14 |
pankso@16097 | 15 SUGGESTED="gpm" |
Hans-G?nter@23135 | 16 DEPENDS="bzlib jpeg libcrypto libgomp liblzma libpng libssl libxcb ncurses |
Hans-G?nter@23135 | 17 tiff xorg-libX11 xorg-libXau xorg-libXdmcp zlib" |
Hans-G?nter@23135 | 18 BUILD_DEPENDS="bzip2-dev gpm-dev jpeg-dev libpng-dev libxcb-dev openssl-dev |
Hans-G?nter@23135 | 19 tiff-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xz-dev |
Hans-G?nter@23135 | 20 zlib-dev" |
Hans-G?nter@21362 | 21 |
Hans-G?nter@21362 | 22 HOST_ARCH="i486 arm" |
pankso@16097 | 23 |
pankso@16097 | 24 # Handle cross compilation |
pankso@16097 | 25 case "$ARCH" in |
pankso@16097 | 26 arm*) |
pankso@16097 | 27 VERSION="2.7" |
pankso@16097 | 28 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16097 | 29 WGET_URL="http://links.twibright.com/download/$TARBALL" ;; |
pankso@16097 | 30 esac |
pankso@16097 | 31 |
pankso@16097 | 32 # Handle SliTaz arch |
pankso@16097 | 33 case "$SLITAZ_ARCH" in |
pankso@16097 | 34 arm*) VERSION="2.7" ;; |
pankso@16097 | 35 esac |
pankso@26 | 36 |
pankso@26 | 37 # Rules to configure and make the package. |
pankso@26 | 38 compile_rules() |
pankso@26 | 39 { |
Hans-G?nter@21362 | 40 ./configure \ |
Hans-G?nter@21362 | 41 --prefix=/usr \ |
Hans-G?nter@21362 | 42 --sysconfdir=/etc \ |
Hans-G?nter@21362 | 43 --enable-graphics \ |
Hans-G?nter@21362 | 44 --without-directfb \ |
pascal@2475 | 45 $CONFIGURE_ARGS && |
Hans-G?nter@21362 | 46 make -j 1 && |
pascal@15002 | 47 make DESTDIR=$DESTDIR install |
pankso@26 | 48 } |
pankso@26 | 49 |
pankso@26 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 51 genpkg_rules() |
pankso@26 | 52 { |
Hans-G?nter@21362 | 53 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@21362 | 54 mkdir -p $fs/usr/share/webhome |
Hans-G?nter@21362 | 55 |
Hans-G?nter@21362 | 56 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21362 | 57 cp $src/graphics/links.xpm $fs/usr/share/pixmaps |
Hans-G?nter@21362 | 58 cp $stuff/links.html $fs/usr/share/webhome |
pankso@26 | 59 } |