Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 410679 | Differences between
and this patch

Collapse All | Expand All

(-)libftdi-9999.1.0.ebuild (-4 / +14 lines)
Lines 6-16 Link Here
6
6
7
inherit cmake-utils
7
inherit cmake-utils
8
8
9
MY_PN="${PN}1"
10
S="${WORKDIR}/${MY_PN}-${PV}"
11
9
if [[ ${PV} == 9999* ]] ; then
12
if [[ ${PV} == 9999* ]] ; then
10
	EGIT_REPO_URI="git://developer.intra2net.com/${PN}-${PV#9999.}"
13
	EGIT_REPO_URI="git://developer.intra2net.com/${PN}-${PV#9999.}"
11
	inherit git-2 autotools
14
	inherit git-2 autotools
12
else
15
else
13
	SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${P}.tar.gz"
16
	SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_PN}-${PV}.tar.bz2"
14
	KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
17
	KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
15
fi
18
fi
16
19
Lines 18-29 Link Here
18
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
21
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
19
22
20
LICENSE="LGPL-2"
23
LICENSE="LGPL-2"
21
SLOT="0"
24
SLOT="1"
22
IUSE="cxx doc examples python"
25
IUSE="cxx doc examples python utils"
23
26
24
RDEPEND="virtual/libusb:0
27
RDEPEND="virtual/libusb:0
25
	cxx? ( dev-libs/boost )
28
	cxx? ( dev-libs/boost )
26
	python? ( dev-lang/python )"
29
	python? ( dev-lang/python )
30
	utils? ( !dev-embedded/ftdi_eeprom )"
27
DEPEND="${RDEPEND}
31
DEPEND="${RDEPEND}
28
	doc? ( app-doc/doxygen )"
32
	doc? ( app-doc/doxygen )"
29
33
Lines 40-45 Link Here
40
44
41
src_install() {
45
src_install() {
42
	cmake-utils_src_install
46
	cmake-utils_src_install
47
	if use utils ; then
48
		newdoc ftdi_eeprom/example.conf ftdi_eeprom.example.conf
49
	else
50
		rm "${D}/usr/bin/ftdi_eeprom"
51
	fi
52
43
	dodoc ChangeLog README
53
	dodoc ChangeLog README
44
54
45
	if use doc ; then
55
	if use doc ; then

Return to bug 410679