| 1 | package=graphviz |
| 2 | $(package)_version=2.40.1 |
| 3 | $(package)_download_path=www.graphviz.org/pub/graphviz/stable/SOURCES/ |
| 4 | $(package)_file_name=$(package)-$($(package)_version).tar.gz |
| 5 | $(package)_sha256_hash=ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421 |
| 6 | |
| 7 | define $(package)_preprocess_cmds |
| 8 | ./autogen.sh |
| 9 | endef |
| 10 | |
| 11 | define $(package)_set_vars |
| 12 | $(package)_config_opts=--disable-shared --enable-multibye --without-purify --without-curses |
| 13 | $(package)_config_opts_release=--disable-debug-mode |
| 14 | $(package)_config_opts_linux=--with-pic |
| 15 | endef |
| 16 | |
| 17 | define $(package)_config_cmds |
| 18 | $($(package)_autoconf) |
| 19 | endef |
| 20 | |
| 21 | define $(package)_build_cmds |
| 22 | $(MAKE) |
| 23 | endef |
| 24 | |
| 25 | define $(package)_stage_cmds |
| 26 | $(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 27 | endef |
| 28 | |
| 29 | define $(package)_postprocess_cmds |
| 30 | endef |