wok-next view links/receipt @ rev 16693
slitaz-icon: workaround tarball
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 05:21:33 2014 +0300 (2014-05-23) |
parents | c8ffc895ba9a |
children | 5d53e8ccbc8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="links"
4 VERSION="2.8"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browser using Ncurses or Xlib."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://links.twibright.com/"
11 WGET_URL="http://links.twibright.com/download/$TARBALL"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="gpm"
15 DEPENDS="ncurses libssl libcrypto jpeg libpng tiff xorg-libX11 xorg-libXau \
16 xorg-libXdmcp libxcb zlib liblzma bzlib"
17 BUILD_DEPENDS="openssl-dev xorg-libX11-dev jpeg-dev libpng-dev tiff-dev \
18 zlib-dev xorg-libXdmcp-dev libxcb-dev xorg-libXau-dev xz-dev bzip2-dev \
19 gpm-dev"
21 # Handle cross compilation
22 case "$ARCH" in
23 arm*)
24 VERSION="2.7"
25 TARBALL="$PACKAGE-$VERSION.tar.gz"
26 WGET_URL="http://links.twibright.com/download/$TARBALL" ;;
27 esac
29 # Handle SliTaz arch
30 case "$SLITAZ_ARCH" in
31 arm*) VERSION="2.7" ;;
32 esac
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 ./configure \
38 --prefix=/usr \
39 --sysconfdir=/etc \
40 --enable-graphics \
41 --without-directfb \
42 $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/webhome
51 cp -a $install/usr/bin $fs/usr
52 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
53 cp $stuff/links.html $fs/usr/share/webhome
54 }