Lines 1-6
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
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.7.1.ebuild,v 1.1 2008/06/10 14:45:12 drac Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils multilib libtool |
5 |
inherit eutils multilib libtool |
6 |
|
6 |
|
Lines 42-53
Link Here
|
42 |
--libdir=/usr/$(get_libdir)/hamlib \ |
42 |
--libdir=/usr/$(get_libdir)/hamlib \ |
43 |
--disable-static \ |
43 |
--disable-static \ |
44 |
--with-microtune \ |
44 |
--with-microtune \ |
45 |
--without-rpc-backends \ |
45 |
--with-rpc-backends \ |
46 |
--without-perl-binding \ |
46 |
--without-perl-binding \ |
47 |
$(use_with python python-binding) \ |
47 |
$(use_with python python-binding) \ |
48 |
$(use_with tcl tcl-binding) |
48 |
$(use_with tcl tcl-binding) |
49 |
|
49 |
|
50 |
emake || die "emake failed" |
50 |
emake -j1 || die "emake failed" |
51 |
|
51 |
|
52 |
if use doc ; then |
52 |
if use doc ; then |
53 |
cd doc && make doc || die "make doc failed" |
53 |
cd doc && make doc || die "make doc failed" |
Lines 55-70
Link Here
|
55 |
} |
55 |
} |
56 |
|
56 |
|
57 |
src_install() { |
57 |
src_install() { |
58 |
einstall \ |
58 |
emake DESTDIR="${D}" install || die "emake install failed" |
59 |
libdir="${D}"/usr/$(get_libdir)/hamlib || \ |
|
|
60 |
die "einstall failed" |
61 |
|
59 |
|
62 |
dodoc AUTHORS PLAN README README.betatester \ |
60 |
dodoc AUTHORS PLAN README README.betatester \ |
63 |
README.developer LICENSE NEWS TODO |
61 |
README.developer LICENSE NEWS TODO |
64 |
|
62 |
|
65 |
if use doc; then |
63 |
if use doc; then |
66 |
dohtml doc/html/* |
64 |
dohtml doc/html/* |
67 |
doman doc/man/man3/* |
|
|
68 |
fi |
65 |
fi |
69 |
|
66 |
|
70 |
insinto /usr/$(get_libdir)/pkgconfig |
67 |
insinto /usr/$(get_libdir)/pkgconfig |