/[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.6 - (show annotations) (download)
Sat May 12 11:03:23 2012 UTC (2 years, 4 months ago) by xarthisius
Branch: MAIN
Changes since 1.5: +2 -2 lines
Fix double prefix install

(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)

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.5 2012/01/04 18:20:42 ranger 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 python_set_active_version 2
30 }
31
32 src_configure() {
33 econf \
34 --enable-shared $(use_enable static-libs static) \
35 $(use_with python) \
36 --disable-dependency-tracking
37 }
38
39 src_install () {
40 emake DESTDIR="${D}" install || die "emake install failed"
41 find "${D}" -name '*.la' -delete
42 dodoc AUTHORS NEWS README* TODO doc/interface* || die
43 }

  ViewVC Help
Powered by ViewVC 1.1.20