1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Routing application based on openstreetmap data"
9 HOMEPAGE="http://www.routino.org/"
10 SRC_URI="http://www.routino.org/download/${P}.tgz"
18 eapply "${FILESDIR}"/${P}.patch
20 sed -i -e "s@libdir=\(.*\)@libdir=\$(prefix)/$(get_libdir)@" \
21 -e "s@CC=gcc@CC=$(tc-getCC)@" \
22 -e "s@LD=gcc@LD=$(tc-getCC)@" \
23 Makefile.conf || die "failed sed"
30 rm README.txt || die "rm README.txt failed"
31 mv doc/README.txt . || die "mv doc/README.txt . failed"