wok view w3m/receipt @ rev 19605

kmod: link dynamically with libkmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 04 10:42:55 2017 +0100 (2017-01-04)
parents 3ce7127900b0
children c32de9979605
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 LICENSE="MIT"
9 WEB_SITE="http://w3m.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$TARBALL"
12 TAGS="web-browser"
14 DEPENDS="gc libcrypto libssl ncurses"
15 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 for i in $stuff/*.patch
22 do
23 if [ -f done.$(basename $i) ]; then
24 continue
25 else
26 patch -p0 < $i && touch done.$(basename $i) || return 1
27 fi
28 done
29 ./configure $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }