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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Aug 2 01:59:31 2012 UTC (2 years, 3 months ago) by jer
Branch: MAIN
Changes since 1.5: +3 -3 lines
Fix spelling.

(Portage version: 2.2.0_alpha120/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.1.ebuild,v 1.5 2011/09/16 13:24:02 chainsaw 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 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