diff options
author | Christoph Brill <egore911@egore911.de> | 2012-06-02 19:56:54 +0200 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2012-06-02 19:57:25 +0200 |
commit | 6b43958fc856738bd92e7002ca11da9ad74951f1 (patch) | |
tree | 4687a6170c099ecf323f45ebd7097ff94b05f7f8 | |
parent | a6b869eafa8ea39328c76b791d435a67ff0fb4e9 (diff) |
+mod_tile-9999.ebuild, +files/mod_tile-9999-use-external-iniparser.patch
Initial ebuild, written by me
-rw-r--r-- | sci-geosciences/mod_tile/ChangeLog | 10 | ||||
-rw-r--r-- | sci-geosciences/mod_tile/Manifest | 5 | ||||
-rw-r--r-- | sci-geosciences/mod_tile/files/mod_tile-9999-use-external-iniparser.patch | 19 | ||||
-rw-r--r-- | sci-geosciences/mod_tile/metadata.xml | 7 | ||||
-rw-r--r-- | sci-geosciences/mod_tile/mod_tile-9999.ebuild | 47 |
5 files changed, 88 insertions, 0 deletions
diff --git a/sci-geosciences/mod_tile/ChangeLog b/sci-geosciences/mod_tile/ChangeLog new file mode 100644 index 0000000..0ea0752 --- /dev/null +++ b/sci-geosciences/mod_tile/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-geosciences/mod_tile +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*mod_tile-9999 (02 Jun 2012) + + 02 Jun 2012; Christoph Brill <cbrill@gentoo.org> +mod_tile-9999.ebuild, + +files/mod_tile-9999-use-external-iniparser.patch, +metadata.xml: + Initial ebuild, written by me + diff --git a/sci-geosciences/mod_tile/Manifest b/sci-geosciences/mod_tile/Manifest new file mode 100644 index 0000000..d752341 --- /dev/null +++ b/sci-geosciences/mod_tile/Manifest @@ -0,0 +1,5 @@ +AUX mod_tile-9999-use-external-iniparser.patch 1080 RMD160 b48ef7dfc3ea94c8dc8a93ad014f87e6e4ec9b1d SHA1 126c03c699bb8d711d12773142e3a24a43587387 SHA256 5c210ef78edb588f731db7f69fd2f183d70e167bf22489a782843bda4a8f4f03 +DIST osm.xml 170859 RMD160 a9a7b373243731525a8f205b907151395c6c8114 SHA1 1baafa1bf16d8a902f3aa4e8c0b011498210b476 SHA256 ae0dc71c788e6dd4621258c97ca350a27a45abc0a8f58c137a2eef18f89b8aa4 +EBUILD mod_tile-9999.ebuild 1162 RMD160 b831d66d8732084d215277e51730975679b42312 SHA1 e37cce6662dd0d92e9053796ed13b3dc20d41b6c SHA256 ae95b28fe146f2dfbac232147e17c9d4610a2f46a334167c882e48d301ec1efa +MISC ChangeLog 330 RMD160 a66d71fdd791c9c46d5089909fdd9da3969f9776 SHA1 0f9ff22117a550b05d96b30122354bba805ff1b6 SHA256 8fd578097717b67fbf1d418e79f989eb521c00f548e4c24aeaf67ee07115e8c2 +MISC metadata.xml 204 RMD160 19671a561cc119505a06464a35a5096b484471c2 SHA1 b00abe788b4847cd2bfcdb6e4e207ed38949d475 SHA256 e808030aad62dfe3e81350c1c879870c3d406c50e908ddc3f521480aec65e8d5 diff --git a/sci-geosciences/mod_tile/files/mod_tile-9999-use-external-iniparser.patch b/sci-geosciences/mod_tile/files/mod_tile-9999-use-external-iniparser.patch new file mode 100644 index 0000000..55f20c3 --- /dev/null +++ b/sci-geosciences/mod_tile/files/mod_tile-9999-use-external-iniparser.patch @@ -0,0 +1,19 @@ +--- Makefile.am.orig 2012-06-02 19:09:29.284066804 +0200 ++++ Makefile.am 2012-06-02 19:13:05.446364403 +0200 +@@ -1,5 +1,4 @@ + AUTOMAKE_OPTIONS = foreign +-SUBDIRS = iniparser3.0b + + ACLOCAL_AMFLAGS = -I m4 + +@@ -8,8 +7,8 @@ + bin_PROGRAMS = render_old render_expired render_list speedtest render_old renderd convert_meta + + renderddir = $(sysconfdir) +-renderd_SOURCES = protocol.h store.c daemon.h daemon.c gen_tile.h gen_tile.cpp dir_utils.c render_config.h dir_utils.h store.h iniparser3.0b/libiniparser.la +-renderd_LDADD = $(FT2_LIBS) $(PTHREAD_CFLAGS) $(MAPNIK_LDFLAGS) $(BOOST_LDFLAGS) $(ICU_LDFLAGS) -Liniparser3.0b/.libs -liniparser ++renderd_SOURCES = protocol.h store.c daemon.h daemon.c gen_tile.h gen_tile.cpp dir_utils.c render_config.h dir_utils.h store.h ++renderd_LDADD = $(FT2_LIBS) $(PTHREAD_CFLAGS) $(MAPNIK_LDFLAGS) $(BOOST_LDFLAGS) $(ICU_LDFLAGS) -liniparser + renderd_DATA = renderd.conf + speedtest_SOURCES = render_config.h protocol.h dir_utils.c dir_utils.h speedtest.cpp + render_list_SOURCES = render_config.h protocol.h dir_utils.c dir_utils.h render_list.c diff --git a/sci-geosciences/mod_tile/metadata.xml b/sci-geosciences/mod_tile/metadata.xml new file mode 100644 index 0000000..1188c23 --- /dev/null +++ b/sci-geosciences/mod_tile/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>egore911@egore911.de</email> +</maintainer> +</pkgmetadata> diff --git a/sci-geosciences/mod_tile/mod_tile-9999.ebuild b/sci-geosciences/mod_tile/mod_tile-9999.ebuild new file mode 100644 index 0000000..77d8156 --- /dev/null +++ b/sci-geosciences/mod_tile/mod_tile-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit apache-module subversion autotools + +DESCRIPTION="a raster tiles service for example to use within a slippy map" +HOMEPAGE="http://wiki.openstreetmap.org/wiki/Mod_tile" +SRC_URI="http://svn.openstreetmap.org/applications/rendering/mapnik/osm.xml" +ESVN_REPO_URI="http://svn.openstreetmap.org/applications/utils/mod_tile/" +#ESVN_REVISION="28425" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=sci-geosciences/mapnik-2.0 + media-libs/freetype:2 + >=dev-libs/icu-4.2 + dev-libs/iniparser" +RDEPEND="${DEPEND}" + +need_apache + +src_prepare() { + epatch "${FILESDIR}"/${P}-use-external-iniparser.patch + sed -i \ + -e "s:/usr/local/lib64/mapnik:/usr/lib64/mapnik:g" renderd.conf \ + -e "s:/home/jburgess/osm/svn.openstreetmap.org/applications/rendering/mapnik/osm-local.xml:/etc/renderd.d/osm.xml:" \ + || die "sed failed" + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + default + apache-module_src_compile +} + +src_install() { + default + apache-module_src_install + insinto /etc/renderd.d + doins "${DISTDIR}"/osm.xml +}
\ No newline at end of file |