diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-06-20 18:59:09 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-06-20 18:59:09 +0000 |
commit | c0cde193164b8b477e38dd93d9582d02242e1cb9 (patch) | |
tree | 8776794e744fecd075f7b714d1e3398b3bd88a69 /x11-misc/xcb | |
parent | new ebuild for this excellent X utility (diff) | |
download | historical-c0cde193164b8b477e38dd93d9582d02242e1cb9.tar.gz historical-c0cde193164b8b477e38dd93d9582d02242e1cb9.tar.bz2 historical-c0cde193164b8b477e38dd93d9582d02242e1cb9.zip |
new ebuild for this excellent X utility
Diffstat (limited to 'x11-misc/xcb')
-rw-r--r-- | x11-misc/xcb/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/xcb/files/digest-xcb-2.4 | 1 | ||||
-rw-r--r-- | x11-misc/xcb/xcb-2.4.ebuild | 44 |
3 files changed, 47 insertions, 1 deletions
diff --git a/x11-misc/xcb/Manifest b/x11-misc/xcb/Manifest index bb59c97dfc97..3f34f0975ef5 100644 --- a/x11-misc/xcb/Manifest +++ b/x11-misc/xcb/Manifest @@ -1,2 +1,3 @@ -MD5 21a32f81ee96bceeca52c97f90f32c69 xcb-2.4.ebuild 2532 +MD5 48ca3998f086c9a7ced3a7ab9d43b6e4 xcb-2.4.ebuild 1040 +MD5 65b06e702546771d3d2b8bd1f669f3c8 ChangeLog 341 MD5 297f269db8ac3e4c928e489e95c0d07e files/digest-xcb-2.4 58 diff --git a/x11-misc/xcb/files/digest-xcb-2.4 b/x11-misc/xcb/files/digest-xcb-2.4 new file mode 100644 index 000000000000..8fecef967529 --- /dev/null +++ b/x11-misc/xcb/files/digest-xcb-2.4 @@ -0,0 +1 @@ +MD5 bc791ccefd9260394a8f30733adc42e4 xcb-2.4.tar.gz 19830 diff --git a/x11-misc/xcb/xcb-2.4.ebuild b/x11-misc/xcb/xcb-2.4.ebuild new file mode 100644 index 000000000000..1ed66bec9670 --- /dev/null +++ b/x11-misc/xcb/xcb-2.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild,v 1.1 2003/06/20 18:59:03 agriffis Exp $ + +DESCRIPTION="Marc Lehmann's improved X Cut Buffers" +HOMEPAGE="http://www.goof.com/pcg/marc/xcb.html" +SRC_URI="http://www.goof.com/pcg/marc/data/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha" +IUSE="motif" + +DEPEND="virtual/x11" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's/^CFLAGS.=/CFLAGS +=/' Makefile.std || die 'sed failed' + mv xcb.man xcb.1 || die 'mv failed' +} + +src_compile() { + local gui libs + + if use motif; then + gui="-DMOTIF" + libs="-L/usr/X11R6/lib -lXm -lXt -lX11" + else + gui="-DATHENA" + libs="-L/usr/X11R6/lib -lXaw -lXt -lXext -lX11" + fi + + emake -f Makefile.std xcb Xcb.ad \ + CFLAGS="${CFLAGS} ${gui} -I/usr/X11R6/include" \ + GUI="${gui}" \ + LIBS="${libs}" \ + || die 'emake failed' +} + +src_install() { + dobin xcb + doman xcb.1 + insinto /usr/X11R6/lib/X11/app-defaults ; newins Xcb.ad Xcb +} |