protobuf-vala: fix cross
This commit is contained in:
parent
e8014b4af1
commit
ea7fc9a0fb
|
@ -1,21 +1,27 @@
|
||||||
# Template file for 'protobuf-vala'
|
# Template file for 'protobuf-vala'
|
||||||
pkgname=protobuf-vala
|
pkgname=protobuf-vala
|
||||||
version=0.1.0
|
version=0.1.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="protobuf"
|
hostmakedepends="protobuf pkg-config vala"
|
||||||
makedepends="pkg-config libgee08-devel protobuf-devel vala-devel"
|
makedepends="libgee08-devel protobuf-devel vala-devel"
|
||||||
depends="pkg-config glib-devel"
|
depends="pkg-config glib-devel"
|
||||||
short_desc="A plugin for the Google protocol buffer compiler to generate Vala code"
|
short_desc="Plugin for the Google protocol buffer compiler to generate Vala code"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3"
|
license="GPL-3.0-only"
|
||||||
homepage="http://launchpad.net/protobuf-vala/"
|
homepage="http://launchpad.net/protobuf-vala/"
|
||||||
distfiles="${homepage}/trunk/${version}/+download/${pkgname}-${version}.tar.xz"
|
distfiles="${homepage}/trunk/${version}/+download/${pkgname}-${version}.tar.xz"
|
||||||
checksum=c12547813fa22ee2b15967f17146b08e2a4d90800810fe63730332aea6777c48
|
checksum=c12547813fa22ee2b15967f17146b08e2a4d90800810fe63730332aea6777c48
|
||||||
|
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
vsed -i -e '/^noinst_PROGRAMS/s/=.*/=/' src/Makefile.in
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
libprotobuf-vala_package() {
|
libprotobuf-vala_package() {
|
||||||
short_desc+=" - shared library"
|
short_desc+=" - shared library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in New Issue