wok-current annotate w3m/receipt @ rev 17407
ola: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 18:21:40 2014 +0100 (2014-11-28) |
parents | 19e4f8b328ef |
children | 5d53e8ccbc8d |
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" |
pascal@15601 | 8 LICENSE="MIT" |
mojo@14202 | 9 WEB_SITE="http://w3m.sourceforge.net" |
mojo@14202 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mojo@14202 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$TARBALL" |
mojo@14202 | 12 |
mojo@14202 | 13 DEPENDS="gc libcrypto libssl ncurses" |
mojo@14202 | 14 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev" |
mojo@14202 | 15 |
mojo@14202 | 16 # Rules to configure and make the package. |
mojo@14202 | 17 compile_rules() |
mojo@14202 | 18 { |
mojo@14207 | 19 cd $src |
mojo@14207 | 20 for i in $stuff/*.patch |
mojo@14207 | 21 do |
mojo@14207 | 22 if [ -f done.$(basename $i) ]; then |
mojo@14207 | 23 continue |
mojo@14207 | 24 else |
mojo@14207 | 25 patch -p0 < $i && touch done.$(basename $i) || return 1 |
mojo@14207 | 26 fi |
mojo@14207 | 27 done |
mojo@14207 | 28 ./configure $CONFIGURE_ARGS && make && make install |
mojo@14202 | 29 } |
mojo@14202 | 30 |
mojo@14202 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@14202 | 32 genpkg_rules() |
mojo@14202 | 33 { |
mojo@14202 | 34 cp -a $install/* $fs |
mojo@14202 | 35 } |