wok-current view links/receipt @ rev 24629

updated gsl and gsl-dev (2.6 -> 2.7.1)
author Hans-G?nter Theisgen
date Tue Mar 08 09:29:44 2022 +0100 (2022-03-08)
parents 645cc58cf94c
children 3450e9a2d1f6
line source
1 # SliTaz package receipt.
3 PACKAGE="links"
4 VERSION="2.20.2"
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 -j 1 &&
54 make DESTDIR=$DESTDIR install
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 }