| 1 | # Copyright 1999-2011 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/app-office/libreoffice-bin/Attic/libreoffice-bin-3.4.3.2-r1.ebuild,v 1.2 2011/10/19 07:55:54 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/Attic/libreoffice-bin-3.4.3.2-r1.ebuild,v 1.3 2011/10/19 09:26:01 scarabeus Exp $ |
| 4 | |
4 | |
| 5 | EAPI=4 |
5 | EAPI=4 |
| 6 | |
6 | |
| 7 | KDE_REQUIRED="optional" |
7 | KDE_REQUIRED="optional" |
| 8 | CMAKE_REQUIRED="never" |
8 | CMAKE_REQUIRED="never" |
| … | |
… | |
| 101 | |
101 | |
| 102 | RESTRICT="test strip" |
102 | RESTRICT="test strip" |
| 103 | |
103 | |
| 104 | S="${WORKDIR}" |
104 | S="${WORKDIR}" |
| 105 | |
105 | |
|
|
106 | pkg_pretend() { |
|
|
107 | [[ $(gcc-major-version) -lt 4 ]] || \ |
|
|
108 | ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \ |
|
|
109 | && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)." |
|
|
110 | } |
|
|
111 | |
| 106 | pkg_setup() { |
112 | pkg_setup() { |
| 107 | kde4-base_pkg_setup |
113 | kde4-base_pkg_setup |
| 108 | } |
114 | } |
| 109 | |
115 | |
| 110 | src_unpack() { |
116 | src_unpack() { |