27 lines
817 B
Bash
27 lines
817 B
Bash
# Template file for 'libmspack'
|
|
pkgname=libmspack
|
|
version=0.7.1alpha
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Library for Microsoft compression formats"
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://www.cabextract.org.uk/libmspack"
|
|
distfiles="https://cabextract.org.uk/libmspack/libmspack-${version}.tar.gz"
|
|
checksum=97a970db5093e34d4f50cb8daac1feebdf14acba912144417bd3aa323fdfc47e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64) ;;
|
|
*) broken="libtool: error: cannot find the library 'libmschmd.la' or unhandled argument 'libmschmd.la'" ;;
|
|
esac
|
|
|
|
libmspack-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|