wok view links/receipt @ rev 21605
Up opus (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 13:26:20 2019 +0200 (2019-05-23) |
parents | 074f8db95176 |
children | 645cc58cf94c |
line source
1 # SliTaz package receipt.
3 PACKAGE="links"
4 VERSION="2.19"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="Light and fast web browser using Ncurses or Xlib."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://links.twibright.com/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://links.twibright.com/download/$TARBALL"
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 HOST_ARCH="i486 arm"
24 # Handle cross compilation
25 case "$ARCH" in
26 arm*)
27 VERSION="2.7"
28 TARBALL="$PACKAGE-$VERSION.tar.gz"
29 WGET_URL="http://links.twibright.com/download/$TARBALL" ;;
30 esac
32 # Handle SliTaz arch
33 case "$SLITAZ_ARCH" in
34 arm*) VERSION="2.7" ;;
35 esac
37 # Rules to configure and make the package.
38 compile_rules()
39 {
40 ./configure \
41 --prefix=/usr \
42 --sysconfdir=/etc \
43 --enable-graphics \
44 --without-directfb \
45 $CONFIGURE_ARGS &&
46 make -j 1 &&
47 make DESTDIR=$DESTDIR install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/share/pixmaps
54 mkdir -p $fs/usr/share/webhome
56 cp -a $install/usr/bin $fs/usr
57 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
58 cp $stuff/links.html $fs/usr/share/webhome
59 }