wok-current view elinks/receipt @ rev 4481
linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 14 15:44:04 2009 +0100 (2009-11-14) |
parents | 05f8cea65817 |
children | 31c985a0bd3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="elinks"
4 VERSION="0.11.6"
5 CATEGORY="network"
6 SHORT_DESC="Full featured www text browser"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="openssl bzip2 spidermonkey"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://elinks.or.cz"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=$PWD/_pkg/usr --infodir=$PWD/_pkg/usr/share/info \
18 --mandir=$PWD/_pkg/usr/share/man $CONFIGURE_ARGS
19 make
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/*
29 }