# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/xmobar-0.8.ebuild,v 1.1 2007/12/15 23:28:17 kolmodin Exp $ CABAL_FEATURES="bin" CABAL_MIN_VERSION=1.2 inherit haskell-cabal DESCRIPTION="A Minimalistic Text Based Status Bar" HOMEPAGE="http://gorgias.mine.nu/xmobar/" SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 -sparc ~x86" IUSE="" DEPEND=">=dev-lang/ghc-6.6 >=dev-haskell/x11-1.3.0 >=dev-haskell/mtl-1.0 >=dev-haskell/filepath-1.0" src_unpack() { unpack ${A} # Cannot use -fasm on arches without a native code gen! # Don't need -Wall. # Portage does striping, package must not do it themselves. sed -i -e 's/-O2 -fasm -Wall -optl-Wl,-s//' "${S}/xmobar.cabal" }