openjpeg2: fix -devel package.
This commit is contained in:
parent
732d616b6c
commit
9b68e97964
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'openjpeg2'
|
# Template file for 'openjpeg2'
|
||||||
pkgname=openjpeg2
|
pkgname=openjpeg2
|
||||||
version=2.3.0
|
version=2.3.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="openjpeg-${version}"
|
wrksrc="openjpeg-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
||||||
homepage="http://www.openjpeg.org/"
|
|
||||||
license="2-clause-BSD"
|
|
||||||
short_desc="Open-source JPEG 2000 codec written in C language (Version 2)"
|
|
||||||
makedepends="libpng-devel lcms2-devel tiff-devel"
|
makedepends="libpng-devel lcms2-devel tiff-devel"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
||||||
|
short_desc="Open-source JPEG 2000 codec written in C language (Version 2)"
|
||||||
|
homepage="http://www.openjpeg.org/"
|
||||||
|
license="BSD-2-Clause"
|
||||||
distfiles="https://github.com/uclouvain/openjpeg/archive/v${version}.tar.gz"
|
distfiles="https://github.com/uclouvain/openjpeg/archive/v${version}.tar.gz"
|
||||||
checksum=3dc787c1bb6023ba846c2a0d9b1f6e179f1cd255172bde9eb75b01f1e6c7d71a
|
checksum=3dc787c1bb6023ba846c2a0d9b1f6e179f1cd255172bde9eb75b01f1e6c7d71a
|
||||||
|
|
||||||
|
@ -18,17 +18,18 @@ post_install() {
|
||||||
|
|
||||||
libopenjpeg2-devel_package() {
|
libopenjpeg2-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="libopenjpeg2>=${version}_${revision}"
|
depends="libopenjpeg2>=${version}_${revision} ${sourcepkg}-${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.so
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/openjpeg-2.*
|
vmove "usr/lib/openjpeg-2.*"
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libopenjpeg2_package() {
|
libopenjpeg2_package() {
|
||||||
short_desc+=" - library files"
|
short_desc+=" - library files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/*.so.*
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue