Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.8.ebuild,v 1.1 2008/12/04 17:58:18 darkside Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.8.ebuild,v 1.1 2008/12/04 17:58:18 darkside Exp $ |
4 |
|
4 |
|
5 |
inherit eutils multilib libtool |
5 |
inherit autotools eutils libtool multilib |
6 |
|
6 |
|
7 |
DESCRIPTION="Ham radio backend rig control libraries" |
7 |
DESCRIPTION="Ham radio backend rig control libraries" |
8 |
HOMEPAGE="http://hamlib.sourceforge.net/" |
8 |
HOMEPAGE="http://hamlib.sourceforge.net/" |
Lines 16-27
Link Here
|
16 |
RESTRICT="test" |
16 |
RESTRICT="test" |
17 |
|
17 |
|
18 |
RDEPEND="virtual/libc |
18 |
RDEPEND="virtual/libc |
|
|
19 |
>=sys-devel/libtool-1.5 |
20 |
dev-libs/libusb |
19 |
python? ( dev-lang/python |
21 |
python? ( dev-lang/python |
20 |
dev-lang/tcl ) |
22 |
dev-lang/tcl ) |
21 |
tcl? ( dev-lang/tcl )" |
23 |
tcl? ( dev-lang/tcl )" |
22 |
|
24 |
|
23 |
DEPEND=" ${RDEPEND} |
25 |
DEPEND=" ${RDEPEND} |
24 |
>=sys-devel/libtool-1.5 |
|
|
25 |
>=dev-util/pkgconfig-0.15 |
26 |
>=dev-util/pkgconfig-0.15 |
26 |
>=dev-lang/swig-1.3.14 |
27 |
>=dev-lang/swig-1.3.14 |
27 |
dev-libs/libxml2 |
28 |
dev-libs/libxml2 |
Lines 31-47
Link Here
|
31 |
unpack ${A} |
32 |
unpack ${A} |
32 |
cd "${S}" |
33 |
cd "${S}" |
33 |
|
34 |
|
34 |
epatch "${FILESDIR}"/${PN}-pkgconfig-fix.diff |
35 |
epatch "${FILESDIR}"/${PN}-pkgconfig-fix.diff \ |
35 |
|
36 |
"${FILESDIR}"/${PN}-ltdl.diff |
36 |
# Needed for FreeBSD - Please do not remove |
37 |
|
37 |
elibtoolize |
38 |
# remove bundled libltdl copy |
|
|
39 |
rm -rf libltdl |
40 |
|
41 |
eautoreconf |
38 |
} |
42 |
} |
39 |
|
43 |
|
40 |
src_compile() { |
44 |
src_compile() { |
41 |
econf \ |
45 |
econf \ |
42 |
--libdir=/usr/$(get_libdir)/hamlib \ |
46 |
--libdir=/usr/$(get_libdir)/hamlib \ |
43 |
--disable-static \ |
47 |
--disable-static \ |
44 |
--with-microtune \ |
|
|
45 |
--with-rpc-backends \ |
48 |
--with-rpc-backends \ |
46 |
--without-perl-binding \ |
49 |
--without-perl-binding \ |
47 |
$(use_with python python-binding) \ |
50 |
$(use_with python python-binding) \ |