summaryrefslogtreecommitdiff
blob: 8135d5bcc7505cbcdcd03cb2b8a99191b894632d (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
30
31
32
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/psiconv/psiconv-0.8.3-r1.ebuild,v 1.1 2012/10/28 19:20:07 ago Exp $

EAPI=4

inherit toolchain-funcs

DESCRIPTION="An interpreter for Psion 5(MX) file formats"
HOMEPAGE="http://huizen.dds.nl/~frodol/psiconv"
SRC_URI="http://huizen.dds.nl/~frodol/${PN}/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
IUSE="static-libs"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"

DEPEND="virtual/libc"
RDEPEND=""

src_prepare() {
	tc-export AR
}

src_configure() {
	econf $(use_enable static-libs static)
}

src_install() {
	default
	use static-libs || rm -fr "${D}"usr/lib*/lib${PN}.la
}