pragha: fix cross.
This commit is contained in:
parent
c051e75aa3
commit
953d04277c
1 changed files with 11 additions and 8 deletions
|
@ -21,18 +21,21 @@ desc_option_peas="Enable libpeas plugin library"
|
|||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="peas"
|
||||
subpackages+=" pragha-devel"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
CPP=$CPP ./autogen.sh
|
||||
}
|
||||
|
||||
pragha-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include/pragha/plugins
|
||||
vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
||||
pragha-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include/pragha/plugins
|
||||
vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue