wok annotate links/receipt @ rev 16631
ARM: add wiringpi-piface
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 11 17:09:05 2014 +0200 (2014-05-11) |
parents | c8ffc895ba9a |
children | 5d53e8ccbc8d |
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@16370 | 50 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/webhome |
pascal@15002 | 51 cp -a $install/usr/bin $fs/usr |
pankso@26 | 52 cp $src/graphics/links.xpm $fs/usr/share/pixmaps |
pankso@16370 | 53 cp $stuff/links.html $fs/usr/share/webhome |
pankso@26 | 54 } |