1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
9 DESCRIPTION="Interconverts between various bibliography formats using a common XML intermediate"
10 HOMEPAGE="http://www.scripps.edu/~cdputnam/software/bibutils/"
11 SRC_URI="http://www.scripps.edu/~cdputnam/software/bibutils/${MY_P}_src.tgz"
15 KEYWORDS="~amd64 ~ppc ~x86"
21 # The custom configure script sucks, so we'll just do its
23 rm -f Makefile configure || die "Failed to purge old Makefile"
25 -e "s:REPLACE_CC:CC=\"$(tc-getCC) ${CFLAGS}\":g" \
26 -e "s:REPLACE_RANLIB:RANLIB=\"$(tc-getRANLIB)\":g" \
27 -e "s:REPLACE_INSTALLDIR:\"${D}/usr/bin\":g" \
28 -e 's:REPLACE_POSTFIX::g' \
29 -e 's:make:$(MAKE):g' \
30 Makefile_start > Makefile \
31 || die "Failed to set up Makefile"
37 dodoc ChangeLog || die