From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- app-misc/mumpot/mumpot-0.5.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app-misc/mumpot/mumpot-0.5.ebuild (limited to 'app-misc/mumpot/mumpot-0.5.ebuild') diff --git a/app-misc/mumpot/mumpot-0.5.ebuild b/app-misc/mumpot/mumpot-0.5.ebuild new file mode 100644 index 0000000..d733a7b --- /dev/null +++ b/app-misc/mumpot/mumpot-0.5.ebuild @@ -0,0 +1,36 @@ +inherit eutils + +DESCRIPTION="OSM map viewing, routing and simple editing program" +HOMEPAGE="http://www.mumpot.org/" +SRC_URI="http://www.mumpot.org/download/${P}.tar.gz" +LICENSE="GPL-3" +IUSE="nls curl" +SLOT="0" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2 + >=x11-libs/gtk+-2 + media-libs/libpng + media-libs/jpeg + app-arch/bzip2 + net-wireless/bluez-libs + curl? ( net-misc/curl ) + nls? ( sys-devel/gettext )" + + +src_compile() { +# libcurl is needed for uploading data to OSM + if use curl; then + OSM_UPLOAD= + else + OSM_UPLOAD=--disable-osmupload + fi + econf $(use_enable nls) $OSM_UPLOAD || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README || die "dodoc failed" +} + + -- cgit v1.2.3