You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.2 KiB
59 lines
1.2 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
10 years ago
|
|
||
4 years ago
|
EAPI=7
|
||
13 years ago
|
|
||
8 years ago
|
inherit autotools
|
||
13 years ago
|
|
||
8 years ago
|
MY_PN=atlas-hgcode
|
||
4 years ago
|
MY_PV=d4e5360f8273823205d9dc066547f5077ffc13e2
|
||
10 years ago
|
MY_P="${MY_PN}-${MY_PV}"
|
||
|
|
||
13 years ago
|
DESCRIPTION="Chart Program to use with Flightgear Flight Simulator"
|
||
|
HOMEPAGE="http://atlas.sourceforge.net/"
|
||
8 years ago
|
SRC_URI="https://dev.gentoo.org/~reavertm/${MY_P}.zip"
|
||
13 years ago
|
|
||
4 years ago
|
LICENSE="GPL-2+"
|
||
13 years ago
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
|
||
|
COMMON_DEPEND="
|
||
|
media-libs/freeglut
|
||
8 years ago
|
media-libs/glew:0=
|
||
|
media-libs/libpng:0=
|
||
13 years ago
|
net-misc/curl
|
||
|
sys-libs/zlib
|
||
|
virtual/glu
|
||
8 years ago
|
virtual/jpeg:0
|
||
13 years ago
|
virtual/opengl
|
||
|
"
|
||
|
DEPEND="${COMMON_DEPEND}
|
||
10 years ago
|
>=dev-games/simgear-3.0.0
|
||
13 years ago
|
media-libs/plib
|
||
|
"
|
||
|
RDEPEND="${COMMON_DEPEND}
|
||
10 years ago
|
>=games-simulation/flightgear-3.0.0
|
||
13 years ago
|
"
|
||
4 years ago
|
BDEPEND="app-arch/unzip"
|
||
13 years ago
|
|
||
8 years ago
|
S=${WORKDIR}/${MY_P}
|
||
|
|
||
13 years ago
|
src_prepare() {
|
||
8 years ago
|
default
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
8 years ago
|
econf \
|
||
8 years ago
|
--datadir="${EPREFIX}"/usr/share/flightgear \
|
||
10 years ago
|
--enable-simgear-shared \
|
||
8 years ago
|
--with-fgbase="${EPREFIX}"/usr/share/flightgear
|
||
13 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog "To run Atlas concurrently with FlightGear use the following:"
|
||
|
elog "Atlas --path=[path of map images] --udp=[port number]"
|
||
|
elog "and start fgfs with the following switch (or in .fgfsrc):"
|
||
|
elog "--nmea=socket,out,0.5,[host that you run Atlas on],[port number],udp"
|
||
|
}
|