blob: a6f19443e438d8e24e8e958b8289e3859c63187b (
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
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdebian-installer/libdebian-installer-0.74-r1.ebuild,v 1.3 2010/10/27 12:54:05 fauli Exp $
EAPI=2
inherit eutils multilib
DESCRIPTION="Library of common debian-installer functions"
HOMEPAGE="http://packages.qa.debian.org/libd/libdebian-installer.html"
SRC_URI="mirror://debian/pool/main/libd/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
DEPEND=" doc? ( app-doc/doxygen )"
RDEPEND=""
src_prepare() {
epatch "${FILESDIR}/${P}-fix-warnings.patch" \
"${FILESDIR}/${P}-dont-install-docs.patch" \
"${FILESDIR}/${P}-doubling-readsize-support-oe.patch"
}
src_configure() {
econf --disable-static
}
src_compile() {
emake || die "emake failed"
if use doc; then
emake -C doc doc || die "emake for docs failed"
fi
rm -f "${D}"/usr/$(get_libdir)/*la || die
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
if use doc; then
dohtml -r doc/html/*
fi
dodoc HACKING debian/changelog
}
|