/[gentoo-x86]/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild
Gentoo

Contents of /sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Dec 21 03:46:01 2012 UTC (5 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +6 -5 lines
Only setup python when USE=python #446612 by Elfenbein, Karsten.

(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild,v 1.6 2012/05/12 11:03:23 xarthisius Exp $
4
5 EAPI="3"
6
7 PYTHON_DEPEND="python? 2"
8 inherit python
9
10 DESCRIPTION="Library to query devices using IEEE1284"
11 HOMEPAGE="http://cyberelk.net/tim/libieee1284/index.html"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
17 IUSE="doc python static-libs"
18
19 RDEPEND=""
20 DEPEND="${RDEPEND}
21 doc? (
22 app-text/docbook-sgml-utils
23 >=app-text/docbook-sgml-dtd-4.1
24 app-text/docbook-dsssl-stylesheets
25 dev-perl/XML-RegExp
26 )"
27
28 pkg_setup() {
29 use python && python_set_active_version 2
30 }
31
32 src_configure() {
33 econf \
34 --enable-shared \
35 $(use_enable static-libs static) \
36 $(use_with python) \
37 --disable-dependency-tracking
38 }
39
40 src_install () {
41 emake DESTDIR="${D}" install || die
42 find "${D}" -name '*.la' -delete
43 dodoc AUTHORS NEWS README* TODO doc/interface*
44 }

  ViewVC Help
Powered by ViewVC 1.1.20