From: | "Thomas Beierlein (tomjbe)" <tomjbe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/hamlib: ChangeLog hamlib-1.2.12.ebuild hamlib-1.2.9.ebuild |
Date: | Fri, 10 Sep 2010 18:47:27 |
Message-Id: | 20100910184721.A684C20051@flycatcher.gentoo.org |
1 | tomjbe 10/09/10 18:47:21 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hamlib-1.2.12.ebuild |
5 | Removed: hamlib-1.2.9.ebuild |
6 | Log: |
7 | Version bump. Drop old version and related patches |
8 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.50 media-libs/hamlib/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.50&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.50&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?r1=1.49&r2=1.50 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v |
20 | retrieving revision 1.49 |
21 | retrieving revision 1.50 |
22 | diff -u -r1.49 -r1.50 |
23 | --- ChangeLog 21 Aug 2010 19:21:50 -0000 1.49 |
24 | +++ ChangeLog 10 Sep 2010 18:47:21 -0000 1.50 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for media-libs/hamlib |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.49 2010/08/21 19:21:50 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.50 2010/09/10 18:47:21 tomjbe Exp $ |
30 | + |
31 | +*hamlib-1.2.12 (10 Sep 2010) |
32 | + |
33 | + 10 Sep 2010; Thomas Beierlein <tomjbe@g.o> -hamlib-1.2.9.ebuild, |
34 | + +hamlib-1.2.12.ebuild, -files/hamlib-ltdl.diff, |
35 | + -files/hamlib-pkgconfig-fix.diff: |
36 | + Version bump. Drop old version and related patches |
37 | |
38 | 21 Aug 2010; Markos Chandras <hwoarang@g.o> hamlib-1.2.11.ebuild: |
39 | Stable on amd64 wrt bug #333603 |
40 | |
41 | |
42 | |
43 | 1.1 media-libs/hamlib/hamlib-1.2.12.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/hamlib-1.2.12.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/hamlib-1.2.12.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: hamlib-1.2.12.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.12.ebuild,v 1.1 2010/09/10 18:47:21 tomjbe Exp $ |
53 | |
54 | PYTHON_DEPEND="2" |
55 | inherit autotools eutils multilib python |
56 | |
57 | DESCRIPTION="Ham radio backend rig control libraries" |
58 | HOMEPAGE="http://sourceforge.net/apps/mediawiki/hamlib" |
59 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
60 | |
61 | LICENSE="LGPL-2 GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-fbsd" |
64 | IUSE="doc python tcl" |
65 | |
66 | RESTRICT="test" |
67 | |
68 | RDEPEND=" |
69 | =virtual/libusb-0* |
70 | dev-libs/libxml2 |
71 | python? ( dev-lang/python ) |
72 | tcl? ( dev-lang/tcl )" |
73 | |
74 | DEPEND=" ${RDEPEND} |
75 | dev-util/pkgconfig |
76 | dev-lang/swig |
77 | >=sys-devel/libtool-2.2 |
78 | doc? ( app-doc/doxygen )" |
79 | |
80 | src_unpack() { |
81 | unpack ${A} |
82 | cd "${S}" |
83 | |
84 | # fix hardcoded libdir paths |
85 | sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \ |
86 | -e "s#fix}/include#fix}/include/hamlib#" \ |
87 | hamlib.pc.in || die "sed failed" |
88 | |
89 | # fix tcl lib path |
90 | epatch "${FILESDIR}"/${PN}-1.2.11-bindings.diff |
91 | |
92 | eautoreconf |
93 | } |
94 | |
95 | src_compile() { |
96 | econf \ |
97 | --libdir=/usr/$(get_libdir)/hamlib \ |
98 | --disable-static \ |
99 | --with-rpc-backends \ |
100 | --without-perl-binding \ |
101 | $(use_with python python-binding) \ |
102 | $(use_enable tcl tcl-binding) |
103 | |
104 | emake || die "emake failed" |
105 | |
106 | if use doc ; then |
107 | cd doc && make doc || die "make doc failed" |
108 | fi |
109 | } |
110 | |
111 | src_install() { |
112 | emake DESTDIR="${D}" install || die "emake install failed" |
113 | |
114 | dodoc AUTHORS PLAN README README.betatester \ |
115 | README.developer NEWS TODO || die "dodoc failed" |
116 | |
117 | if use doc; then |
118 | dohtml doc/html/* || die "dohtml failed" |
119 | fi |
120 | |
121 | insinto /usr/$(get_libdir)/pkgconfig |
122 | doins hamlib.pc || die "doins failed" |
123 | |
124 | echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib |
125 | doenvd "${T}"/73hamlib || die "doenvd failed" |
126 | } |