47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
# Template build file for 'orc'.
|
|
pkgname=orc
|
|
version=0.4.16
|
|
revision=3
|
|
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=700e4edba20a0ed42164b645da26ce515b883d4c4633b222302f1e541f2a58ab
|
|
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
|
|
}
|
|
}
|