jasper: cross build support.
This commit is contained in:
parent
b1be024873
commit
7da28e9cc0
|
@ -1,10 +1,11 @@
|
|||
# Template build file for 'jasper'.
|
||||
pkgname=jasper
|
||||
version=1.900.1
|
||||
revision=7
|
||||
revision=8
|
||||
build_style=gnu-configure
|
||||
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"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.ece.uvic.ca/~mdadams/jasper"
|
||||
|
@ -19,20 +20,21 @@ post_install() {
|
|||
libjasper_package() {
|
||||
short_desc+=" - shared library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so*"
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
jasper-devel_package() {
|
||||
depends="libjpeg-turbo-devel libjasper>=${version}"
|
||||
depends="libjpeg-turbo-devel libjasper>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
jasper_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue