wok-6.x view links-dfb/receipt @ rev 23937

qemu: add X86_64 efi bios
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 11:24:50 2020 +0000 (2020-09-12)
parents 29a21404e7bf
children ede1d184d5c5
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 # 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 }