pragha: fix cross.

This commit is contained in:
maxice8 2018-03-12 14:53:44 -03:00 committed by Toyam Cox
parent c051e75aa3
commit 953d04277c

View file

@ -21,13 +21,14 @@ desc_option_peas="Enable libpeas plugin library"
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
build_options_default="peas" build_options_default="peas"
subpackages+=" pragha-devel"
fi fi
pre_configure() { pre_configure() {
CPP=$CPP ./autogen.sh CPP=$CPP ./autogen.sh
} }
if [ -z "$CROSS_BUILD" ]; then
pragha-devel_package() { pragha-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
@ -36,3 +37,5 @@ pragha-devel_package() {
vmove usr/lib/pragha/plugins/devices/libdeviceclient.so vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
} }
} }
fi