libquvi: cross build support.
This commit is contained in:
parent
2e69010605
commit
c14f908e69
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'libquvi'
|
# Template file for 'libquvi'
|
||||||
pkgname=libquvi
|
pkgname=libquvi
|
||||||
version=0.4.1
|
version=0.4.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="lua-devel libcurl-devel libquvi-scripts>=0.4.1"
|
makedepends="lua-devel libcurl-devel libquvi-scripts>=0.4.1"
|
||||||
short_desc="C library that can be used to parse flash media stream URLs"
|
short_desc="C library that can be used to parse flash media stream URLs"
|
||||||
|
@ -23,12 +24,13 @@ long_desc="
|
||||||
* C API is simple to use"
|
* C API is simple to use"
|
||||||
|
|
||||||
libquvi-devel_package() {
|
libquvi-devel_package() {
|
||||||
depends="libcurl-devel lua-devel libquvi>=${version}"
|
depends="libcurl-devel lua-devel libquvi>=${version}_${revision}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
replaces="quvi-devel<0.4.0"
|
replaces="quvi-devel<0.4.0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
}
|
}
|
||||||
|
@ -38,6 +40,6 @@ libquvi_package() {
|
||||||
depends="libquvi-scripts>=${version}"
|
depends="libquvi-scripts>=${version}"
|
||||||
replaces="quvi<0.4.0"
|
replaces="quvi<0.4.0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue