/[gentoo-x86]/net-libs/libmnl/libmnl-1.0.3.ebuild
Gentoo

Contents of /net-libs/libmnl/libmnl-1.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Oct 26 02:06:59 2012 UTC (20 months, 3 weeks ago) by blueness
Branch: MAIN
Changes since 1.2: +2 -2 lines
keyword ~arm, bug #439394

(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xD0455535)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.3.ebuild,v 1.2 2012/10/26 01:31:07 blueness Exp $
4
5 EAPI=4
6
7 inherit multilib
8
9 DESCRIPTION="Minimalistic netlink library"
10 HOMEPAGE="http://netfilter.org/projects/libmnl"
11 SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
16 IUSE="examples"
17
18 src_configure() {
19 econf \
20 --libdir="${EPREFIX}"/$(get_libdir)
21 }
22
23 src_install() {
24 default
25 dodir /usr/$(get_libdir)/pkgconfig/
26 mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/libmnl.pc || die
27
28 if use examples; then
29 find examples/ -name "Makefile*" -exec rm -f '{}' +
30 dodoc -r examples/
31 docompress -x /usr/share/doc/${P}/examples
32 fi
33
34 find "${ED}" -name '*.la' -exec rm -f '{}' +
35 }

  ViewVC Help
Powered by ViewVC 1.1.20