summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruda <ruda@Oktoberfest.(none)>2011-01-05 15:19:15 +0000
committerruda <ruda@Oktoberfest.(none)>2011-01-05 15:19:15 +0000
commita18b454cb01bd40b5b7a822aaa016dad8dc84690 (patch)
treecd1b1f0a720626675278ac74d506efa01a2bc234 /x11-misc/dzen/dzen-9999.ebuild
parentAdd libhx-3.4 (diff)
downloadeatnumber1-a18b454cb01bd40b5b7a822aaa016dad8dc84690.tar.gz
eatnumber1-a18b454cb01bd40b5b7a822aaa016dad8dc84690.tar.bz2
eatnumber1-a18b454cb01bd40b5b7a822aaa016dad8dc84690.zip
Live ebuilds for dzen and gajim; ebuild for wmname; package.mask fix for
portage
Diffstat (limited to 'x11-misc/dzen/dzen-9999.ebuild')
-rw-r--r--x11-misc/dzen/dzen-9999.ebuild47
1 files changed, 47 insertions, 0 deletions
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
+}