summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-05-24 21:05:59 +0200
committerPacho Ramos <pacho@gentoo.org>2016-05-24 21:12:45 +0200
commit50022f0002ce7b5325a20dff69e50d6647f95ce2 (patch)
tree924881efbec13275370fdb7eca087ca9d12055fb /dev-haskell/wxc
parentdev-embedded/usbprog: Drop old version relying on obsolete wxGTK (diff)
downloadgentoo-50022f0002ce7b5325a20dff69e50d6647f95ce2.tar.gz
gentoo-50022f0002ce7b5325a20dff69e50d6647f95ce2.tar.bz2
gentoo-50022f0002ce7b5325a20dff69e50d6647f95ce2.zip
dev-haskell/wxc: Drop old version relying on obsolete wxGTK
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-haskell/wxc')
-rw-r--r--dev-haskell/wxc/Manifest1
-rw-r--r--dev-haskell/wxc/wxc-0.90.1.1.ebuild65
2 files changed, 0 insertions, 66 deletions
diff --git a/dev-haskell/wxc/Manifest b/dev-haskell/wxc/Manifest
index 0492182abb57..228b4c2f0043 100644
--- a/dev-haskell/wxc/Manifest
+++ b/dev-haskell/wxc/Manifest
@@ -1,2 +1 @@
-DIST wxc-0.90.1.1.tar.gz 183992 SHA256 ec71deebafdb69e50742acf1a4307ab2706f3282d24022a8a603eb3d35bc6e33 SHA512 917af9eaa8e07b0ce827da9c350811d514ebd0627f410b28836340adec21c119283a62d1533475eb3ba2e960dad2e26067ad6e8e5820b2e69ede86e5f4404548 WHIRLPOOL 58ff612f74d0dada055030eb907559c056ab8fb40b2d31647f33bd900c17c75c0abdeba36d59aeb3127e28020d4d21af4c9d60eb3d3c29f36677ffccbbed97b8
DIST wxc-0.92.2.0.tar.gz 203065 SHA256 e0da20807bafb22d51a0922211da11eb428b2a6661cb53bc98f6e17be9775191 SHA512 e6fba1be94978603965b8902fad9326772b5483d5df621d5245f1fae97d85bcb1aff4565f1e8396de23c854050151c5e009e34a1ea29c3037057599ac0412bcd WHIRLPOOL bbc05a53a02ee9a5dea7c3eb9745bab82c5290fb0a81e46eb359da27869538b5397a65149cf1ef8c551235584b77c055356422edb9f75bf3fbd4022efa90b042
diff --git a/dev-haskell/wxc/wxc-0.90.1.1.ebuild b/dev-haskell/wxc/wxc-0.90.1.1.ebuild
deleted file mode 100644
index 21af12eb3ae3..000000000000
--- a/dev-haskell/wxc/wxc-0.90.1.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.6.9999
-
-WX_GTK_VER="2.9"
-
-CABAL_FEATURES="lib profile"
-inherit 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=""
-
-RDEPEND=">=dev-haskell/wxdirect-0.90.1.0:${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.6.0.3
-"
-
-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
-}