blob: bf89924579be577226d668709fd6926f9ccfd8cb (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/vcdimager/vcdimager-0.7.23.ebuild,v 1.4 2006/01/24 21:17:32 corsair Exp $
inherit eutils libtool
DESCRIPTION="GNU VCDimager"
HOMEPAGE="http://www.vcdimager.org/"
SRC_URI="http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="xml2 minimal"
RESTRICT="test"
RDEPEND=">=dev-libs/libcdio-0.71
!minimal? ( dev-libs/popt )
xml2? ( >=dev-libs/libxml2-2.5.11 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
local myconf
# We disable the xmltest because the configure script includes differently
# than the actual XML-frontend C files.
use xml2 && myconf="${myconf} --with-xml-prefix=/usr --disable-xmltest"
use xml2 || myconf="${myconf} --without-xml-frontend"
econf \
$(use_with !minimal cli-frontends) \
${myconf} \
--disable-dependency-tracking || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog FAQ HACKING NEWS README THANKS TODO
}
|