/[gentoo-x86]/eclass/qt4-build.eclass
Gentoo

Diff of /eclass/qt4-build.eclass

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

Revision 1.1 Revision 1.3
1# Copyright 2005 Gentoo Foundation 1# Copyright 2005 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/eclass/qt4-build.eclass,v 1.1 2007/12/21 16:11:18 caleb Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.3 2007/12/21 21:44:03 caleb Exp $
4 4
5# @ECLASS: qt4-build.eclass 5# @ECLASS: qt4-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Caleb Tennis <caleb@gentoo.org> 7# Caleb Tennis <caleb@gentoo.org>
8# @BLURB: 8# @BLURB:
68 -prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR} -datadir ${QTDATADIR} \ 68 -prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR} -datadir ${QTDATADIR} \
69 -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR} -plugindir ${QTPLUGINDIR} \ 69 -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR} -plugindir ${QTPLUGINDIR} \
70 -sysconfdir ${QTSYSCONFDIR} -translationdir ${QTTRANSDIR} \ 70 -sysconfdir ${QTSYSCONFDIR} -translationdir ${QTTRANSDIR} \
71 -examplesdir ${QTEXAMPLESDIR} -demosdir ${QTDEMOSDIR}" 71 -examplesdir ${QTEXAMPLESDIR} -demosdir ${QTDEMOSDIR}"
72 72
73 myconf="${myconf} -fast -reduce-relocations -nomake examples -nomake demos" 73 myconf="${myconf} -silent -fast -reduce-relocations -nomake examples -nomake demos"
74 74
75 echo "${myconf}" 75 echo "${myconf}"
76} 76}
77 77
78build_directories() { 78build_directories() {
79 local dirs="$@" 79 local dirs="$@"
80 for x in ${dirs}; do 80 for x in ${dirs}; do
81 cd "${S}"/${x} 81 cd "${S}"/${x}
82 qmake "LIBS+=-L${QTLIBDIR}" && emake || die 82 "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" && emake || die
83 done 83 done
84} 84}
85 85
86install_directories() { 86install_directories() {
87 local dirs="$@" 87 local dirs="$@"

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

  ViewVC Help
Powered by ViewVC 1.1.20