wok view links/receipt @ rev 25778
Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:06:10 2024 +0000 (2 months ago) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="links"
4 VERSION="2.25"
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="bzlib jpeg libcrypto libgomp liblzma libpng libssl libxcb ncurses
17 tiff xorg-libX11 xorg-libXau xorg-libXdmcp zlib"
18 BUILD_DEPENDS="bzip2-dev gpm-dev jpeg-dev libpng-dev libxcb-dev openssl-dev
19 tiff-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xz-dev
20 zlib-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 # What is the latest version available today?
38 current_version()
39 {
40 wget -O - ${WGET_URL%/*} 2>/dev/null | \
41 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
42 }
44 # Rules to configure and make the package.
45 compile_rules()
46 {
47 ./configure \
48 --prefix=/usr \
49 --sysconfdir=/etc \
50 --enable-graphics \
51 --without-directfb \
52 $CONFIGURE_ARGS &&
53 make &&
54 make install DESTDIR=$DESTDIR
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/share/pixmaps
61 mkdir -p $fs/usr/share/webhome
63 cp -a $install/usr/bin $fs/usr
64 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
65 cp $stuff/links.html $fs/usr/share/webhome
66 }