void-packages/srcpkgs/orc/template
2013-06-06 16:36:08 +02:00

47 lines
1.2 KiB
Plaintext

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