28 lines
787 B
Bash
28 lines
787 B
Bash
# Template file for 'libxls'
|
|
pkgname=libxls
|
|
version=1.5.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--program-prefix=lib --enable-static"
|
|
short_desc="C library which can read Excel (xls) files"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-clause"
|
|
homepage="https://github.com/libxls/libxls"
|
|
distfiles="https://github.com/libxls/libxls/releases/download/v${version}/libxls-${version}.tar.gz"
|
|
checksum=3bc88501529ce3909457fedfc5cc6c8c5a8aaaab17ca5cbbfad317b61e465535
|
|
|
|
post_install() {
|
|
sed '/^$/q' include/xls.h >LICENSE
|
|
vlicense LICENSE
|
|
}
|
|
libxls-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|