2010-11-20 00:31:20 +00:00
|
|
|
# Template build file for 'orc'.
|
|
|
|
pkgname=orc
|
2012-09-25 09:45:27 +00:00
|
|
|
version=0.4.16
|
2013-05-15 07:20:06 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-09-25 09:45:27 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-13 20:47:11 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2010-11-20 00:31:20 +00:00
|
|
|
short_desc="The Oild Runtime Compiler"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-25 09:45:27 +00:00
|
|
|
homepage="http://code.entropywave.com/orc/"
|
|
|
|
license="Simplified BSD, New BSD license"
|
|
|
|
distfiles="http://code.entropywave.com/download/orc/orc-${version}.tar.gz"
|
|
|
|
checksum=700e4edba20a0ed42164b645da26ce515b883d4c4633b222302f1e541f2a58ab
|
2010-11-20 00:31:20 +00:00
|
|
|
long_desc="
|
|
|
|
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."
|
|
|
|
|
2013-05-15 07:20:06 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" automake libtool"
|
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2012-09-25 09:45:27 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/orc
|
|
|
|
}
|
2013-04-13 20:47:11 +00:00
|
|
|
|
|
|
|
orc-devel_package() {
|
|
|
|
depends="orc>=${version}"
|
2013-05-15 07:20:06 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 20:47:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
orc_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|