Depend on patches changes.
[slapos.git] / component / w3m / buildout.cfg
1 [buildout]
2 extends =
3   ../garbage-collector/buildout.cfg
4   ../ncurses/buildout.cfg
5   ../openssl/buildout.cfg
6   ../pkgconfig/buildout.cfg
7   ../zlib/buildout.cfg
8
9 parts =
10   w3m
11
12 [w3m-w3m.gcc.forward.compat.patch]
13 recipe = hexagonit.recipe.download
14 url =${:_profile_base_location_}/${:filename}
15 filename = w3m.gcc.forward.compat.patch
16 download-only = true
17 md5sum = 75422a6f7f671b3a6d9add6724cc0945
18
19 [w3m]
20 virtual-depend =
21   ${w3m-w3m.gcc.forward.compat.patch:md5sum}
22
23 recipe = hexagonit.recipe.cmmi
24 md5sum = 1b845a983a50b8dec0169ac48479eacc
25 url = http://downloads.sourceforge.net/project/w3m/w3m/w3m-0.5.3/w3m-0.5.3.tar.gz
26 configure-options =
27   --with-gc=${garbage-collector:location}
28   --with-ssl=${openssl:location}
29   --with-termlib=ncurses
30   --disable-nls
31   --disable-image
32   --disable-dict
33   --disable-xface
34   --disable-mouse
35   --disable-nntp
36   --disable-help-cgi
37   --disable-external-uri-loader
38   --disable-w3mmailer
39
40 patch-options =
41   -p1
42
43 patches =
44   ${w3m-w3m.gcc.forward.compat.patch:location}/${w3m-w3m.gcc.forward.compat.patch:filename}
45
46 environment =
47   PATH=${pkgconfig:location}/bin:%(PATH)s
48   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
49   CPPFLAGS=-I${ncurses:location}/include/ -I${zlib:location}/include/
50   LDFLAGS=-Wl,--as-needed -L${garbage-collector:location}/lib -Wl,-rpath=${garbage-collector:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib