void-packages/srcpkgs/orc/template

47 lines
1.2 KiB
Plaintext
Raw Normal View History

2010-11-20 01:31:20 +01:00
# Template build file for 'orc'.
pkgname=orc
2013-06-06 16:36:08 +02:00
version=0.4.17
revision=1
build_style=gnu-configure
2012-09-25 11:45:27 +02:00
configure_args="--disable-static"
hostmakedepends="pkg-config"
2010-11-20 01:31:20 +01:00
short_desc="The Oild Runtime Compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-09-25 11:45:27 +02:00
homepage="http://code.entropywave.com/orc/"
license="Simplified BSD, New BSD license"
distfiles="http://code.entropywave.com/download/orc/orc-${version}.tar.gz"
2013-06-06 16:36:08 +02:00
checksum=4fc7cca48c59fff23afee78fb642cdbde001f56401c8f47b95a16578d1d5d7e8
2010-11-20 01:31:20 +01: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 09:20:06 +02: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 11:45:27 +02:00
post_install() {
vinstall COPYING 644 usr/share/licenses/orc
}
orc-devel_package() {
depends="orc>=${version}"
2013-05-15 09:20:06 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}
orc_package() {
pkg_install() {
vmove usr
}
}