wok-current annotate links-dfb/receipt @ rev 18328
Up links-dfb (2.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 08 15:25:39 2015 +0200 (2015-09-08) |
parents | d2e9576be90f |
children | d2dc20032ed1 |
rev | line source |
---|---|
pankso@16151 | 1 # SliTaz package receipt. |
pankso@16151 | 2 |
pankso@16151 | 3 PACKAGE="links-dfb" |
pascal@18328 | 4 VERSION="2.11" |
pankso@16151 | 5 CATEGORY="network" |
pankso@16151 | 6 SHORT_DESC="Light and fast web browser using Ncurses, X or DirectFB." |
pankso@16151 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16151 | 8 LICENSE="GPL2" |
pankso@16151 | 9 SOURCE="links" |
pankso@16151 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@16151 | 11 WEB_SITE="http://links.twibright.com/" |
pankso@16151 | 12 WGET_URL="http://links.twibright.com/download/$TARBALL" |
pankso@16151 | 13 HOST_ARCH="i486 arm" |
pankso@16151 | 14 PROVIDE="links" |
pankso@16151 | 15 |
pankso@16151 | 16 DEPENDS="ncurses openssl jpeg libpng tiff zlib directfb" |
pankso@16151 | 17 BUILD_DEPENDS="openssl-dev ncurses-dev jpeg-dev libpng-dev tiff-dev \ |
pankso@16151 | 18 zlib-dev directfb-dev" |
pankso@16151 | 19 |
pankso@16151 | 20 # Rules to configure and make the package. |
pankso@16151 | 21 compile_rules() |
pankso@16151 | 22 { |
pascal@16165 | 23 sed -i 's/\*last_val/last_val/' dip.c |
pankso@16151 | 24 ./configure \ |
pankso@16151 | 25 --prefix=/usr \ |
pankso@16151 | 26 --sysconfdir=/etc \ |
pankso@16151 | 27 --mandir=/usr/share/man \ |
pankso@16151 | 28 --with-directfb \ |
pankso@16151 | 29 --without-bzip2 \ |
pankso@16151 | 30 --enable-graphics \ |
pankso@16151 | 31 $CONFIGURE_ARGS && |
pankso@16151 | 32 make && |
pankso@16151 | 33 make DESTDIR=$DESTDIR install |
pankso@16151 | 34 } |
pankso@16151 | 35 |
pankso@16151 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16151 | 37 genpkg_rules() |
pankso@16151 | 38 { |
pankso@16151 | 39 mkdir -p $fs/usr/share/pixmaps |
pankso@16151 | 40 cp -a $install/usr/bin $fs/usr |
pankso@16151 | 41 cp $src/graphics/links.xpm $fs/usr/share/pixmaps |
pankso@16151 | 42 } |