wok-4.x annotate elinks/receipt @ rev 8509
Fix: slang need -j1 to install well
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 03:14:54 2011 +0100 (2011-02-12) |
parents | a64fbb1eb13a |
children | 02bbaa9d12ba |
rev | line source |
---|---|
allan316@3279 | 1 # SliTaz package receipt. |
allan316@3279 | 2 |
allan316@3279 | 3 PACKAGE="elinks" |
slaxemulator@7296 | 4 VERSION="0.11.7" |
allan316@3279 | 5 CATEGORY="network" |
allan316@3279 | 6 SHORT_DESC="Full featured www text browser" |
allan316@3279 | 7 MAINTAINER="allan316@gmail.com" |
pascal@5000 | 8 DEPENDS="openssl bzip2 spidermonkey xorg-libX11 zlib libidn expat \ |
pascal@5000 | 9 xorg-libXau xorg-libXdmcp" |
allan316@3279 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3279 | 11 WEB_SITE="http://elinks.or.cz" |
allan316@3279 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
jozee@4935 | 13 TAGS="browser" |
allan316@3279 | 14 |
allan316@3279 | 15 # Rules to configure and make the package. |
allan316@3279 | 16 compile_rules() |
allan316@3279 | 17 { |
allan316@3279 | 18 cd $src |
allan316@3279 | 19 ./configure --prefix=$PWD/_pkg/usr --infodir=$PWD/_pkg/usr/share/info \ |
pascal@5000 | 20 --mandir=$PWD/_pkg/usr/share/man $CONFIGURE_ARGS && |
pascal@5000 | 21 make && |
allan316@3279 | 22 make install |
allan316@3279 | 23 } |
allan316@3279 | 24 |
allan316@3279 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3279 | 26 genpkg_rules() |
allan316@3279 | 27 { |
allan316@3279 | 28 mkdir -p $fs/usr |
allan316@3279 | 29 cp -a $_pkg/usr/bin $fs/usr |
allan316@3279 | 30 strip -s $fs/usr/bin/* |
allan316@3279 | 31 } |
allan316@3279 | 32 |