Line
Link Here
|
0 |
-- qlandkarte-0.7.4.ebuild |
0 |
++ qlandkarte-0.7.4.ebuild |
Lines 2-38
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qlandkarte/qlandkarte-0.7.4.ebuild,v 1.2 2009/09/30 16:44:49 ayoy Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qlandkarte/qlandkarte-0.7.4.ebuild,v 1.2 2009/09/30 16:44:49 ayoy Exp $ |
4 |
|
4 |
|
5 |
EAPI="1" |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit autotools eutils qt4 |
7 |
inherit autotools eutils qt4-r2 |
8 |
|
8 |
|
9 |
DESCRIPTION="View and upload map files, track and waypoint data to your Garmin GPS." |
9 |
DESCRIPTION="View and upload map files, track and waypoint data to your Garmin GPS." |
10 |
HOMEPAGE="http://qlandkarte.sourceforge.net/" |
10 |
HOMEPAGE="http://qlandkarte.sourceforge.net/" |
11 |
SRC_URI="mirror://sourceforge/${PN}/QLandkarte_final.tar.gz" |
11 |
SRC_URI="mirror://sourceforge/${PN}/QLandkarte_final.tar.gz" |
|
|
12 |
|
12 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
14 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="" |
16 |
IUSE="" |
16 |
DEPEND="x11-libs/qt-core:4 |
17 |
|
17 |
x11-libs/qt-gui:4 |
18 |
DEPEND="dev-libs/libusb |
18 |
sci-libs/proj |
19 |
sci-libs/proj |
19 |
dev-libs/libusb" |
20 |
x11-libs/qt-core:4 |
|
|
21 |
x11-libs/qt-gui:4" |
20 |
RDEPEND="${DEPEND}" |
22 |
RDEPEND="${DEPEND}" |
21 |
|
23 |
|
22 |
S="${WORKDIR}/QLandkarte_final" |
24 |
S="${WORKDIR}/QLandkarte_final" |
23 |
|
25 |
|
24 |
src_unpack() { |
26 |
src_prepare() { |
25 |
unpack ${A} |
27 |
eautoreconf |
26 |
cd "${S}" |
|
|
27 |
eautoreconf || die "eautoreconf failed" |
28 |
} |
29 |
|
30 |
src_compile() { |
31 |
econf || die "econf failed" |
32 |
eqmake4 QLandkarte.pro || die "eqmake4 failed" |
33 |
emake || die "emake failed" |
34 |
} |
28 |
} |
35 |
|
29 |
|
36 |
src_install() { |
30 |
src_configure() { |
37 |
emake INSTALL_ROOT="${D}" install || die "install failed" |
31 |
econf |
|
|
32 |
qt4-r2_src_configure |
38 |
} |
33 |
} |