Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43257 Details for
Bug 69270
eclass for Haskell GHC packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gtk2hs-0.9.6-r1.ebuild
gtk2hs-0.9.6-r1.ebuild (text/plain), 2.72 KB, created by
Duncan Coutts (RETIRED)
on 2004-11-03 18:13:06 UTC
(
hide
)
Description:
gtk2hs-0.9.6-r1.ebuild
Filename:
MIME Type:
Creator:
Duncan Coutts (RETIRED)
Created:
2004-11-03 18:13:06 UTC
Size:
2.72 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit base ghc-package > >DESCRIPTION="GTK+-2.x bindings for Haskell" >HOMEPAGE="http://gtk2hs.sourceforge.net/" >SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" > >KEYWORDS="~x86" > >IUSE="doc gnome" > >RDEPEND=">=virtual/ghc-5.04 > >=x11-libs/gtk+-2 > gnome? ( >=gnome-base/libglade-2 > >=x11-libs/gtksourceview-0.6 > >=gnome-base/gconf-2)" > >DEPEND="${RDEPEND}" > >src_compile() { > econf \ > --libdir=$(ghc-libdir) \ > --with-hcflags="-H180m" \ > `use_enable gnome gnome` \ > `use_enable gnome libglade` \ > || die "Configure failed" > > #fix for bug in 0.9.6 tarball, directory missing so don't compile that demo > sed -i 's/MAKE_APPS += demo\/filechooser//' ${S}/Makefile > #or work out how to build without demos > > # parallell build doesn't work, so specify -j1 > emake -j1 || die "Make failed" > > if use doc; then > make html || die "Make docs failed" > fi >} > >src_install() { > > make DESTDIR=${D} install-without-pkg || die "Make install failed" > if use doc; then > make DESTDIR=${D} install-html || die "Make docs failed" > fi > > # fix dynamic linking with pthread bug for glade & sourview > sed -i 's:"pthread",::' ${D}/$(ghc-libdir)/gtk2hs/sourceview/sourceview.conf > sed -i 's:"pthread",::' ${D}/$(ghc-libdir)/gtk2hs/glade/glade.conf > > # arrange for the packages to be registered > echo '[' > ${S}/$(ghc-localpkgconf) > cat ${D}/$(ghc-libdir)/gtk2hs/gtk2/gtk2.conf >> ${S}/$(ghc-localpkgconf) > echo ',' >> ${S}/$(ghc-localpkgconf) > cat ${D}/$(ghc-libdir)/gtk2hs/mogul/mogul.conf >> ${S}/$(ghc-localpkgconf) > if use gnome; then > echo ',' >> ${S}/$(ghc-localpkgconf) > cat ${D}/$(ghc-libdir)/gtk2hs/glade/glade.conf >> ${S}/$(ghc-localpkgconf) > echo ',' >> ${S}/$(ghc-localpkgconf) > cat ${D}/$(ghc-libdir)/gtk2hs/gconf/gconf.conf >> ${S}/$(ghc-localpkgconf) > echo ',' >> ${S}/$(ghc-localpkgconf) > cat ${D}/$(ghc-libdir)/gtk2hs/sourceview/sourceview.conf >> ${S}/$(ghc-localpkgconf) > fi > echo ']' >> ${S}/$(ghc-localpkgconf) > ghc-install-pkg > > # build ghci .o files from .a files > ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/gtk2/libgtk2hs.a > ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/mogul/libmogul.a > if use gnome; then > ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/sourceview/libsourceview.a > ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/glade/libglade2hs.a > ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/gconf/libgconf.a > fi > > # fix gconf hi file location install bug > mkdirhier ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/System/Gnome/GConf > mv ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/GConf.hi \ > ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/System/Gnome/ > mv ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/*.hi \ > ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/System/Gnome/GConf/ >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 69270
:
42775
|
42777
|
42778
|
42779
|
43232
|
43234
| 43257 |
44121
|
44122
|
44443