jasper: cross build support.
This commit is contained in:
parent
b1be024873
commit
7da28e9cc0
1 changed files with 7 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template build file for 'jasper'.
|
# Template build file for 'jasper'.
|
||||||
pkgname=jasper
|
pkgname=jasper
|
||||||
version=1.900.1
|
version=1.900.1
|
||||||
revision=7
|
revision=8
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared --disable-static --without-x --disable-opengl"
|
configure_args="--enable-shared --disable-static --without-x --disable-opengl"
|
||||||
makedepends="unzip libjpeg-turbo-devel"
|
hostmakedepends="unzip"
|
||||||
|
makedepends="libjpeg-turbo-devel"
|
||||||
short_desc="Software-based reference implementation of the JPEG-2000 codec"
|
short_desc="Software-based reference implementation of the JPEG-2000 codec"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.ece.uvic.ca/~mdadams/jasper"
|
homepage="http://www.ece.uvic.ca/~mdadams/jasper"
|
||||||
|
@ -19,20 +20,21 @@ post_install() {
|
||||||
libjasper_package() {
|
libjasper_package() {
|
||||||
short_desc+=" - shared library"
|
short_desc+=" - shared library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jasper-devel_package() {
|
jasper-devel_package() {
|
||||||
depends="libjpeg-turbo-devel libjasper>=${version}"
|
depends="libjpeg-turbo-devel libjasper>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jasper_package() {
|
jasper_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue