blob: bfca7c6ce84d8369ab957d31a01feec833e6721c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/bibclean/bibclean-2.11.4.ebuild,v 1.3 2008/10/26 13:55:19 aballier Exp $
inherit toolchain-funcs eutils
DESCRIPTION="BibTeX bibliography prettyprinter and syntax checker"
SRC_URI="http://www.math.utah.edu/pub/bibclean/${P}.tar.bz2"
HOMEPAGE="http://www.math.utah.edu/pub/bibclean/"
# http://packages.debian.org/changelogs/pool/main/b/bibclean/bibclean_2.11.4-5/bibclean.copyright
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""
SLOT="0"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-ldflags.patch"
}
src_compile() {
tc-export CC CXX
econf
emake LDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
make test || die
}
src_install() {
dobin bibclean
newman bibclean.man bibclean.1
}
|