summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-08-16 14:35:04 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-08-16 14:35:04 +0200
commit1b439e3cdd0aea698cd8883948d250b343f568a1 (patch)
tree7001cc02d081fc5fedfe3951a1301fcaf65f4d77 /rules
parent87c3503d76ab8044db36647961f375be984bffee (diff)
downloadptxdist-1b439e3cdd0aea698cd8883948d250b343f568a1.tar.gz
ptxdist-1b439e3cdd0aea698cd8883948d250b343f568a1.tar.xz
orc: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/orc.in15
-rw-r--r--rules/orc.make61
2 files changed, 76 insertions, 0 deletions
diff --git a/rules/orc.in b/rules/orc.in
new file mode 100644
index 000000000..693992b5f
--- /dev/null
+++ b/rules/orc.in
@@ -0,0 +1,15 @@
+## SECTION=multimedia_libs
+
+config ORC
+ tristate
+ select LIBC_M
+ select LIBC_RT
+ select GCCLIBS_GCC_S
+ prompt "orc"
+ help
+ Orc is a library and set of tools for compiling and executing
+ very simple programs that operate on arrays of data. The
+ “language” is a generic assembly language that represents many of
+ the features available in SIMD architectures, including saturated
+ addition and subtraction, and many arithmetic operations.
+
diff --git a/rules/orc.make b/rules/orc.make
new file mode 100644
index 000000000..2506660b8
--- /dev/null
+++ b/rules/orc.make
@@ -0,0 +1,61 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Michael Olbrich <m.olbrich@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
+#
+PACKAGES-$(PTXCONF_ORC) += orc
+
+#
+# Paths and names
+#
+ORC_VERSION := 0.4.14
+ORC_MD5 := 6b3ff209e9763ebe40e152538884bd71
+ORC := orc-$(ORC_VERSION)
+ORC_SUFFIX := tar.gz
+ORC_URL := http://code.entropywave.com/download/orc/$(ORC).$(ORC_SUFFIX)
+ORC_SOURCE := $(SRCDIR)/$(ORC).$(ORC_SUFFIX)
+ORC_DIR := $(BUILDDIR)/$(ORC)
+ORC_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+ORC_CONF_TOOL := autoconf
+ORC_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/orc.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, orc)
+ @$(call install_fixup, orc,PRIORITY,optional)
+ @$(call install_fixup, orc,SECTION,base)
+ @$(call install_fixup, orc,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, orc,DESCRIPTION,missing)
+
+ @$(call install_lib, orc, 0, 0, 0644, liborc-0.4)
+
+ @$(call install_finish, orc)
+
+ @$(call touch)
+
+# vim: syntax=make