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