wok-6.x annotate links/receipt @ rev 16211

Up mesa-wayland-dev (9.1.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 31 11:30:38 2014 +0000 (2014-03-31)
parents dcda2f70754b
children 31f2efb0fcb9
rev   line source
pankso@26 1 # SliTaz package receipt.
pankso@26 2
pankso@26 3 PACKAGE="links"
pankso@15748 4 VERSION="2.8"
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"
pankso@16097 12 HOST_ARCH="i486 arm"
pascal@15002 13
pankso@16097 14 SUGGESTED="gpm"
pankso@16097 15 DEPENDS="ncurses libssl libcrypto jpeg libpng tiff xorg-libX11 xorg-libXau \
pankso@16097 16 xorg-libXdmcp libxcb zlib liblzma bzlib"
pankso@16097 17 BUILD_DEPENDS="openssl-dev xorg-libX11-dev jpeg-dev libpng-dev tiff-dev \
pankso@16097 18 zlib-dev xorg-libXdmcp-dev libxcb-dev xorg-libXau-dev xz-dev bzip2-dev \
pankso@16097 19 gpm-dev"
pankso@16097 20
pankso@16097 21 # Handle cross compilation
pankso@16097 22 case "$ARCH" in
pankso@16097 23 arm*)
pankso@16097 24 VERSION="2.7"
pankso@16097 25 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16097 26 WGET_URL="http://links.twibright.com/download/$TARBALL" ;;
pankso@16097 27 esac
pankso@16097 28
pankso@16097 29 # Handle SliTaz arch
pankso@16097 30 case "$SLITAZ_ARCH" in
pankso@16097 31 arm*) VERSION="2.7" ;;
pankso@16097 32 esac
pankso@26 33
pankso@26 34 # Rules to configure and make the package.
pankso@26 35 compile_rules()
pankso@26 36 {
pankso@553 37 ./configure \
pankso@553 38 --prefix=/usr \
pankso@553 39 --sysconfdir=/etc \
pankso@16097 40 --enable-graphics \
pankso@553 41 --without-directfb \
pascal@2475 42 $CONFIGURE_ARGS &&
pascal@2475 43 make &&
pascal@15002 44 make DESTDIR=$DESTDIR install
pankso@26 45 }
pankso@26 46
pankso@26 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@26 48 genpkg_rules()
pankso@26 49 {
pankso@26 50 mkdir -p $fs/usr/share/pixmaps
pascal@15002 51 cp -a $install/usr/bin $fs/usr
pankso@26 52 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
pankso@26 53 }