wok annotate links/receipt @ rev 20845

updated directfb again (1.4.3 -> 1.7.7)
author Hans-G?nter Theisgen
date Thu Feb 21 14:01:03 2019 +0100 (2019-02-21)
parents 07880f53b26e
children 29a21404e7bf
rev   line source
pankso@26 1 # SliTaz package receipt.
pankso@26 2
pankso@26 3 PACKAGE="links"
psychomaniak@19553 4 VERSION="2.14"
pankso@203 5 CATEGORY="network"
samuel_trassare@12047 6 SHORT_DESC="Light and fast web browser using Ncurses or Xlib."
pankso@26 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@15002 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15002 10 WEB_SITE="http://links.twibright.com/"
pascal@15002 11 WGET_URL="http://links.twibright.com/download/$TARBALL"
al@17501 12 TAGS="web-browser"
pankso@16097 13 HOST_ARCH="i486 arm"
pascal@15002 14
pankso@16097 15 SUGGESTED="gpm"
pankso@16097 16 DEPENDS="ncurses libssl libcrypto jpeg libpng tiff xorg-libX11 xorg-libXau \
psychomaniak@18516 17 xorg-libXdmcp libxcb zlib liblzma bzlib libgomp"
pankso@16097 18 BUILD_DEPENDS="openssl-dev xorg-libX11-dev jpeg-dev libpng-dev tiff-dev \
pankso@16097 19 zlib-dev xorg-libXdmcp-dev libxcb-dev xorg-libXau-dev xz-dev bzip2-dev \
pankso@16097 20 gpm-dev"
pankso@16097 21
pankso@16097 22 # Handle cross compilation
pankso@16097 23 case "$ARCH" in
pankso@16097 24 arm*)
pankso@16097 25 VERSION="2.7"
pankso@16097 26 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16097 27 WGET_URL="http://links.twibright.com/download/$TARBALL" ;;
pankso@16097 28 esac
pankso@16097 29
pankso@16097 30 # Handle SliTaz arch
pankso@16097 31 case "$SLITAZ_ARCH" in
pankso@16097 32 arm*) VERSION="2.7" ;;
pankso@16097 33 esac
pankso@26 34
pankso@26 35 # Rules to configure and make the package.
pankso@26 36 compile_rules()
pankso@26 37 {
pankso@553 38 ./configure \
pankso@553 39 --prefix=/usr \
pankso@553 40 --sysconfdir=/etc \
pankso@16097 41 --enable-graphics \
pankso@553 42 --without-directfb \
pascal@2475 43 $CONFIGURE_ARGS &&
pascal@2475 44 make &&
pascal@15002 45 make DESTDIR=$DESTDIR install
pankso@26 46 }
pankso@26 47
pankso@26 48 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@26 49 genpkg_rules()
pankso@26 50 {
pankso@16370 51 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/webhome
pascal@15002 52 cp -a $install/usr/bin $fs/usr
pankso@26 53 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
pankso@16370 54 cp $stuff/links.html $fs/usr/share/webhome
pankso@26 55 }