| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/rubber-1.1_p20090819.ebuild,v 1.3 2010/01/10 18:36:03 nixnut Exp $
|
| 4 |
|
| 5 |
EAPI="3"
|
| 6 |
PYTHON_DEPEND="2:2.5"
|
| 7 |
|
| 8 |
inherit distutils
|
| 9 |
|
| 10 |
IUSE=""
|
| 11 |
|
| 12 |
MY_P=${PN}-${PV/*_p/}
|
| 13 |
|
| 14 |
DESCRIPTION="A LaTeX wrapper for automatically building documents"
|
| 15 |
HOMEPAGE="http://iml.univ-mrs.fr/~beffara/soft/rubber/"
|
| 16 |
SRC_URI="http://iml.univ-mrs.fr/~beffara/soft/rubber/${MY_P}.tar.gz"
|
| 17 |
|
| 18 |
LICENSE="GPL-2"
|
| 19 |
SLOT="0"
|
| 20 |
KEYWORDS="amd64 ppc x86"
|
| 21 |
|
| 22 |
DEPEND="virtual/latex-base"
|
| 23 |
|
| 24 |
S=${WORKDIR}/${P/_p*/}
|
| 25 |
|
| 26 |
pkg_setup() {
|
| 27 |
python_set_active_version 2
|
| 28 |
python_pkg_setup
|
| 29 |
}
|
| 30 |
|
| 31 |
src_configure() {
|
| 32 |
# configure script is not created by GNU autoconf
|
| 33 |
./configure --prefix=/usr \
|
| 34 |
--bindir=/usr/bin \
|
| 35 |
--datadir=/usr/share \
|
| 36 |
--mandir=/usr/share/man \
|
| 37 |
--infodir=/usr/share/info || die
|
| 38 |
}
|
| 39 |
|
| 40 |
src_compile() {
|
| 41 |
distutils_src_compile
|
| 42 |
|
| 43 |
cd doc
|
| 44 |
emake all || die "emake failed"
|
| 45 |
}
|