wok-stable view elinks/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents a64fbb1eb13a
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="elinks"
4 VERSION="0.11.7"
5 CATEGORY="network"
6 SHORT_DESC="Full featured www text browser"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="openssl bzip2 spidermonkey xorg-libX11 zlib libidn expat \
9 xorg-libXau xorg-libXdmcp"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://elinks.or.cz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
13 TAGS="browser"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=$PWD/_pkg/usr --infodir=$PWD/_pkg/usr/share/info \
20 --mandir=$PWD/_pkg/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 strip -s $fs/usr/bin/*
31 }