/[gentoo-x86]/dev-libs/dvutil/dvutil-1.0.10-r2.ebuild
Gentoo

Contents of /dev-libs/dvutil/dvutil-1.0.10-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 4 18:35:45 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/dvutil/dvutil-1.0.10-r2.ebuild,v 1.1 2012/03/21 10:04:11 ssuominen Exp $
4
5 EAPI=4
6 inherit autotools eutils
7
8 DESCRIPTION="C++ classes for files, dates, property lists, reference counted pointers, number conversion etc."
9 HOMEPAGE="http://tinf2.vub.ac.be/~dvermeir/software/dv/dvutil/html/"
10 SRC_URI="http://tinf2.vub.ac.be/~dvermeir/software/dv/${PN}/download/${P}.tar.gz
11 mirror://gentoo/${P}-asneeded.patch.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16 IUSE="doc ssl static-libs"
17
18 RDEPEND="ssl? ( dev-libs/openssl:0 )"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 DOCS="AUTHORS ChangeLog NEWS README"
23
24 src_prepare() {
25 epatch "${WORKDIR}"/${P}-asneeded.patch
26 sed -i -e '/LDFLAGS.*all-static/d' dvutil/Makefile.am || die #362669
27 eautoreconf
28 }
29
30 src_configure() {
31 econf \
32 $(use_enable static-libs static) \
33 $(use_with ssl)
34 }
35
36 src_install() {
37 default
38 use doc && dohtml -r doc/html/*
39
40 # Keeping .la files in purpose, see: http://bugs.gentoo.org/409125
41 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
42 }

  ViewVC Help
Powered by ViewVC 1.1.20