orc: cross build support.
This commit is contained in:
parent
23327b2c9b
commit
c647ccee55
1 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'orc'.
|
# Template build file for 'orc'.
|
||||||
pkgname=orc
|
pkgname=orc
|
||||||
version=0.4.16
|
version=0.4.16
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -17,13 +17,21 @@ long_desc="
|
||||||
language that represents many of the features available in SIMD architectures,
|
language that represents many of the features available in SIMD architectures,
|
||||||
including saturated addition and subtraction, and many arithmetic operations."
|
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() {
|
post_install() {
|
||||||
vinstall COPYING 644 usr/share/licenses/orc
|
vinstall COPYING 644 usr/share/licenses/orc
|
||||||
}
|
}
|
||||||
|
|
||||||
orc-devel_package() {
|
orc-devel_package() {
|
||||||
depends="orc>=${version}"
|
depends="orc>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
|
Loading…
Reference in a new issue