diff options
Diffstat (limited to 'x11-wm/icewm/icewm-1.2.0_pre3.ebuild')
-rw-r--r-- | x11-wm/icewm/icewm-1.2.0_pre3.ebuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/x11-wm/icewm/icewm-1.2.0_pre3.ebuild b/x11-wm/icewm/icewm-1.2.0_pre3.ebuild deleted file mode 100644 index 74ebe4757222..000000000000 --- a/x11-wm/icewm/icewm-1.2.0_pre3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# /space/gentoo/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.0-r1.ebuild,v 1.1 2002/05/26 21:17:43 mkennedy Exp - -MY_P=${P/_/} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Ice Window Manager" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -HOMEPAGE="www.icewm.org" - -DEPEND="virtual/x11 - imlib? ( >=media-libs/imlib-1.9.10-r1 ) - nls? ( >=sys-devel/gettext-0.10.40 ) - truetype? ( >=media-libs/freetype-2.0.9 )" - -src_unpack(){ - unpack ${A} - - cd ${S} - - patch -p1< ${FILESDIR}/${P}-gcc31-gentoo.patch || die - - # icewm's doc dir layout is un-gentoo-like. To fix it, we have - # "make install" skip the docs install, and do it ourselves. That also - # means we have to adjust the Makefile so that it can find the help files - # when you choose the 'help' item out of its menu. - cp Makefile Makefile.orig - sed 's:icewm-$(VERSION)/::' \ - Makefile.orig > Makefile -} - -src_compile(){ - use nls \ - && myconf="${myconf} --enable-nls --enable-i18n" \ - || myconf="${myconf} --disable-nls --disable-i18n" - - use imlib \ - && myconf="${myconf} --with-imlib" \ - || myconf="${myconf} --without-imlib" - - use truetype \ - && myconf="${myconf} --enable-gradients" \ - || myconf="${myconf} --disable-xfreetype" - - # until the new sexy use style arch code is implemented... - if [ ${ARCH} != "x86" ] - then - myconf="${myconf} --disable-x86-asm" - else - myconf="${myconf} --enable-x86-asm" - fi - - econf \ - --with-libdir=/usr/lib/icewm \ - --with-cfgdir=/etc/icewm \ - --with-docdir=/usr/share/doc/${PF}/html \ - ${myconf} || die "configure failed" - - emake || die "emake failed" -} - -src_install(){ - make \ - prefix=${D}/usr \ - LIBDIR=${D}/usr/lib/icewm \ - CFGDIR=${D}/etc/icewm \ - DOCDIR=${S}/dummy \ - LOCDIR=${S}/usr/share/locale \ - install || die "make install failed" - - dodoc AUTHORS BUGS CHANGES COPYING FAQ PLATFORMS README* TODO VERSION - dohtml -a html,sgml doc/* - - echo "#!/bin/bash\n/usr/bin/icewm" > icewm - exeinto /etc/X11/Sessions - doexe icewm -} |