/[gentoo-x86]/media-libs/libzen/libzen-0.4.27.ebuild
Gentoo

Contents of /media-libs/libzen/libzen-0.4.27.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Dec 22 10:23:13 2012 UTC (4 months, 4 weeks ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.27.ebuild,v 1.7 2012/12/04 02:41:53 radhermit Exp $
4
5 EAPI="4"
6
7 inherit autotools multilib eutils
8
9 MY_PN="ZenLib"
10 DESCRIPTION="Shared library for libmediainfo and mediainfo"
11 HOMEPAGE="http://sourceforge.net/projects/zenlib"
12 SRC_URI="mirror://sourceforge/zenlib/${MY_PN}%20-%20Sources/${PV}/${PN}_${PV}.tar.bz2"
13
14 LICENSE="ZLIB"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="doc static-libs"
18
19 DEPEND="virtual/pkgconfig
20 doc? ( app-doc/doxygen )"
21
22 S=${WORKDIR}/${MY_PN}/Project/GNU/Library
23
24 src_prepare() {
25 sed -i -e "s:-O2::" configure.ac
26 eautoreconf
27 }
28
29 src_configure() {
30 econf \
31 --enable-unicode \
32 --enable-shared \
33 $(use_enable static-libs static)
34 }
35
36 src_compile() {
37 default
38
39 if use doc ; then
40 cd "${WORKDIR}"/${MY_PN}/Source/Doc
41 doxygen Doxyfile || die
42 fi
43 }
44
45 src_install() {
46 default
47
48 # remove since the pkgconfig file should be used instead
49 rm "${D}"/usr/bin/libzen-config
50
51 insinto /usr/$(get_libdir)/pkgconfig
52 doins ${PN}.pc
53
54 for x in ./ Format/Html Format/Http HTTP_Client ; do
55 insinto /usr/include/${MY_PN}/${x}
56 doins "${WORKDIR}"/${MY_PN}/Source/${MY_PN}/${x}/*.h
57 done
58
59 dodoc "${WORKDIR}"/${MY_PN}/History.txt
60 if use doc ; then
61 dohtml "${WORKDIR}"/${MY_PN}/Doc/*
62 fi
63
64 prune_libtool_files
65 }

  ViewVC Help
Powered by ViewVC 1.1.13