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 /dev-libs/libroadnav/libroadnav-0.19.ebuild | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'dev-libs/libroadnav/libroadnav-0.19.ebuild')
-rw-r--r-- | dev-libs/libroadnav/libroadnav-0.19.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libroadnav/libroadnav-0.19.ebuild b/dev-libs/libroadnav/libroadnav-0.19.ebuild new file mode 100644 index 0000000..0328cc9 --- /dev/null +++ b/dev-libs/libroadnav/libroadnav-0.19.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libroadnav/libroadnav-0.18.ebuild,v 1.1 2007/10/08 06:14:08 dirtyepic Exp $ + +inherit wxwidgets + +DESCRIPTION="LibRoadnav is a library capable of plotting street maps and providing driving directions for US addresses" +HOMEPAGE="http://roadnav.sourceforge.net" +SRC_URI="mirror://sourceforge/roadnav/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="=x11-libs/wxGTK-2.6*" + +src_compile() { + WX_GTK_VER=2.6 + need-wxwidgets gtk2 + + econf \ + --with-wx-config=${WX_CONFIG} \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + # generic or empty + for f in NEWS COPYING INSTALL; do + rm -f "${D}"/usr/share/doc/${PN}/${f} + done + + # --docdir is broken and hardcoded to ${PN} + mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${P} +} |