wok annotate links-dfb/receipt @ rev 16165
links-dfb: typo in dip.c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 29 08:53:12 2014 +0000 (2014-03-29) |
parents | 59eaad62a24a |
children | eddeebf9b541 |
rev | line source |
---|---|
pankso@16151 | 1 # SliTaz package receipt. |
pankso@16151 | 2 |
pankso@16151 | 3 PACKAGE="links-dfb" |
pankso@16151 | 4 VERSION="2.8" |
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 } |