/[gentoo-x86]/media-gfx/openmesh/openmesh-2.0_rc5.ebuild
Gentoo

Diff of /media-gfx/openmesh/openmesh-2.0_rc5.ebuild

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 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/media-gfx/openmesh/Attic/openmesh-2.0_rc5.ebuild,v 1.2 2010/09/16 17:10:08 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/Attic/openmesh-2.0_rc5.ebuild,v 1.3 2011/04/05 14:18:20 jsbronder Exp $
4 4
5EAPI="3" 5EAPI="3"
6inherit eutils cmake-utils 6inherit eutils cmake-utils
7 7
8MY_PN="OpenMesh" 8MY_PN="OpenMesh"
15 15
16# See COPYING.EXCEPTIONS 16# See COPYING.EXCEPTIONS
17LICENSE="LGPL-3 as-is" 17LICENSE="LGPL-3 as-is"
18SLOT="0" 18SLOT="0"
19KEYWORDS="~amd64 ~x86" 19KEYWORDS="~amd64 ~x86"
20IUSE="qt4 debug static" 20IUSE="qt4 debug static-libs"
21 21
22RDEPEND="qt4? ( x11-libs/qt-gui:4 22RDEPEND="qt4? ( x11-libs/qt-gui:4
23 x11-libs/qt-opengl:4 23 x11-libs/qt-opengl:4
24 media-libs/freeglut )" 24 media-libs/freeglut )"
25DEPEND="${RDEPEND}" 25DEPEND="${RDEPEND}"
48} 48}
49 49
50src_install() { 50src_install() {
51 cmake-utils_src_install 51 cmake-utils_src_install
52 52
53 if ! use static; then 53 if ! use static-libs; then
54 # No way to set this in the build system as of 2.0_rc5 54 # No way to set this in the build system as of 2.0_rc5
55 rm -f "${D}"/usr/$(get_libdir)/*.a \ 55 rm -f "${D}"/usr/$(get_libdir)/*.a \
56 || die "Failed to remove static libraries." 56 || die "Failed to remove static libraries."
57 fi 57 fi
58 cd "${S}" 58 cd "${S}"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20