wok-current view links-dfb/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="links-dfb"
4 VERSION="2.25"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browser using Ncurses, X or DirectFB."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://links.twibright.com/"
11 SOURCE="links"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://links.twibright.com/download/$TARBALL"
15 PROVIDE="links"
16 DEPENDS="directfb jpeg libgomp libpng ncurses openssl tiff zlib"
17 BUILD_DEPENDS="directfb-dev jpeg-dev libpng-dev ncurses-dev openssl-dev
18 tiff-dev zlib-dev "
20 HOST_ARCH="i486 arm"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
26 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i 's/\*last_val/last_val/' dip.c
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --mandir=/usr/share/man \
38 --with-directfb \
39 --without-bzip2 \
40 --enable-graphics \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install DESTDIR=$DESTDIR
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share/pixmaps
51 cp -a $install/usr/bin $fs/usr
52 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
53 }