summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/pekwm/pekwm-0.1.5.ebuild')
-rw-r--r--x11-wm/pekwm/pekwm-0.1.5.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-wm/pekwm/pekwm-0.1.5.ebuild b/x11-wm/pekwm/pekwm-0.1.5.ebuild
new file mode 100644
index 000000000000..5ca4808196e7
--- /dev/null
+++ b/x11-wm/pekwm/pekwm-0.1.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/pekwm-0.1.5.ebuild,v 1.1 2006/07/01 21:05:16 nelchael Exp $
+
+inherit eutils
+
+IUSE="truetype perl xinerama debug"
+
+DESCRIPTION="A small window mananger based on aewm++"
+HOMEPAGE="http://www.pekwm.org/"
+SRC_URI="http://pekwm.org/files/${PF}.tar.bz2
+ mirror://gentoo/${PN}-themes.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+DEPEND="|| ( (
+ xinerama? ( x11-libs/libXinerama )
+ x11-libs/libXpm
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ )
+ virtual/x11
+ )
+ truetype? ( virtual/xft )
+ perl? ( dev-libs/libpcre )
+ media-libs/imlib2"
+
+src_compile() {
+ if ! built_with_use media-libs/imlib2 X ; then
+ ewarn "you must emerge media-libs/imlib2 with X support to use pekwm"
+ ewarn "please USE=\"X\" emerge media-libs/imlib2 before emerging pekwm"
+ die "Cannot emerge without X USE flag on imlib2"
+ fi
+
+ econf \
+ `use_enable truetype xft` \
+ `use_enable perl pcre` \
+ `use_enable xinerama` \
+ `use_enable debug` \
+ --enable-menus\
+ --enable-harbour\
+ --enable-shape\
+ --enable-xrandr\
+ --enable-imlib2 || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog
+
+ mv ${WORKDIR}/themes/* ${D}/usr/share/${PN}/themes/
+} \ No newline at end of file