wok annotate links-dfb/receipt @ rev 21235
libhtp; update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 11 14:51:36 2019 +0200 (2019-04-11) |
parents | 07880f53b26e |
children | 29a21404e7bf |
rev | line source |
---|---|
pankso@16151 | 1 # SliTaz package receipt. |
pankso@16151 | 2 |
pankso@16151 | 3 PACKAGE="links-dfb" |
psychomaniak@19553 | 4 VERSION="2.14" |
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 |
psychomaniak@18516 | 16 DEPENDS="ncurses openssl jpeg libpng tiff zlib libgomp 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 } |