wok-next annotate w3m/receipt @ rev 18646

Up cookutils(780)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 30 04:22:24 2015 +0200 (2015-11-30)
parents 3ce7127900b0
children daa754d4b004
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"
al@17501 12 TAGS="web-browser"
mojo@14202 13
mojo@14202 14 DEPENDS="gc libcrypto libssl ncurses"
mojo@14202 15 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev"
mojo@14202 16
mojo@14202 17 # Rules to configure and make the package.
mojo@14202 18 compile_rules()
mojo@14202 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@17505 21 for i in $stuff/*.patch
pascal@17505 22 do
mojo@14207 23 if [ -f done.$(basename $i) ]; then
mojo@14207 24 continue
mojo@14207 25 else
mojo@14207 26 patch -p0 < $i && touch done.$(basename $i) || return 1
mojo@14207 27 fi
mojo@14207 28 done
mojo@14207 29 ./configure $CONFIGURE_ARGS && make && make install
mojo@14202 30 }
mojo@14202 31
mojo@14202 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@14202 33 genpkg_rules()
mojo@14202 34 {
mojo@14202 35 cp -a $install/* $fs
mojo@14202 36 }