summaryrefslogtreecommitdiffstats
path: root/app-misc/mumpot/mumpot-0.5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/mumpot/mumpot-0.5.ebuild')
-rw-r--r--app-misc/mumpot/mumpot-0.5.ebuild36
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"
+}
+
+