summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/swt/swt-3.2.1.ebuild')
-rw-r--r--dev-java/swt/swt-3.2.1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-java/swt/swt-3.2.1.ebuild b/dev-java/swt/swt-3.2.1.ebuild
index f423eff2c431..7b8009e55a9e 100644
--- a/dev-java/swt/swt-3.2.1.ebuild
+++ b/dev-java/swt/swt-3.2.1.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2.1.ebuild,v 1.4 2006/12/01 00:40:33 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2.1.ebuild,v 1.5 2006/12/06 21:22:11 caster Exp $
inherit eutils java-pkg-2 java-ant-2
MY_DMF="R-${PV}-200609210945"
-
+PATCHSET="${P}-gentoo-patches"
DESCRIPTION="GTK based SWT Library"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="x86? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${PV}-gtk-linux-x86.zip )
amd64? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${PV}-gtk-linux-x86_64.zip )
- ppc? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${PV}-gtk-linux-ppc.zip )"
+ ppc? ( http://download.eclipse.org/downloads/drops/${MY_DMF}/swt-${PV}-gtk-linux-ppc.zip )
+ mirror://gentoo/${PATCHSET}.tar.bz2"
SLOT="3"
LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
@@ -51,6 +52,7 @@ S="${WORKDIR}"
src_unpack() {
unzip -jq "${DISTDIR}/${A}" "*src.zip" || die "unable to extract distfile"
+ unpack "${PATCHSET}.tar.bz2"
unpack ./src.zip
@@ -63,7 +65,7 @@ src_unpack() {
mkdir ${S}/src && mv ${S}/org ${S}/src || die "Unable to restructure SWT sources"
# apply all the patches, including arch-specific
- EPATCH_SOURCE="${FILESDIR}/patches-${PV}" EPATCH_SUFFIX="patch" epatch
+ EPATCH_SOURCE="${WORKDIR}/${PATCHSET}" EPATCH_SUFFIX="patch" epatch
sed -i "s/CFLAGS = -O -Wall/CFLAGS = ${CFLAGS} -Wall/" \
make_linux.mak \