blob: 7ad7455a67e1b1e4e6e1f617bfb2da0d36755a21 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/wm-icons/wm-icons-0.4.0.ebuild,v 1.2 2010/02/24 14:18:04 ssuominen Exp $
DESCRIPTION="A Large Assortment of Beutiful Themed Icons, Created with FVWM in mind"
HOMEPAGE="http://wm-icons.sourceforge.net/"
SRC_URI="mirror://sourceforge/wm-icons/wm-icons-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND="sys-apps/gawk dev-lang/perl"
DEPEND="${RDEPEND} sys-devel/autoconf sys-devel/automake sys-apps/sed"
src_compile() {
econf --enable-all-sets --enable-icondir=/usr/share/icons/wm-icons || die "econf failed"
emake || die
}
src_install() {
make icondir="${D}/usr/share/icons/wm-icons" DESTDIR="${D}" install
einfo "Setting default aliases..."
"${D}"/usr/bin/wm-icons-config --force --user-dir="${D}/usr/share/icons/wm-icons" --defaults
dodoc AUTHORS ChangeLog NEWS README
}
pkg_postinst() {
einfo "Users can use the wm-icons-config utility to create aliases in their"
einfo "home directory, FVWM users can then set this in their ImagePath"
einfo
einfo "Sample configurations for fvwm1, fvwm2, fvwm95 and scwm are available in"
einfo "/usr/share/wm-icons"
einfo
}
|