summaryrefslogtreecommitdiff
blob: b614ab7aedfad693eb1d147b4d357b0fdc995469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/pekwm-0.1.2.ebuild,v 1.5 2003/09/04 07:41:11 msterret Exp $

IUSE=""

S="${WORKDIR}/${P}"

DESCRIPTION="A small window mananger based on aewm++"
HOMEPAGE="http://pekwm.pekdon.net/"
SRC_URI="http://pekwm.pekdon.net/files/source/${P}.tar.gz
	mirror://gentoo/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="dev-util/pkgconfig
	virtual/x11"

src_compile() {
	if pkg-config xft
	    then
		myconf="${myconf} --disable-xft"
	    else
		myconf="${myconf} --enable-xft"
	fi

	econf \
	    --enable-xinerama \
	    --enable-harbour \
	    ${myconf} || die
	emake || die
}

src_install() {
	exeinto /usr/bin
	doexe src/pekwm

	insinto /usr/share/${PN}/themes/default
	doins data/themes/default/*.xpm data/themes/default/theme

	insinto /usr/share/${PN}
	cd ${S}/data
	doins autoprops config keys menu mouse start

	cd ${S}
	doman docs/pekwm.1
	dodoc docs/pekwmdocs.txt AUTHORS ChangeLog* INSTALL LISCENCE README* NEWS ROADMAP TODO
}