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

Up: tazpkg 4.8.1
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Mar 01 00:51:07 2012 +0100 (2012-03-01)
parents 0a754681aa3e
children b825b8e9c352
rev   line source
pankso@26 1 # SliTaz package receipt.
pankso@26 2
pankso@26 3 PACKAGE="links"
devl547@11331 4 VERSION="2.4"
pankso@203 5 CATEGORY="network"
pankso@26 6 SHORT_DESC="Light and speed web browser using Ncurses or Xlib."
pankso@26 7 MAINTAINER="pankso@slitaz.org"
pascal@2475 8 DEPENDS="ncurses openssl jpeg libpng tiff xorg-libX11 xorg-libXau \
pascal@2475 9 xorg-libXdmcp zlib"
slaxemulator@8954 10 BUILD_DEPENDS="ncurses-dev openssl-dev xorg-libXt-dev"
pankso@26 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@26 12 WEB_SITE="http://links.twibright.com/"
pankso@26 13 WGET_URL="http://links.twibright.com/download/$TARBALL"
pankso@26 14
pankso@26 15 # Rules to configure and make the package.
pankso@26 16 compile_rules()
pankso@26 17 {
pankso@26 18 cd $src
pankso@553 19 ./configure \
pankso@553 20 --prefix=/usr \
pankso@553 21 --sysconfdir=/etc \
pankso@553 22 --mandir=/usr/share/man \
pankso@553 23 --without-directfb \
pankso@570 24 --without-bzip2 \
pankso@553 25 --enable-graphics \
pascal@2475 26 $CONFIGURE_ARGS &&
pascal@2475 27 make &&
pankso@26 28 make DESTDIR=$PWD/_pkg install
pankso@26 29 }
pankso@26 30
pankso@26 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@26 32 genpkg_rules()
pankso@26 33 {
pankso@26 34 mkdir -p $fs/usr/share/pixmaps
pankso@26 35 cp -a $_pkg/usr/bin $fs/usr
pankso@26 36 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
pankso@26 37 }