blob: fbee6fe440d1f2284e63bb6b4f11768f1255864b (
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
33
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20080225-r1.ebuild,v 1.1 2009/04/16 17:39:58 bicatali Exp $
EAPI=2
inherit eutils
DESCRIPTION="A library for reading OriginLab OPJ project files"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/liborigin/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc64 ~x86"
SLOT="0"
IUSE=""
DEPEND="dev-cpp/tree"
RDEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
rm tree.hh || die
}
src_compile() {
emake -j1 || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README FORMAT || die "dodoc failed"
}
|