Revbump for fpc 2.0.0, added ~ppc, solves bugs #103903, #102889, #99480, #90078
authorGustavo Zacarias <gustavoz@gentoo.org>
Thu, 6 Oct 2005 17:30:22 +0000 (17:30 +0000)
committerGustavo Zacarias <gustavoz@gentoo.org>
Thu, 6 Oct 2005 17:30:22 +0000 (17:30 +0000)
Package-Manager: portage-2.0.51.22-r3

dev-lang/lazarus/ChangeLog
dev-lang/lazarus/Manifest
dev-lang/lazarus/files/digest-lazarus-0.9.10 [new file with mode: 0644]
dev-lang/lazarus/lazarus-0.9.10.ebuild [new file with mode: 0644]

index d7e5f804217af9a63b394eba4f41b0ac0a4b8c72..c5f6c38dc8dcde365d8c5dd441d67ae2677969ee 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-lang/lazarus
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.2 2005/04/19 10:33:09 beu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.3 2005/10/06 17:30:22 gustavoz Exp $
+
+*lazarus-0.9.10 (06 Oct 2005)
+
+  06 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  +lazarus-0.9.10.ebuild:
+  Revbump for fpc 2.0.0, added ~ppc, solves bugs #103903, #102889, #99480, #90078
 
   19 Apr 2005; Elfyn McBratney <beu@gentoo.org> metadata.xml:
   Remove retired developer from metadata.xml.
index f026e4bd1b87246fef24f7a90333ec9fe7d82523..f3638a0a9b8815dbe5905dee9d56737e3fc228a1 100644 (file)
@@ -1,6 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 28789ede496ce8e0749dc01f9c616207 ChangeLog 718
 MD5 8773813255798a06aad7b06e083a1a55 metadata.xml 281
 MD5 b0b439a5fc011901ddc50c3226495066 lazarus-0.9.6.ebuild 2138
 MD5 61b39600553ef3236481fc8ff388f1ac lazarus-0.9.10.ebuild 2143
 MD5 abbae63cd6c109adfb2535d9b12c5625 files/digest-lazarus-0.9.10 69
 MD5 2c5da358e9346c528a1a6b76f1eff1d1 files/digest-lazarus-0.9.6 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)
+
+iD8DBQFDRV9XKRy60XGEcJIRAvRzAKCmxQWHA/ovABBDbYSdPrE73JQv/QCePV0C
+Wa83owfSrrGct/KRqe63mrk=
+=/R/q
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/lazarus/files/digest-lazarus-0.9.10 b/dev-lang/lazarus/files/digest-lazarus-0.9.10
new file mode 100644 (file)
index 0000000..d0aad84
--- /dev/null
@@ -0,0 +1 @@
+MD5 f7226dab2d7f6619c99f121faffab558 lazarus-0.9.10-0.tar.gz 7248444
diff --git a/dev-lang/lazarus/lazarus-0.9.10.ebuild b/dev-lang/lazarus/lazarus-0.9.10.ebuild
new file mode 100644 (file)
index 0000000..9b6eca9
--- /dev/null
@@ -0,0 +1,68 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.10.ebuild,v 1.1 2005/10/06 17:30:22 gustavoz Exp $
+
+inherit eutils
+
+SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
+LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception"
+KEYWORDS="~ppc ~x86"
+DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
+HOMEPAGE="http://www.lazarus.freepascal.org/"
+IUSE=""
+SRC_URI="mirror://sourceforge/lazarus/lazarus-0.9.10-0.tar.gz"
+
+# Do not allow other versions of FPC.
+DEPEND="=dev-lang/fpc-2.0.0-r1
+       =dev-lang/fpc-source-2.0.0
+       >=media-libs/gdk-pixbuf-0.22.0-r3
+       net-misc/rsync"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/lazarus
+
+src_unpack () {
+       unpack ${A} || die "Unpacking ${A} failed!"
+}
+
+src_compile () {
+       emake -j1 \
+       all \
+       || die "make all failed!"
+}
+
+src_install () {
+       # Note: Make install is broken and wont be fixed.
+       einfo "Copying files. Please wait..."
+
+       diropts -m0755
+       dodir /usr/share/
+       # Using rsync to avoid unnecessary copies and cleaning...
+       # Note: *.o and *.ppu are needed
+       rsync -a \
+               --exclude="CVS"         --exclude=".cvsignore" \
+               --exclude="*.ppw"       --exclude="*.ppl" \
+               --exclude="*.ow"        --exclude="*.a"\
+               --exclude="*.rst"       --exclude=".#*" \
+               --exclude="*.~*"        --exclude="*.bak" \
+               --exclude="*.orig"      --exclude="*.rej" \
+               --exclude=".xvpics"     --exclude="*.compiled" \
+               --exclude="killme*"     --exclude=".gdb_hist*" \
+               ${S} ${D}usr/share/ \
+       || die "Unable to copy files!"
+}
+
+pkg_preinst () {
+       # Fixing permissions.
+       find ${D} -name '*.sh' -exec chmod a+x {} \; || die "Failed to chmod *.sh files!"
+       find ${D} -name '*.pl' -exec chmod a+x {} \; || die "Failed to chmod *.pl files!"
+
+       # Symlinking binary
+       dodir /usr/bin/
+       dosym ../share/lazarus/startlazarus usr/bin/startlazarus || die "Symlinking startlazarus failed!"
+
+       # Desktop entry.
+       dodir /usr/share/pixmaps/
+       dosym ../lazarus/images/mainicon.xpm usr/share/pixmaps/lazarus.xpm || die "Symlinking icon failed!"
+       make_desktop_entry startlazarus "Lazarus IDE" "lazarus.xpm" || die "Failed making desktop entry!"
+}