summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2008-01-01 16:30:03 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2008-01-01 16:30:03 +0000
commit762a1a3019456b03d5ef9c2e5f564f4c5a3af618 (patch)
tree8e319e779e33f42b8d72ed404a1cfb175906f918 /x11-misc/xmobar
parentx86 stable, bug #203855 (diff)
downloadgentoo-2-762a1a3019456b03d5ef9c2e5f564f4c5a3af618.tar.gz
gentoo-2-762a1a3019456b03d5ef9c2e5f564f4c5a3af618.tar.bz2
gentoo-2-762a1a3019456b03d5ef9c2e5f564f4c5a3af618.zip
Add missing deps to x11-misc/xmobar-0.8, and install sample configuration
(Portage version: 2.1.3.19)
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r--x11-misc/xmobar/ChangeLog9
-rw-r--r--x11-misc/xmobar/files/digest-xmobar-0.8-r13
-rw-r--r--x11-misc/xmobar/xmobar-0.8-r1.ebuild38
3 files changed, 48 insertions, 2 deletions
diff --git a/x11-misc/xmobar/ChangeLog b/x11-misc/xmobar/ChangeLog
index 1df53037070c..24eebaa91bf0 100644
--- a/x11-misc/xmobar/ChangeLog
+++ b/x11-misc/xmobar/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/xmobar
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v 1.1 2007/12/15 23:28:17 kolmodin Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v 1.2 2008/01/01 16:30:03 kolmodin Exp $
+
+*xmobar-0.8-r1 (01 Jan 2008)
+
+ 01 Jan 2008; Lennart Kolmodin <kolmodin@gentoo.org> +xmobar-0.8-r1.ebuild:
+ Add missing deps and install README and sample configuration
*xmobar-0.8 (16 Dec 2007)
diff --git a/x11-misc/xmobar/files/digest-xmobar-0.8-r1 b/x11-misc/xmobar/files/digest-xmobar-0.8-r1
new file mode 100644
index 000000000000..229e0c97102f
--- /dev/null
+++ b/x11-misc/xmobar/files/digest-xmobar-0.8-r1
@@ -0,0 +1,3 @@
+MD5 4f2af9423b3d1de4bfefaf2925734aa1 xmobar-0.8.tar.gz 29869
+RMD160 1eae11c3ff37d3d0d583b991b14f2622daab275d xmobar-0.8.tar.gz 29869
+SHA256 88aa5bc0715e2592282e5897bc7938f16580804f56757bc71ed3762bf86c9415 xmobar-0.8.tar.gz 29869
diff --git a/x11-misc/xmobar/xmobar-0.8-r1.ebuild b/x11-misc/xmobar/xmobar-0.8-r1.ebuild
new file mode 100644
index 000000000000..9003aef886ab
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.8-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/xmobar-0.8-r1.ebuild,v 1.1 2008/01/01 16:30:03 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
+ dev-haskell/parsec
+ dev-haskell/stm"
+
+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"
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc xmobar.config-sample README
+}