| 1 | ##################################################################### |
|---|
| 2 | # OpenCSW build recipe for elinks |
|---|
| 3 | # |
|---|
| 4 | # Copyright 2009 Yann Rouillard <yann@pleiades.fr.eu.org> |
|---|
| 5 | # All rights reserved. Use is subject to license terms. |
|---|
| 6 | # |
|---|
| 7 | # Redistribution and/or use, with or without modification, is |
|---|
| 8 | # permitted. This software is without warranty of any kind. The |
|---|
| 9 | # author(s) shall not be liable in the event that use of the |
|---|
| 10 | # software causes damage. |
|---|
| 11 | ##################################################################### |
|---|
| 12 | |
|---|
| 13 | ###### Package information ####### |
|---|
| 14 | |
|---|
| 15 | NAME = elinks |
|---|
| 16 | VERSION = 0.11.7 |
|---|
| 17 | CATEGORIES = net |
|---|
| 18 | GARTYPE = v2 |
|---|
| 19 | |
|---|
| 20 | DESCRIPTION = An advanced text mode web browser |
|---|
| 21 | define BLURB |
|---|
| 22 | ELinks is an advanced and well-established feature-rich text mode Web |
|---|
| 23 | (HTTP, FTP, etc.) browser. It can render both frames and tables, is |
|---|
| 24 | highly customizable, and can be extended via Lua, Guile, Perl, or Ruby |
|---|
| 25 | scripts. It has limited support for CSS and Javascript. |
|---|
| 26 | endef |
|---|
| 27 | |
|---|
| 28 | PACKAGES = CSWelinks |
|---|
| 29 | |
|---|
| 30 | RUNTIME_DEP_PKGS = CSWlibbz2-1-0 |
|---|
| 31 | RUNTIME_DEP_PKGS += CSWlibexpat1 |
|---|
| 32 | RUNTIME_DEP_PKGS += CSWlibiconv2 |
|---|
| 33 | RUNTIME_DEP_PKGS += CSWlibidn11 |
|---|
| 34 | RUNTIME_DEP_PKGS += CSWlibssl1-0-0 |
|---|
| 35 | RUNTIME_DEP_PKGS += CSWlibz1 |
|---|
| 36 | RUNTIME_DEP_PKGS += CSWlibjs1-7-0 |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | # paths used in some default path (mailcap search path and lua doc path), this can be safely ignored |
|---|
| 40 | # lua doc links could be fixed if lua doc is packaged in opencsw |
|---|
| 41 | CHECKPKG_OVERRIDES_CSWelinks += file-with-bad-content|/usr/share|root/opt/csw/bin/elinks |
|---|
| 42 | CHECKPKG_OVERRIDES_CSWelinks += file-with-bad-content|/usr/share|root/opt/csw/share/man/man5/elinks.conf.5 |
|---|
| 43 | CHECKPKG_OVERRIDES_CSWelinks += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/elinks.conf.5 |
|---|
| 44 | CHECKPKG_OVERRIDES_CSWelinks += file-with-bad-content|/usr/local|root/opt/csw/bin/elinks |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | ###### Upstream and opencsw files information ####### |
|---|
| 48 | |
|---|
| 49 | MASTER_SITES = http://elinks.cz/download/ |
|---|
| 50 | |
|---|
| 51 | DISTFILES = $(NAME)-$(VERSION).tar.bz2 |
|---|
| 52 | DISTFILES += changelog.CSW |
|---|
| 53 | |
|---|
| 54 | # Debian security path for CVE-2007-2027 |
|---|
| 55 | PATCHFILES += elinks-417789.diff |
|---|
| 56 | |
|---|
| 57 | # Provided by iconv |
|---|
| 58 | MERGE_EXCLUDE_FILES = .*/charset.alias |
|---|
| 59 | MERGE_EXCLUDE_FILES += .*/locale.alias |
|---|
| 60 | |
|---|
| 61 | ##### Build and installation information ##### |
|---|
| 62 | |
|---|
| 63 | # we use bash instead of sh as the Makefiles |
|---|
| 64 | # use "test -e" unsupported with sun sh |
|---|
| 65 | CONFIG_SHELL = /bin/bash |
|---|
| 66 | |
|---|
| 67 | #GARCOMPILER = GNU |
|---|
| 68 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 69 | CONFIGURE_ARGS += --enable-88-colors |
|---|
| 70 | CONFIGURE_ARGS += --enable-256-colors |
|---|
| 71 | # ecma support not stable enough |
|---|
| 72 | # CONFIGURE_ARGS += --enable-sm-scripting |
|---|
| 73 | CONFIGURE_ARGS += --disable-sm-scripting |
|---|
| 74 | |
|---|
| 75 | TEST_SCRIPTS = |
|---|
| 76 | |
|---|
| 77 | include gar/category.mk |
|---|
| 78 | |
|---|
| 79 | # We touch these file to avoid aclocal/autoconf |
|---|
| 80 | # configure to be run again |
|---|
| 81 | pre-configure: |
|---|
| 82 | touch $(WORKSRC)/aclocal.m4 |
|---|
| 83 | touch $(WORKSRC)/configure |
|---|
| 84 | touch $(WORKSRC)/config.status |
|---|
| 85 | |
|---|
| 86 | post-merge: |
|---|
| 87 | @ginstall -D $(WORKDIR_FIRSTMOD)/changelog.CSW $(PKGROOT)$(docdir)/$(NAME)/changelog.CSW |
|---|
| 88 | |
|---|