wok-next view links-dfb/receipt @ rev 16394

Add: xinput-calibrator (for touchscreen calibration, tested on my pitft)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 18:32:55 2014 +0200 (2014-04-15)
parents 59eaad62a24a
children eddeebf9b541
line source
1 # SliTaz package receipt.
3 PACKAGE="links-dfb"
4 VERSION="2.8"
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 SOURCE="links"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://links.twibright.com/"
12 WGET_URL="http://links.twibright.com/download/$TARBALL"
13 HOST_ARCH="i486 arm"
14 PROVIDE="links"
16 DEPENDS="ncurses openssl jpeg libpng tiff zlib directfb"
17 BUILD_DEPENDS="openssl-dev ncurses-dev jpeg-dev libpng-dev tiff-dev \
18 zlib-dev directfb-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/\*last_val/last_val/' dip.c
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --with-directfb \
29 --without-bzip2 \
30 --enable-graphics \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
40 cp -a $install/usr/bin $fs/usr
41 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
42 }