diff options
Diffstat (limited to 'app-emulation/winex/winex-20020807.ebuild')
-rw-r--r-- | app-emulation/winex/winex-20020807.ebuild | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/app-emulation/winex/winex-20020807.ebuild b/app-emulation/winex/winex-20020807.ebuild deleted file mode 100644 index 8bac0d07c923..000000000000 --- a/app-emulation/winex/winex-20020807.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/winex-20020807.ebuild,v 1.11 2003/04/01 18:06:58 phoenix Exp $ - -DESCRIPTION="distribution of Wine with enhanced DirectX for gaming" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${P}-fake_windows.tar.bz2" -HOMEPAGE="http://www.transgaming.com/" - -SLOT="0" -KEYWORDS="x86 -ppc" -LICENSE="Aladdin" -IUSE="cups opengl" - -DEPEND="virtual/x11 - sys-devel/gcc - sys-devel/flex - dev-util/yacc - opengl? ( virtual/opengl ) - >=sys-libs/ncurses-5.2 - cups? ( net-print/cups ) - >=media-libs/freetype-2.0.0 - dev-lang/tcl dev-lang/tk - !app-emulation/winex-transgaming" - -S=${WORKDIR}/wine - -src_compile() { - # Azarah's patches - #patch -p0 < ${FILESDIR}/${P}-opengl.patch || die "opengl-patch failed" - - local myconf - - use opengl && myconf="--enable-opengl" || myconf="--disable-opengl" - [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug" - - # use the default setting in ./configure over the /etc/make.conf setting - unset CFLAGS CXXFLAGS - - - ./configure --prefix=/usr/lib/winex \ - --sysconfdir=/etc/winex \ - --host=${CHOST} \ - --enable-curses \ - --with-x \ - ${myconf} || die "configure failed" - - # Fixes a winetest issue - cd ${S}/programs/winetest - cp Makefile 1 - sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile - - # This persuades wineshelllink that "winex" is a better loader :) - cd ${S}/tools - cp wineshelllink 1 - sed -e 's/\(WINE_LOADER=\)\(\${WINE_LOADER:-wine}\)/\1winex/' 1 > wineshelllink - - cd ${S} - make depend all || die "make depend all failed" - cd programs && emake || die "emake died" -} - -src_install() { - local WINEXMAKEOPTS="prefix=${D}/usr/lib/winex" - - # Installs winex to /usr/lib/winex - make ${WINEXMAKEOPTS} install || die "make install failed" - cd ${S}/programs - make ${WINEXMAKEOPTS} install || die "make install failed" - - # Creates /usr/lib/winex/.data with fake_windows in it - # This is needed for our new winex wrapper script - dodir /usr/lib/winex/.data - cp -R ${WORKDIR}/fake_windows ${D}/usr/lib/winex/.data - cp ${FILESDIR}/${P}-config ${D}/usr/lib/winex/.data/config - - # winedefault.reg doesnt exist anymore - cp ${WORKDIR}/wine/winedefault.reg ${D}/usr/lib/winex/.data/winedefault.reg - - # Install the wrapper script - dodir /usr/bin - cp ${FILESDIR}/${P}-winex ${D}/usr/bin/winex - cp ${FILESDIR}/${P}-regedit ${D}/usr/bin/regedit-winex - - # Take care of the other stuff - cd ${S} - dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README - - insinto /usr/lib/winex/.data/fake_windows/Windows - doins documentation/samples/system.ini - doins documentation/samples/generic.ppd - - # Remove the executable flag from those libraries. - cd ${D}/usr/lib/winex/bin - chmod a-x *.so - -} - -pkg_postinst() { - einfo "Use /usr/bin/winex to start winex." - einfo "This is a wrapper-script which will take care of everything" - einfo "else. If you have further questions, enhancements or patches" - einfo "send an email to phoenix@gentoo.org" -} |