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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Aug 24 13:56:12 2012 UTC (22 months, 4 weeks ago) by jer
Branch: MAIN
Changes since 1.5: +2 -2 lines
Marked ~hppa (bug #432380).

(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)

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.2.ebuild,v 1.5 2012/08/11 14:32:53 maekke 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 ~hppa ~ppc x86"
16 IUSE="examples"
17
18 src_configure() {
19 econf \
20 --libdir="${EPREFIX}"/$(get_libdir)
21 }
22
23 src_install() {
24 emake DESTDIR="${D}" install
25 dodir /usr/$(get_libdir)/pkgconfig/
26 mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/libmnl.pc || die
27 dodoc README
28
29 if use examples; then
30 find examples/ -name "Makefile*" -exec rm -f '{}' +
31 dodoc -r examples/
32 docompress -x /usr/share/doc/${P}/examples
33 fi
34
35 find "${ED}" -name '*.la' -exec rm -f '{}' +
36 }

  ViewVC Help
Powered by ViewVC 1.1.20