/[gentoo-x86]/x11-wm/wm2/wm2-4.ebuild
Gentoo

Contents of /x11-wm/wm2/wm2-4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Aug 24 09:37:16 2014 UTC (4 years, 1 month ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/wm2/wm2-4.ebuild,v 1.9 2007/06/30 13:14:15 coldwind Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Small, unconfigurable window manager"
8 HOMEPAGE="http://www.all-day-breakfast.com/wm2/"
9 SRC_URI="http://www.all-day-breakfast.com/wm2/${P}.tar.gz"
10
11 RDEPEND="x11-libs/libXmu"
12 DEPEND="${RDEPEND}
13 x11-proto/xextproto"
14
15 SLOT="0"
16 LICENSE="freedist"
17 KEYWORDS="amd64 ppc x86"
18 IUSE=""
19
20 src_unpack() {
21 unpack ${A}
22
23 cd "${S}"
24 epatch "${FILESDIR}/${PF}-gentoo.patch"
25
26 sed 's/^#//' Config.h > wm2.conf
27 if [ -e "/etc/wm2.conf" ]; then
28 echo "#undef _CONFIG_H_" >> Config.h
29 awk '/^[^/]/{print "#" $0}' /etc/wm2.conf >> Config.h
30 fi
31 }
32
33 src_compile() {
34 emake CFLAGS="${CFLAGS}" || die "emake failed"
35 }
36
37 src_install() {
38 dobin wm2 || die
39 insinto /etc
40 doins wm2.conf || die
41 dodoc README || die
42 }
43
44 pkg_postinst() {
45 echo
46 elog "wm2 is unconfigurable after you have installed. If you want to"
47 elog "change settings of wm2, please have a look at /etc/wm2.conf"
48 elog "and rewrite it, then emerge wm2 again (wm2 ebuild uses settings"
49 elog "from that file automatically). If you think wm2 lacks some important"
50 elog "features that you want to use (such as background pixmaps),"
51 elog "consider using wmx, written by the same author."
52 echo
53 }

  ViewVC Help
Powered by ViewVC 1.1.20