diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-13 23:54:19 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-14 17:35:37 +0100 |
commit | 44332f09af6777c8f79113a23d455c6f13e31893 (patch) | |
tree | 5102ec0a078d0a2493ff7d7d7d0e1af2461601cb | |
parent | 28e312817d8542efcad40efe3d5a83c2e0b54fae (diff) | |
download | ptxdist-44332f09af6777c8f79113a23d455c6f13e31893.tar.gz ptxdist-44332f09af6777c8f79113a23d455c6f13e31893.tar.xz |
host-swig: add package
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | rules/host-swig.in | 8 | ||||
-rw-r--r-- | rules/host-swig.make | 65 |
2 files changed, 73 insertions, 0 deletions
diff --git a/rules/host-swig.in b/rules/host-swig.in new file mode 100644 index 000000000..1f9ea091d --- /dev/null +++ b/rules/host-swig.in @@ -0,0 +1,8 @@ +## SECTION=hosttools_noprompt + +config HOST_SWIG + tristate + default ALLYES + select HOST_ZLIB + select HOST_LIBPCRE + select HOST_PYTHON diff --git a/rules/host-swig.make b/rules/host-swig.make new file mode 100644 index 000000000..3ee856b09 --- /dev/null +++ b/rules/host-swig.make @@ -0,0 +1,65 @@ +# -*-makefile-*- +# +# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_SWIG) += host-swig + +# +# Paths and names +# +HOST_SWIG_VERSION := 2.0.9 +HOST_SWIG_MD5 := 54d534b14a70badc226129159412ea85 +HOST_SWIG := swig-$(HOST_SWIG_VERSION) +HOST_SWIG_SUFFIX := tar.gz +HOST_SWIG_URL := $(call ptx/mirror, SF, swig/$(HOST_SWIG).$(HOST_SWIG_SUFFIX)) +HOST_SWIG_SOURCE := $(SRCDIR)/$(HOST_SWIG).$(HOST_SWIG_SUFFIX) +HOST_SWIG_DIR := $(HOST_BUILDDIR)/$(HOST_SWIG) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_SWIG_CONF_TOOL := autoconf +HOST_SWIG_DEVPKG := NO + +# no := due to CROSS_PYTHON +HOST_SWIG_CONF_OPT = \ + $(HOST_AUTOCONF_SYSROOT) \ + --without-boost \ + --without-x \ + --without-tcl \ + --with-python=$(CROSS_PYTHON) \ + --without-python3 \ + --without-perl5 \ + --without-octave \ + --without-java \ + --without-gcj \ + --without-android \ + --without-guile \ + --without-mzscheme \ + --without-ruby \ + --without-php \ + --without-ocaml \ + --without-pike \ + --without-chicken \ + --without-csharp \ + --without-lua \ + --without-allegrocl \ + --without-clisp \ + --without-r \ + --without-go \ + --without-d + +# vim: syntax=make |