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.14.ebuild |
Date: | Thu, 01 Sep 2011 18:42:46 |
Message-Id: | 20110901184234.117D02004C@flycatcher.gentoo.org |
1 | tomjbe 11/09/01 18:42:34 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hamlib-1.2.14.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.61 media-libs/hamlib/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.61&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.61&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?r1=1.60&r2=1.61 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v |
20 | retrieving revision 1.60 |
21 | retrieving revision 1.61 |
22 | diff -u -r1.60 -r1.61 |
23 | --- ChangeLog 12 Aug 2011 21:15:44 -0000 1.60 |
24 | +++ ChangeLog 1 Sep 2011 18:42:33 -0000 1.61 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-libs/hamlib |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.60 2011/08/12 21:15:44 xarthisius Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.61 2011/09/01 18:42:33 tomjbe Exp $ |
30 | + |
31 | +*hamlib-1.2.14 (01 Sep 2011) |
32 | + |
33 | + 01 Sep 2011; Thomas Beierlein <tomjbe@g.o> +hamlib-1.2.14.ebuild: |
34 | + Version bump |
35 | |
36 | 12 Aug 2011; Kacper Kowalik <xarthisius@g.o> hamlib-1.2.10.ebuild, |
37 | hamlib-1.2.11.ebuild, hamlib-1.2.12-r2.ebuild, hamlib-1.2.13.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/hamlib/hamlib-1.2.14.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/hamlib-1.2.14.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/hamlib-1.2.14.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: hamlib-1.2.14.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.14.ebuild,v 1.1 2011/09/01 18:42:33 tomjbe Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="python? 2" |
54 | |
55 | inherit autotools-utils 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 ~x86 ~x86-fbsd" |
64 | IUSE="doc python tcl" |
65 | |
66 | RESTRICT="test" |
67 | |
68 | RDEPEND=" |
69 | =virtual/libusb-0* |
70 | dev-libs/libxml2 |
71 | tcl? ( dev-lang/tcl )" |
72 | |
73 | DEPEND=" ${RDEPEND} |
74 | dev-util/pkgconfig |
75 | dev-lang/swig |
76 | >=sys-devel/libtool-2.2 |
77 | doc? ( app-doc/doxygen )" |
78 | |
79 | pkg_setup() { |
80 | if use python; then |
81 | python_set_active_version 2 |
82 | python_pkg_setup |
83 | fi |
84 | } |
85 | |
86 | src_prepare() { |
87 | # fix hardcoded libdir paths |
88 | sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \ |
89 | -e "s#fix}/include#fix}/include/hamlib#" \ |
90 | hamlib.pc.in || die "sed failed" |
91 | |
92 | # fix tcl lib path |
93 | epatch "${FILESDIR}"/${PN}-1.2.11-bindings.diff |
94 | |
95 | eautoreconf |
96 | } |
97 | |
98 | src_configure() { |
99 | econf \ |
100 | --libdir=/usr/$(get_libdir)/hamlib \ |
101 | --disable-static \ |
102 | --with-rpc-backends \ |
103 | --without-perl-binding \ |
104 | $(use_with python python-binding) \ |
105 | $(use_enable tcl tcl-binding) |
106 | } |
107 | |
108 | src_compile() { |
109 | emake || die "emake failed" |
110 | |
111 | if use doc ; then |
112 | cd doc && make doc || die "make doc failed" |
113 | fi |
114 | } |
115 | |
116 | src_install() { |
117 | emake DESTDIR="${D}" install || die "emake install failed" |
118 | remove_libtool_files all |
119 | |
120 | dodoc AUTHORS NEWS PLAN README README.betatester \ |
121 | README.developer TODO || die "dodoc failed" |
122 | |
123 | if use doc; then |
124 | dohtml doc/html/* || die "dohtml failed" |
125 | fi |
126 | |
127 | insinto /usr/$(get_libdir)/pkgconfig |
128 | doins hamlib.pc || die "doins failed" |
129 | |
130 | echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib |
131 | doenvd "${T}"/73hamlib || die "doenvd failed" |
132 | } |
133 | |
134 | pkg_postinst() { |
135 | use python && python_mod_optimize Hamlib.py |
136 | } |
137 | |
138 | pkg_postrm() { |
139 | use python && python_mod_cleanup Hamlib.py |
140 | } |