/[gentoo-x86]/app-text/podofo/podofo-0.9.1.ebuild
Gentoo

Diff of /app-text/podofo/podofo-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/Attic/podofo-0.9.1.ebuild,v 1.11 2013/02/27 08:45:03 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/Attic/podofo-0.9.1.ebuild,v 1.12 2013/02/28 15:03:15 zmedico Exp $
4 4
5EAPI=2 5EAPI=2
6inherit cmake-utils flag-o-matic multilib 6inherit cmake-utils flag-o-matic multilib toolchain-funcs
7 7
8DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format." 8DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format."
9HOMEPAGE="http://sourceforge.net/projects/podofo/" 9HOMEPAGE="http://sourceforge.net/projects/podofo/"
10SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz" 10SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
11 11
36 -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ 36 -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
37 CMakeLists.txt || die 37 CMakeLists.txt || die
38 38
39 # Use pkg-config to find headers for bug #459404. 39 # Use pkg-config to find headers for bug #459404.
40 sed_args= 40 sed_args=
41 for x in $(pkg-config --cflags freetype2) ; do 41 for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
42 [[ ${x} == -I* ]] || continue 42 [[ ${x} == -I* ]] || continue
43 x=${x#-I} 43 x=${x#-I}
44 if [[ -f ${x}/ft2build.h ]] ; then 44 if [[ -f ${x}/ft2build.h ]] ; then
45 sed_args+=" -e s:/usr/include/\\r\$:${x}:" 45 sed_args+=" -e s:/usr/include/\\r\$:${x}:"
46 elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then 46 elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20