Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 520424

Summary: dev-libs/xlslib - C++/C library to construct Excel .xls files in code
Product: Gentoo Linux Reporter: Petric Frank <pfrank>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/projects/xlslib/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xlslib-2.4.0.ebuild
Updated ebuild for xlslib
Fixed License

Description Petric Frank 2014-08-21 15:32:00 UTC
Created attachment 383272 [details]
xlslib-2.4.0.ebuild

Recently i used xlslib (http://sf.net/projects/xlslib) for generating Excel sheets under Linux.
So i created this ebuild file to get it as shared c++ library in my system.

This bug is for others which may look for a lib to create Excel (*.xls) files.

It may be worth to be added to the portage tree.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-21 18:46:40 UTC
Comment on attachment 383272 [details]
xlslib-2.4.0.ebuild

>EAPI="4"

Why not EAPI=5?

>inherit eutils
>
>DESCRIPTION="provide a XLS library"

The upstream one-liner at the...

>HOMEPAGE="http://sourceforge.net/projects/xlslib/"

...HOMEPAGE would suit a lot better.

>SRC_URI="mirror://sourceforge/xlslib/${PN}-package-${PV}.zip"

Needs a DEPEND=app-arch/unzip maybe?

>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="amd64 x86"

Straight to stable?

>IUSE="static-libs"
Comment 2 Petric Frank 2014-08-21 21:38:27 UTC
Created attachment 383288 [details]
Updated ebuild for xlslib

Jeroen - thanks for your review.

As i do not regulary design ebuilds it was not "perfect".

According to your comments i've updated the ebuild file and attached it again.
Comment 3 Petric Frank 2014-08-21 21:54:32 UTC
Created attachment 383290 [details]
Fixed License

According to
  http://xlslib.sourceforge.net/license/

the license is GPL-3.

Attached a fixed ebuild.

Remark: The files (for example xlslib/xlslib.h) the AS-IS clause is specified.