wok-current view links-dfb/receipt @ rev 21988

Up sudo (1.8.28) CVE-2019-14287
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 10:14:15 2019 +0200 (2019-10-15)
parents 074f8db95176
children 645cc58cf94c
line source
1 # SliTaz package receipt.
3 PACKAGE="links-dfb"
4 VERSION="2.19"
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="ncurses openssl jpeg libpng tiff zlib libgomp directfb"
17 BUILD_DEPENDS="openssl-dev ncurses-dev jpeg-dev libpng-dev tiff-dev \
18 zlib-dev directfb-dev"
20 HOST_ARCH="i486 arm"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/\*last_val/last_val/' dip.c
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 --with-directfb \
32 --without-bzip2 \
33 --enable-graphics \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/pixmaps
44 cp -a $install/usr/bin $fs/usr
45 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
46 }