wok-next view w3m/receipt @ rev 14207

w3m: config receipt to use patches
author Richard Dunbar <mojo@slitaz.org>
date Fri Mar 15 13:42:03 2013 +0000 (2013-03-15)
parents 2b1b306b8dde
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="w3m"
4 VERSION="0.5.3"
5 CATEGORY="network"
6 SHORT_DESC="Text Mode Web Browser"
7 MAINTAINER="mojo@slitaz.org"
8 WEB_SITE="http://w3m.sourceforge.net"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$TARBALL"
12 DEPENDS="gc libcrypto libssl ncurses"
13 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 for i in $stuff/*.patch
20 do
21 if [ -f done.$(basename $i) ]; then
22 continue
23 else
24 patch -p0 < $i && touch done.$(basename $i) || return 1
25 fi
26 done
27 ./configure $CONFIGURE_ARGS && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }