blob: a8d0b9b4b7e4f3de30f80d4990452f5635cdcac3 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-themes/fvwm-themes-0.7.0.ebuild,v 1.16 2008/01/06 08:57:22 omp Exp $
inherit eutils
DESCRIPTION="A configuration framework for the fvwm window manager"
HOMEPAGE="http://fvwm-themes.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
IUSE="gnome"
DEPEND=">=x11-wm/fvwm-2.5.8
gnome? ( media-gfx/imagemagick )"
RDEPEND="x11-wm/fvwm"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-gentoo1.patch"
epatch "${FILESDIR}/${P}-posix-sort.patch"
}
src_compile() {
local myconf
use gnome && myconf="--enable-gnome-icons"
econf ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install () {
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
pkg_postinst() {
einfo
einfo "Configuring ${P}"
einfo
fvwm-themes-config --site --reset
fvwm-themes-menuapp --site --build-menus --remove-popup
use gnome && fvwm-themes-images --ft-install --gnome
}
|