summaryrefslogtreecommitdiff
blob: 109c31db7aec11c28205938a21a01cd51d52c092 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-1.0.1.ebuild,v 1.6 2004/03/14 11:00:43 mr_bones_ Exp $

DESCRIPTION="A very nice and powerful theme for FVWM"
HOMEPAGE="http://fvwm-crystal.linuxpl.org/"
SRC_URI="ftp://ftp.linuxpl.org/fvwm-crystal/tarballs/${P}.tar.gz"

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

RDEPEND=">=x11-wm/fvwm-2.5.9
	xmms? ( media-plugins/xmms-shell
		>=media-sound/xmms-1.2.7
		media-plugins/xmms-find )
	x11-misc/xdaliclock
	x11-terms/aterm
	x11-misc/habak
	media-sound/aumix"

# http://fvwm-crystal.linuxpl.org/info.en.html also reccomends:
# app-misc/rox
# media-gfx/scrot
# x11-misc/xlockmore

DEPEND="${RDEPEND} sys-devel/automake"

src_compile() {
	# cp: cannot stat `INSTALL.CVS': No such file or directory
	# cp: cannot stat `INSTALL-PL.CVS': No such file or directory
	# make: *** [install] Error 1
	ebegin "Updating Makefile..."
	automake || die
	eend $?

	# doesnt make any difference with this version but if xmms
	# support controls any features in future, we shouldnt leave
	# it up to configure to enable it.
	#
	#if ! use xmms; then
	#	sed -i 's#test -z "$XMMS_SHELL";#false;#g' ${S}/configure.in
	#	sed -i 's#test -z "$XMMS";#false;#g' ${S}/configure.in
	#	autoconf || die
	#fi

	econf || die
	emake || die
}

src_install() {
	einstall || die
}

pkg_postinst() {
	einfo ""
	einfo "users should run fvwm-crystal.install to configure fvwm-crystal"
	einfo ""
	einfo ""
	einfo "fvwm-crystal authors also reccomend the following applications:"
	einfo ""
	einfo "	app-misc/rox"
	einfo "	media-gfx/scrot"
	einfo "	x11-misc/xlockmore"
	einfo ""
}