diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2005-08-31 10:15:22 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2005-08-31 10:15:22 +0000 |
commit | f93f16f92a4001ab8271a97f4c2a98c11565ac6c (patch) | |
tree | bee10becb44ab07b408ae4e406b99f3c35e8145d | |
parent | New version 1.8.1 (diff) | |
download | gentoo-2-f93f16f92a4001ab8271a97f4c2a98c11565ac6c.tar.gz gentoo-2-f93f16f92a4001ab8271a97f4c2a98c11565ac6c.tar.bz2 gentoo-2-f93f16f92a4001ab8271a97f4c2a98c11565ac6c.zip |
Added new version.
(Portage version: 2.0.51.22-r2)
-rw-r--r-- | dev-haskell/gtk2hs/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/Manifest | 14 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.9 | 1 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/gtk2hs-0.9.9.ebuild | 90 |
4 files changed, 100 insertions, 12 deletions
diff --git a/dev-haskell/gtk2hs/ChangeLog b/dev-haskell/gtk2hs/ChangeLog index 0ad42e679fff..8679e7fdeed1 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.14 2005/08/31 10:08:00 dcoutts Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.15 2005/08/31 10:15:22 dcoutts Exp $ + +*gtk2hs-0.9.9 (31 Aug 2005) + + 31 Aug 2005; <duncan@gentoo.org> +gtk2hs-0.9.9.ebuild: + Added new version. 31 Aug 2005; <duncan@gentoo.org> gtk2hs-0.9.7.ebuild, gtk2hs-0.9.8.ebuild: Make gtk2hs-0.9.7 and gtk2hs-0.9.8 use only haddock-0.6 since they will not diff --git a/dev-haskell/gtk2hs/Manifest b/dev-haskell/gtk2hs/Manifest index 9c443bf2e5bb..f74139c6fdc4 100644 --- a/dev-haskell/gtk2hs/Manifest +++ b/dev-haskell/gtk2hs/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 8573dcaa0d24b65acc986d6ea19008b3 gtk2hs-0.9.8.ebuild 2691 MD5 7e30fe1183168a85eb624db45d97908c gtk2hs-0.9.7.ebuild 2835 -MD5 694d8a31d9c4f1655144cb8fe71de65c ChangeLog 1898 +MD5 e808c2d2cfae636d1b6450a0e3ace132 ChangeLog 2006 MD5 5cf11c08544b065d0144e11273f0000d metadata.xml 223 MD5 785d6c4be9c0d72fcc6f890a83cf601d gtk2hs-0.9.6-r1.ebuild 2698 +MD5 b502da3ef2a78fafa84718d702c4a05e gtk2hs-0.9.9.ebuild 2698 MD5 690f4192d427c43531d990e34ff0ad0b files/gtk2hs-0.9.7-ghc64.patch.gz 6986 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) - -iD8DBQFDFYICkyZuKN4EQ6YRAvS6AJ45NbN5+hgG/pq7rArLRp6zJCMjJwCeKhn9 -wX5ZvBvWUAum0CufYqrvaZ0= -=gzP2 ------END PGP SIGNATURE----- diff --git a/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.9 b/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.9 new file mode 100644 index 000000000000..fa238bbca644 --- /dev/null +++ b/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.9 @@ -0,0 +1 @@ +MD5 3276545190248d40c683cd42f51a1b6e gtk2hs-0.9.9.tar.gz 765222 diff --git a/dev-haskell/gtk2hs/gtk2hs-0.9.9.ebuild b/dev-haskell/gtk2hs/gtk2hs-0.9.9.ebuild new file mode 100644 index 000000000000..8c2e87f1495b --- /dev/null +++ b/dev-haskell/gtk2hs/gtk2hs-0.9.9.ebuild @@ -0,0 +1,90 @@ +# 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.9.ebuild,v 1.1 2005/08/31 10:15:22 dcoutts Exp $ + +inherit base ghc-package multilib + +DESCRIPTION="GTK+-2.x bindings for Haskell" +HOMEPAGE="http://haskell.org/gtk2hs/" +SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" + +KEYWORDS="-amd64 ~x86 ~ppc" +#enable amd64 when ghc-6.4.1 is out +#enable sparc when CFLAGS/-mcpu ebuild bug is fixed + +IUSE="doc gnome mozilla" + +DEPEND=">=virtual/ghc-5.04 + >=x11-libs/gtk+-2 + gnome? ( >=gnome-base/libglade-2 + >=x11-libs/gtksourceview-0.6 + >=gnome-base/gconf-2 ) + mozilla? ( >=www-client/mozilla-1.4 ) + doc? ( >=dev-haskell/haddock-0.7 )" + +src_compile() { + econf \ + --enable-packager-mode \ + `use_enable gnome libglade` \ + `use_enable gnome gconf` \ + `use_enable gnome sourceview` \ + `use_enable mozilla mozilla` \ + `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}" \ + "${D}/usr/$(get_libdir)/gtk2hs/gtk.${pkgext}" \ + "${D}/usr/$(get_libdir)/gtk2hs/mogul.${pkgext}" \ + $(useq gnome && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/glade.${pkgext}" \ + "${D}/usr/$(get_libdir)/gtk2hs/gconf.${pkgext}" \ + "${D}/usr/$(get_libdir)/gtk2hs/sourceview.${pkgext}") \ + $(useq 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 + ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSgtk.a + ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSmogul.a + if use gnome; then + ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSglade.a + 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 +} + |