wok-4.x annotate links/receipt @ rev 7762
Up: tazlito (3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 22 13:37:46 2010 +0100 (2010-12-22) |
parents | fa67ff8d6e28 |
children | e2dd4c43c979 |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="links" |
pankso@2008 | 4 VERSION="2.2" |
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" |
pankso@553 | 10 BUILD_DEPENDS="ncurses-dev openssl-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 } |