diff options
author | Chris White <chriswhite@gentoo.org> | 2005-04-01 19:02:58 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2005-04-01 19:02:58 +0000 |
commit | 2745bd8dfc7793867e00d6bbef497263c73b256b (patch) | |
tree | 4c7ccf6cf98aa8bc10c5a0e5492b7e04bc1884be /dev-lang | |
parent | Keyworded ~sparc wrt #43612 (diff) | |
download | gentoo-2-2745bd8dfc7793867e00d6bbef497263c73b256b.tar.gz gentoo-2-2745bd8dfc7793867e00d6bbef497263c73b256b.tar.bz2 gentoo-2-2745bd8dfc7793867e00d6bbef497263c73b256b.zip |
Initial import into the tree. Closes bug #87486. Thanks to expose for the ebuild!
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/lazarus/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lang/lazarus/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/lazarus/files/digest-lazarus-0.9.6 | 1 | ||||
-rw-r--r-- | dev-lang/lazarus/lazarus-0.9.6.ebuild | 68 | ||||
-rw-r--r-- | dev-lang/lazarus/metadata.xml | 13 |
5 files changed, 95 insertions, 0 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog new file mode 100644 index 000000000000..e8d3fb6b4c82 --- /dev/null +++ b/dev-lang/lazarus/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2005/04/01 19:02:58 chriswhite Exp $ + +*lazarus-0.9.6 (02 Apr 2005) + + 02 Apr 2005; Chris White <chriswhite@gentoo.org> +metadata.xml, + +lazarus-0.9.6.ebuild: + Initial import into the tree. Closes bug #87486. Thanks to expose for the + ebuild! + diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest new file mode 100644 index 000000000000..52e401d0b6bb --- /dev/null +++ b/dev-lang/lazarus/Manifest @@ -0,0 +1,2 @@ +MD5 5338c15c0f11a1269f872acccef2d7aa lazarus-0.9.6.ebuild 2053 +MD5 2c5da358e9346c528a1a6b76f1eff1d1 files/digest-lazarus-0.9.6 63 diff --git a/dev-lang/lazarus/files/digest-lazarus-0.9.6 b/dev-lang/lazarus/files/digest-lazarus-0.9.6 new file mode 100644 index 000000000000..6e7d69625012 --- /dev/null +++ b/dev-lang/lazarus/files/digest-lazarus-0.9.6 @@ -0,0 +1 @@ +MD5 883163983cd0c81410e5971e5a1e3dc3 lazarus-0.9.6.tgz 7686485 diff --git a/dev-lang/lazarus/lazarus-0.9.6.ebuild b/dev-lang/lazarus/lazarus-0.9.6.ebuild new file mode 100644 index 000000000000..3ee2deb94889 --- /dev/null +++ b/dev-lang/lazarus/lazarus-0.9.6.ebuild @@ -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.6.ebuild,v 1.1 2005/04/01 19:02:58 chriswhite 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="~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.6.tgz" + +# Do not allow other versions of FPC. +DEPEND="=dev-lang/fpc-2.0.0_rc2 + =dev-lang/fpc-source-2.0.0_rc2 + >=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!" +} diff --git a/dev-lang/lazarus/metadata.xml b/dev-lang/lazarus/metadata.xml new file mode 100644 index 000000000000..1b61a0f66367 --- /dev/null +++ b/dev-lang/lazarus/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>lang-misc</herd> +<maintainer> + <email>chriswhite@gentoo.org</email> + <name>Chris White</name> +</maintainer> +<longdescription lang="en"> +A Borland Delphi lookalike for linux. Uses the free pascal compiler. +</longdescription> +</pkgmetadata> + |