New package: libxls-1.4.0

This commit is contained in:
Christian Neukirchen 2016-05-22 16:41:52 +02:00
parent e5d4379e4d
commit 62bec4518e
3 changed files with 30 additions and 0 deletions

View file

@ -2453,3 +2453,4 @@ libfreeipmi.so.17 freeipmi-1.5.1_1
libipmidetect.so.0 freeipmi-1.5.1_1
libsmpeg2-2.0.so.0 smpeg2-2.0.0_1
libedac.so.1 libedac-0.18_1
libxlsreader.so.1 libxls-1.4.0_1

1
srcpkgs/libxls-devel Symbolic link
View file

@ -0,0 +1 @@
libxls

28
srcpkgs/libxls/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'libxls'
pkgname=libxls
version=1.4.0
revision=1
wrksrc="libxls"
build_style=gnu-configure
configure_args="--program-prefix=lib"
short_desc="C library which can read Excel (xls) files"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
hostmakedepends="unzip"
license="2-clause-BSD"
homepage="http://libxls.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
checksum=d3baea458a511d9b587a367528fa2a7fef410113ac9f6359834469b8f8d10dbd
post_install() {
sed '/^$/q' include/libxls/xls.h >LICENSE
vlicense LICENSE
}
libxls-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}