jer         14/03/19 15:47:03

  Modified:             ChangeLog
  Added:                libnids-1.18-r3.ebuild
  Log:
  Do not build a static library when it is not going to be installed.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.63                 net-libs/libnids/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?rev=1.63&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?rev=1.63&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/ChangeLog?r1=1.62&r2=1.63

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- ChangeLog   19 Mar 2014 15:30:47 -0000      1.62
+++ ChangeLog   19 Mar 2014 15:47:03 -0000      1.63
@@ -1,6 +1,11 @@
 # ChangeLog for net-libs/libnids
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.62 
2014/03/19 15:30:47 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.63 
2014/03/19 15:47:03 jer Exp $
+
+*libnids-1.18-r3 (19 Mar 2014)
+
+  19 Mar 2014; Jeroen Roovers <[email protected]> +libnids-1.18-r3.ebuild:
+  Do not build a static library when it is not going to be installed.
 
 *libnids-1.24-r4 (19 Mar 2014)
 



1.1                  net-libs/libnids/libnids-1.18-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/libnids-1.18-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnids/libnids-1.18-r3.ebuild?rev=1.1&content-type=text/plain

Index: libnids-1.18-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.18-r3.ebuild,v 
1.1 2014/03/19 15:47:03 jer Exp $

EAPI=5

inherit eutils toolchain-funcs

DESCRIPTION="an implementation of an E-component of Network Intrusion Detection 
System"
HOMEPAGE="http://www.packetfactory.net/Projects/libnids/";
SRC_URI="http://www.packetfactory.net/Projects/libnids/dist/${P/_}.tar.gz";

LICENSE="GPL-2"
SLOT="1.1"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="static-libs"

DEPEND="
        net-libs/libpcap
        >=net-libs/libnet-1.1.0-r3
"
RDEPEND="${DEPEND}"

src_prepare() {
        epatch \
                "${FILESDIR}"/${P}-chksum.c-ebx.patch \
                "${FILESDIR}"/${P}-elif.patch \
                "${FILESDIR}"/${PN}-1.24-ldflags.patch \
                "${FILESDIR}"/${PN}-1.24-static-libs.patch
}

src_configure() {
        tc-export AR
        econf --enable-shared
}

src_compile() {
        emake shared $(usex static-libs static '')
}

src_install() {
        local tgt
        for tgt in _installshared $(usex static-libs _install ''); do
                emake install_prefix="${D}" ${tgt}
        done

        dodoc CHANGES CREDITS MISC README
}




Reply via email to