blob: ff197d5b10216073d0aa59a9ae28e3471dbd44cf (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.8.3.ebuild,v 1.7 2008/02/09 12:32:44 armin76 Exp $
inherit eutils
DESCRIPTION="Library to support the Open Financial eXchange XML Format"
HOMEPAGE="http://libofx.sourceforge.net/"
SRC_URI="mirror://sourceforge/libofx/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ppc ~ppc64 sparc x86"
IUSE=""
DEPEND=">=app-text/opensp-1.5
>=net-misc/curl-7.9.7"
src_unpack() {
unpack ${A}
# because we redefine docdir in src_install, we need to make sure the
# dtd's go to the right place, LIBOFX_DTD_DIR
cd "${S}/dtd"
sed -i -e 's/$(DESTDIR)$(docdir)/$(DESTDIR)$(LIBOFX_DTD_DIR)/g' \
Makefile.in
}
src_install() {
dodir /usr/share/doc/${PF}
make install DESTDIR="${D}" docdir="/usr/share/doc/${PF}" || die 'install failed'
}
|