wok annotate w3m/receipt @ rev 14926

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