diff options
author | 2011-01-05 15:19:15 +0000 | |
---|---|---|
committer | 2011-01-05 15:19:15 +0000 | |
commit | a18b454cb01bd40b5b7a822aaa016dad8dc84690 (patch) | |
tree | cd1b1f0a720626675278ac74d506efa01a2bc234 /x11-misc | |
parent | Add libhx-3.4 (diff) | |
download | eatnumber1-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')
-rw-r--r-- | x11-misc/dzen/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/dzen/dzen-9999.ebuild | 47 |
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 +} |