/[gentoo-x86]/x11-wm/ion/ion-20020207.ebuild
Gentoo

Contents of /x11-wm/ion/ion-20020207.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Thu Jun 12 19:10:02 2003 UTC (17 years, 3 months ago) by msterret
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.9: +1 -0 lines
add Header

1 vapier 1.8 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 vapier 1.6 # Distributed under the terms of the GNU General Public License v2
3 msterret 1.10 # $Header: $
4 drobbins 1.1
5     S=${WORKDIR}/${P}
6     DESCRIPTION="A keyboard-based window manager"
7     SRC_URI="http://www.students.tut.fi/~tuomov/dl/${P}.tar.gz"
8     HOMEPAGE="http://www.students.tut.fi/~tuomov/ion/"
9     DEPEND="virtual/glibc"
10     RDEPEND="virtual/x11"
11 hanno 1.9 LICENSE="Clarified-Artistic"
12 aliz 1.2 SLOT="0"
13 manson 1.7 KEYWORDS="x86 sparc "
14 drobbins 1.1
15     src_compile() {
16     cd ${S}
17    
18     # Edit system.mk
19     cp system.mk system.mk.new
20     sed -e 's:PREFIX=/usr/local:PREFIX=/usr:' \
21     -e 's:ETCDIR=$(PREFIX)/etc:ETCDIR=/etc/X11:' \
22     -e 's:$(PREFIX)/man:$(PREFIX)/share/man:' \
23     -e 's:$(PREFIX)/doc:$(PREFIX)/share/doc:' \
24     -e 's:#HAS_SYSTEM_ASPRINTF=1:HAS_SYSTEM_ASPRINTF=1:' \
25     -e 's:#INSTALL=install -c:INSTALL=install -c:' \
26     -e 's:INSTALL=install *$:#INSTALL=install:' \
27     system.mk.new > system.mk
28    
29     cp Makefile Makefile.new
30     sed -e 's:$(DOCDIR)/ion:$(DOCDIR)/${P}:g' Makefile.new > Makefile
31    
32     make depend || die
33     emake || die
34     }
35    
36     src_install () {
37     make PREFIX=${D}/usr ETCDIR=${D}/etc/X11 install || die
38     }
39    
40     pkg_postinst () {
41     einfo "Configuration documentation can be found in these places:"
42     einfo "/usr/share/doc/${P}/config.txt"
43     einfo "http://www.students.tut.fi/~tuomov/ion/resources.html"
44     }

  ViewVC Help
Powered by ViewVC 1.1.20