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 | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'dev-libs/libroadnav')
-rw-r--r-- | dev-libs/libroadnav/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libroadnav/libroadnav-0.19.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild | 41 |
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-libs/libroadnav/Manifest b/dev-libs/libroadnav/Manifest new file mode 100644 index 0000000..510c44c --- /dev/null +++ b/dev-libs/libroadnav/Manifest @@ -0,0 +1,4 @@ +DIST libroadnav-0.19.tar.gz 835616 RMD160 17214adb4217badb4222e371db61e548af3b5681 SHA1 4e0c038a9e1eb8fdca2b2c53539dce460465ea31 SHA256 3aa4c1d951f8149ee0df3a67eb709fce5c379a9ffe8acc7141f87b4841baea0f +DIST libroadnav-0.20alpha.tar.gz 842338 RMD160 0f616485382b175431d79da7819656261e90bdfc SHA1 fd5ca012f588ab0603e700e9d1c4d1ce680c6e3d SHA256 08595e639f51ddfd42063d90906b533b9fcaba46b27f1a74d566ae18b26bff4b +EBUILD libroadnav-0.19.ebuild 981 RMD160 d6bbfa5b844291f1c50c78ff962eeee790b9bb7b SHA1 b194bee32cb216097f8ffe63444c47616efb9b65 SHA256 18e12eee30d769837df7dd221fab3ba22b229329d501ea69692f70b7e87b1e4c +EBUILD libroadnav-0.20_alpha.ebuild 1024 RMD160 ced736e95acce5b0b9f49ba8f25aa00f75ed3326 SHA1 8c685a669bfe48c40f9067a594ee09231729c407 SHA256 397d0976766e3eda227799a5d375779c6ff59be5fbff82911be21de35d57881b 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} +} diff --git a/dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild b/dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild new file mode 100644 index 0000000..9422ac0 --- /dev/null +++ b/dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild @@ -0,0 +1,41 @@ +# 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/${PN}-0.20alpha.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="=x11-libs/wxGTK-2.6*" + +S="${WORKDIR}/${PN}-0.20alpha" + +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} +} |