net-libs/openpgm: Drop old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-09-20 12:37:01 +02:00
parent 605eb7240e
commit 729a8abb7c

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=3
inherit autotools
DESCRIPTION="OpenPGM is an open source implementation of the Pragmatic General
Multicast (PGM) specification"
HOMEPAGE="https://code.google.com/p/openpgm"
SRC_URI="https://openpgm.googlecode.com/files/libpgm-${PV}~dfsg.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~x86-fbsd"
IUSE="static-libs"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/libpgm-${PV}~dfsg/${PN}/pgm"
src_prepare() {
eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static) \
--disable-dependency-tracking
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc "${S}"/../doc/* "${S}"/README
# remove useless .la files
find "${D}" -name '*.la' -delete
# remove useless .a (only for non static compilation)
use static-libs || find "${D}" -name '*.a' -delete
}