* [gentoo-commits] gentoo-x86 commit in dev-haskell/wxc: metadata.xml wxc-0.90.0.4.ebuild ChangeLog
@ 2012-12-27 2:21 Mark Wright (gienah)
0 siblings, 0 replies; only message in thread
From: Mark Wright (gienah) @ 2012-12-27 2:21 UTC (permalink / raw
To: gentoo-commits
gienah 12/12/27 02:21:09
Added: metadata.xml wxc-0.90.0.4.ebuild ChangeLog
Log:
Add wxc
(Portage version: 2.1.11.38/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 618E971F)
Revision Changes Path
1.1 dev-haskell/wxc/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
wxHaskell is a portable and native GUI library for Haskell. It is
built on top of wxWidgets, a comprehensive C++ library that is
portable across all major GUI platforms, including GTK, Windows,
X11, and MacOS X. This version works with wxWidgets 2.9 only.
Distributed under the WXWINDOWS LIBRARY LICENSE. Please see
LICENSE file, but note that this is essentially LGPL with an
exception allowing binary distribution of proprietary software.
This is the same license as wxWidgets itself uses.
</longdescription>
</pkgmetadata>
1.1 dev-haskell/wxc/wxc-0.90.0.4.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/wxc-0.90.0.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/wxc-0.90.0.4.ebuild?rev=1.1&content-type=text/plain
Index: wxc-0.90.0.4.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxc/wxc-0.90.0.4.ebuild,v 1.1 2012/12/27 02:21:09 gienah Exp $
EAPI=5
# ebuild generated by hackport 0.3.9999
WX_GTK_VER="2.9"
CABAL_FEATURES="lib profile"
inherit base haskell-cabal multilib versionator wxwidgets
DESCRIPTION="wxHaskell C++ wrapper"
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="wxWinLL-3.1"
SLOT="${WX_GTK_VER}/${PV}"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="opengl"
RDEPEND=">=dev-haskell/wxdirect-0.90:${WX_GTK_VER}=[profile?]
x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl?]
>=dev-lang/ghc-6.10.4:="
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
PATCHES=("${FILESDIR}/${PN}-0.90.0.4-wxGTK-2.9.4.1.patch")
src_prepare() {
base_src_prepare
sed -e "s@\"wx-config\"@\"${WX_CONFIG}\"@g" \
-i "${S}/Setup.hs" || die "Could not specify wx-config in Setup.hs"
}
src_configure() {
local cgcc=()
for i in ${CXXFLAGS}
do
cgcc+=( --gcc-option="${i}" )
done
# Trying to specify the LDFLAGS in --ld-option does not work, as ld does
# not understand ld options prefixed with -Wl,
# The linker that is used to link the libwxc.so shared library is hard coded
# in Setup.hs. So the --with-ld would not change the linker used when
# linking libwxc.so. --with-ld="gcc" does not help, as then cabal passes
# ld options like -x to gcc which then returns a non-zero exit status, then
# cabal ignores all the --ld-option parameters.
# So I place all the LDFLAGS in --gcc-option parameters. They are ignored
# when building .o files.
local cld=()
for i in ${LDFLAGS}
do
cld+=( --gcc-option="${i}" )
done
cabal_src_configure ${cgcc[*]} ${cld[*]} --verbose=3
}
src_install() {
cabal_src_install
dolib.so dist/build/lib${PN}.so.${PV}
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_version_component_range 1-2)
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version)
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
}
1.1 dev-haskell/wxc/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for dev-haskell/wxc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxc/ChangeLog,v 1.1 2012/12/27 02:21:09 gienah Exp $
*wxc-0.90.0.4 (27 Dec 2012)
27 Dec 2012; Mark Wright <gienah@gentoo.org>
+files/wxc-0.90.0.4-wxGTK-2.9.4.1.patch, +metadata.xml, +wxc-0.90.0.4.ebuild:
Add wxc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-27 2:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 2:21 [gentoo-commits] gentoo-x86 commit in dev-haskell/wxc: metadata.xml wxc-0.90.0.4.ebuild ChangeLog Mark Wright (gienah)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox