mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
matio: remove superfluous depends=, move .pc file into -devel package.
Closes #40. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
cc1041c9c8
commit
536bacb440
1 changed files with 9 additions and 8 deletions
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'matio'
|
# Template file for 'matio'
|
||||||
pkgname=matio
|
pkgname=matio
|
||||||
version=1.5.12
|
version=1.5.12
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-static"
|
||||||
hostmakedepends="libtool"
|
hostmakedepends="libtool"
|
||||||
makedepends="zlib-devel hdf5-devel"
|
makedepends="zlib-devel hdf5-devel"
|
||||||
depends="zlib hdf5"
|
|
||||||
short_desc="MATLAB MAT file I/O library"
|
short_desc="MATLAB MAT file I/O library"
|
||||||
maintainer="Florian Eich <flrn@nrmncr.net>"
|
maintainer="Florian Eich <flrn@nrmncr.net>"
|
||||||
license="BSD-2"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/tbeu/matio"
|
homepage="https://github.com/tbeu/matio"
|
||||||
distfiles="https://github.com/tbeu/matio/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/tbeu/matio/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=8695e380e465056afa5b5e20128935afe7d50e03830f9f7778a72e1e1894d8a9
|
checksum=8695e380e465056afa5b5e20128935afe7d50e03830f9f7778a72e1e1894d8a9
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" ac_cv_va_copy=C99"
|
configure_args+=" ac_cv_va_copy=C99"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -23,10 +23,11 @@ post_install() {
|
||||||
|
|
||||||
matio-devel_package() {
|
matio-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove /usr/include
|
vmove usr/include
|
||||||
vmove /usr/lib/*.a
|
vmove "usr/lib/*.so"
|
||||||
vmove /usr/lib/*.so
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue