summaryrefslogtreecommitdiff
blob: 8333098ccf6ada79e241bc42e53e3b5934d9d902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libexcelformat/libexcelformat-101016.ebuild,v 1.2 2010/10/18 09:53:11 jlec Exp $

EAPI="3"

inherit multilib toolchain-funcs

DESCRIPTION="reading, writing, and editing of XLS (BIFF8 format) files using C++"
HOMEPAGE="http://www.codeproject.com/KB/office/ExcelFormat.aspx"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="CPOL"
IUSE=""

S="${WORKDIR}"/libExcelFormat

src_prepare() {
	tc-export CXX
}

src_install() {
	insinto /usr/include
	doins *.h* || die

	dolib.so libExcelFormat.so* || die
}