wok view links-dfb/receipt @ rev 20371

gnupg: restore compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 10 12:54:49 2018 +0200 (2018-06-10)
parents 07880f53b26e
children 29a21404e7bf
line source
1 # SliTaz package receipt.
3 PACKAGE="links-dfb"
4 VERSION="2.14"
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 libgomp 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 }