diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-misc/mumpot/mumpot-0.5.ebuild | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'app-misc/mumpot/mumpot-0.5.ebuild')
-rw-r--r-- | app-misc/mumpot/mumpot-0.5.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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" +} + + |