diff --git a/common/shlibs b/common/shlibs index 10ff22549f..b3ed51af78 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libxls-devel b/srcpkgs/libxls-devel new file mode 120000 index 0000000000..304c9f05c6 --- /dev/null +++ b/srcpkgs/libxls-devel @@ -0,0 +1 @@ +libxls \ No newline at end of file diff --git a/srcpkgs/libxls/template b/srcpkgs/libxls/template new file mode 100644 index 0000000000..36bd7851c4 --- /dev/null +++ b/srcpkgs/libxls/template @@ -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 " +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 + } +}