wok-6.x view links-dfb/receipt @ rev 24755
gtklp: ignore ERROR from autogen.sh
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 17 07:54:00 2022 +0100 (2022-03-17) |
parents | 645cc58cf94c |
children | 3450e9a2d1f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="links-dfb"
4 VERSION="2.20.2"
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 -j 1 &&
43 make DESTDIR=$DESTDIR install
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 }