summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Harmon <russ@eatnumber1.com>2011-01-08 12:25:54 -0500
committerRussell Harmon <russ@eatnumber1.com>2011-01-08 12:25:54 -0500
commitc5ed15a916826a80c191262d45d5ba8fd038d393 (patch)
tree80ce3ec2d04648d8d6096d399fb27d4c8f291179 /x11-misc
parentdwarf-fortress-0.28.181.40d.ebuild is actually dwarf-fortress-0.28.181.40d-r1... (diff)
parenttkpath ebuild; idea-community version bump; idea-ultimate ebuild (diff)
downloadeatnumber1-c5ed15a916826a80c191262d45d5ba8fd038d393.tar.gz
eatnumber1-c5ed15a916826a80c191262d45d5ba8fd038d393.tar.bz2
eatnumber1-c5ed15a916826a80c191262d45d5ba8fd038d393.zip
Merge branch 'master' of github.com:eatnumber1/eatnumber1-overlay
Conflicts: layman-local.cfg sys-libs/libhx/libhx-3.4.ebuild
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/dzen/Manifest1
-rw-r--r--x11-misc/dzen/dzen-9999.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/x11-misc/dzen/Manifest b/x11-misc/dzen/Manifest
new file mode 100644
index 0000000..1e9e449
--- /dev/null
+++ b/x11-misc/dzen/Manifest
@@ -0,0 +1 @@
+EBUILD dzen-9999.ebuild 1165 RMD160 769a0521c48018f92dbe14942b0aed30f0c4b113 SHA1 3a1c5a5b4542957fdf997fee7d02efac83bbbe80 SHA256 cb24a2ba848759e759a306b8a816c887f21d5ff9a70ad7768011e92e888a3e68
diff --git a/x11-misc/dzen/dzen-9999.ebuild b/x11-misc/dzen/dzen-9999.ebuild
new file mode 100644
index 0000000..b128253
--- /dev/null
+++ b/x11-misc/dzen/dzen-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit subversion toolchain-funcs
+
+DESCRIPTION="a general purpose messaging, notification and menuing program for
+X11."
+HOMEPAGE="http://gotmor.googlepages.com/dzen"
+SRC_URI=""
+ESVN_REPO_URI="http://dzen.googlecode.com/svn/trunk/"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS=""
+IUSE="minimal xinerama xpm"
+
+DEPEND="x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )
+ xpm? ( x11-libs/libXpm )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ subversion_src_unpack
+
+ cd "${S}"
+ sed -e "s/\/usr\/local/\/usr/g" -e "s/-Os/${CFLAGS}/g" \
+ -e "s/CC =.*/CC = $(tc-getCC | sed -e 's/\//\\\//g')/g" \
+ -e "s/LD =.*/LD = $(tc-getCC | sed -e 's/\//\\\//g')/g" \
+ -i config.mk || die "sed failed"
+
+ if use xinerama ; then
+ sed -e "/^LIBS/s/$/\ -lXinerama/" \
+ -e "/^CFLAGS/s/$/\ -DDZEN_XINERAMA/" \
+ -i config.mk || die "sed failed"
+ fi
+ if use xpm ; then
+ sed -e "/^LIBS/s/$/\ -lXpm/" \
+ -e "/^CFLAGS/s/$/\ -DDZEN_XPM/" \
+ -i config.mk || die "sed failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README TODO
+}