wok view links/receipt @ rev 10274
ncurses*: build fail if native build system is used so use the compiler machine type
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 21 21:22:47 2011 +0200 (2011-05-21) |
parents | e2dd4c43c979 |
children | eed53fc779e6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="links"
4 VERSION="2.2"
5 CATEGORY="network"
6 SHORT_DESC="Light and speed web browser using Ncurses or Xlib."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses openssl jpeg libpng tiff xorg-libX11 xorg-libXau \
9 xorg-libXdmcp zlib"
10 BUILD_DEPENDS="ncurses-dev openssl-dev xorg-libXt-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://links.twibright.com/"
13 WGET_URL="http://links.twibright.com/download/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --without-directfb \
24 --without-bzip2 \
25 --enable-graphics \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/pixmaps
35 cp -a $_pkg/usr/bin $fs/usr
36 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
37 }