diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2005-11-05 16:20:37 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2005-11-05 16:20:37 +0000 |
commit | 2886976f7032ba5e7bb5e8d3244f5481eb0b1cf3 (patch) | |
tree | ed45f4f36c43397d334a75c4c999b0b3c11ecfc6 /dev-haskell | |
parent | * 0.3.7 stabilization (diff) | |
download | gentoo-2-2886976f7032ba5e7bb5e8d3244f5481eb0b1cf3.tar.gz gentoo-2-2886976f7032ba5e7bb5e8d3244f5481eb0b1cf3.tar.bz2 gentoo-2-2886976f7032ba5e7bb5e8d3244f5481eb0b1cf3.zip |
Added new version.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/gtk2hs/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/Manifest | 12 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.10 | 1 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/gtk2hs-0.9.10.ebuild | 103 |
4 files changed, 112 insertions, 11 deletions
diff --git a/dev-haskell/gtk2hs/ChangeLog b/dev-haskell/gtk2hs/ChangeLog index 8679e7fdeed1..1963cfebe470 100644 --- a/dev-haskell/gtk2hs/ChangeLog +++ b/dev-haskell/gtk2hs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/gtk2hs # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.15 2005/08/31 10:15:22 dcoutts Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.16 2005/11/05 16:20:37 dcoutts Exp $ + +*gtk2hs-0.9.10 (02 Nov 2005) + + 02 Nov 2005; <duncan@gentoo.org> +gtk2hs-0.9.10.ebuild: + Added new version. *gtk2hs-0.9.9 (31 Aug 2005) diff --git a/dev-haskell/gtk2hs/Manifest b/dev-haskell/gtk2hs/Manifest index ed857d687e22..3cb4a968b154 100644 --- a/dev-haskell/gtk2hs/Manifest +++ b/dev-haskell/gtk2hs/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 8573dcaa0d24b65acc986d6ea19008b3 gtk2hs-0.9.8.ebuild 2691 +MD5 b9a0d9817581bc7e2dc2593eb116c592 gtk2hs-0.9.10.ebuild 3233 MD5 7e30fe1183168a85eb624db45d97908c gtk2hs-0.9.7.ebuild 2835 MD5 c88aa3777d00d0d846c43437d28150c1 ChangeLog 2006 MD5 5cf11c08544b065d0144e11273f0000d metadata.xml 223 MD5 785d6c4be9c0d72fcc6f890a83cf601d gtk2hs-0.9.6-r1.ebuild 2698 MD5 05c2042c54431c623ff56c03e7b5c1f1 gtk2hs-0.9.9.ebuild 2698 MD5 690f4192d427c43531d990e34ff0ad0b files/gtk2hs-0.9.7-ghc64.patch.gz 6986 +MD5 8319243ace207791970c6cd5b177f097 files/digest-gtk2hs-0.9.10 65 MD5 6f7aca1981bfbd6384c83cea70a1e20c files/digest-gtk2hs-0.9.7 64 MD5 3b88c846dd87e7256e9396fbe9682f1f files/digest-gtk2hs-0.9.8 64 MD5 a0148d13d7414bb83ec383c7124ea654 files/digest-gtk2hs-0.9.9 64 MD5 96674cbaf4f6bddf1517166b6e6f13a5 files/digest-gtk2hs-0.9.6-r1 64 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDFYO7kyZuKN4EQ6YRAmh+AJ4403QDH9RAyanTBvcO3fzZREzDxACePmgG -te5dleUjzQ36rHfQi0wtt2c= -=utG7 ------END PGP SIGNATURE----- diff --git a/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.10 b/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.10 new file mode 100644 index 000000000000..71d9304cb1dd --- /dev/null +++ b/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.10 @@ -0,0 +1 @@ +MD5 13d300e07153f37ba5893ac336b078bc gtk2hs-0.9.10.tar.gz 830866 diff --git a/dev-haskell/gtk2hs/gtk2hs-0.9.10.ebuild b/dev-haskell/gtk2hs/gtk2hs-0.9.10.ebuild new file mode 100644 index 000000000000..35780f9aa9ec --- /dev/null +++ b/dev-haskell/gtk2hs/gtk2hs-0.9.10.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.10.ebuild,v 1.1 2005/11/05 16:20:37 dcoutts Exp $ + +inherit base ghc-package multilib + +DESCRIPTION="A GUI Library for Haskell based on Gtk+" +HOMEPAGE="http://haskell.org/gtk2hs/" +SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86 ~ppc" +#enable sparc when CFLAGS/-mcpu ebuild bug is fixed + +IUSE="doc glade gnome mozilla firefox" + +RDEPEND=">=virtual/ghc-5.04.3 + amd64? ( || ( >=dev-lang/ghc-6.4.1 >=dev-lang/ghc-bin-6.4.1 ) ) + >=x11-libs/gtk+-2 + glade? ( >=gnome-base/libglade-2 ) + gnome? ( >=gnome-base/libglade-2 + >=x11-libs/gtksourceview-0.6 + >=gnome-base/gconf-2 ) + mozilla? ( >=www-client/mozilla-1.4 ) + firefox? ( >=www-client/mozilla-firefox-1.0.4 )" +DEPEND="doc? ( >=dev-haskell/haddock-0.7 )" + +src_compile() { + econf \ + --enable-packager-mode \ + $(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \ + $(use_enable glade libglade) \ + $(use_enable gnome libglade) \ + $(use_enable gnome gconf) \ + $(use_enable gnome sourceview) \ + $(use_enable mozilla mozilla) \ + $(use_enable firefox firefox) \ + $(use_enable doc docs) \ + || die "Configure failed" + + # parallel build doesn't work, so specify -j1 + emake -j1 || die "Make failed" +} + +src_install() { + + make install \ + DESTDIR="${D}" \ + htmldir="/usr/share/doc/${PF}/html" \ + haddockifacedir="/usr/share/doc/${PF}" \ + || die "Make install failed" + + # for some reason it creates the doc dir even if it is configured + # to not generate docs, so lets remove the empty dirs in that case + # (and lets be cautious and only remove them if they're empty) + if ! use doc; then + rmdir "${D}/usr/share/doc/${PF}/html" + rmdir "${D}/usr/share/doc/${PF}" + rmdir "${D}/usr/share/doc" + rmdir "${D}/usr/share" + fi + + # arrange for the packages to be registered + if ghc-cabal; then + pkgext=package.conf + else + pkgext=pkg + fi + ghc-setup-pkg \ + "${D}/usr/$(get_libdir)/gtk2hs/glib.${pkgext}" \ + $(has_version '>=x11-libs/gtk+-2.8' && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/cairo.${pkgext}") \ + "${D}/usr/$(get_libdir)/gtk2hs/gtk.${pkgext}" \ + "${D}/usr/$(get_libdir)/gtk2hs/mogul.${pkgext}" \ + $(use glade || use gnome && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/glade.${pkgext}") \ + $(use gnome && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/gconf.${pkgext}" \ + "${D}/usr/$(get_libdir)/gtk2hs/sourceview.${pkgext}") \ + $(use mozilla && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/mozembed.${pkgext}") + ghc-install-pkg + + # build ghci .o files from .a files + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSglib.a" + if use cairo; then + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHScairo.a" + fi + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSgtk.a" + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSmogul.a" + if use glade || use gnome; then + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSglade.a" + fi + if use gnome; then + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSgconf.a" + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSsourceview.a" + fi + if use mozilla; then + ghc-makeghcilib "${D}/usr/$(get_libdir)/gtk2hs/libHSmozembed.a" + fi +} + |