diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2003-03-02 14:41:42 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2003-03-02 14:41:42 +0000 |
commit | 87dc447f0de88417dcbaafac6298ac4e7c72ce19 (patch) | |
tree | 545ceaef657f281ab605bb5b734b9fb3f8ab58bc /app-emulation/win4lin | |
parent | license change (diff) | |
download | historical-87dc447f0de88417dcbaafac6298ac4e7c72ce19.tar.gz historical-87dc447f0de88417dcbaafac6298ac4e7c72ce19.tar.bz2 historical-87dc447f0de88417dcbaafac6298ac4e7c72ce19.zip |
New Version
Diffstat (limited to 'app-emulation/win4lin')
-rw-r--r-- | app-emulation/win4lin/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/win4lin/files/digest-win4lin-4.0.16 | 2 | ||||
-rw-r--r-- | app-emulation/win4lin/win4lin-4.0.16.ebuild | 79 |
3 files changed, 87 insertions, 1 deletions
diff --git a/app-emulation/win4lin/ChangeLog b/app-emulation/win4lin/ChangeLog index ec017dc7f9be..eaa0c0cdd005 100644 --- a/app-emulation/win4lin/ChangeLog +++ b/app-emulation/win4lin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/win4lin # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/win4lin/ChangeLog,v 1.5 2003/02/28 17:35:53 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/win4lin/ChangeLog,v 1.6 2003/03/02 14:41:42 bass Exp $ + +*win4lin-4.0.16 (02 Mar 2003) + + 02 Mar 2003; J.Alberto Suárez L. <bass@gentoo.org> win4lin-4.0.16.ebuild: + New version *win4lin-4.0.12 (10 Jan 2002) diff --git a/app-emulation/win4lin/files/digest-win4lin-4.0.16 b/app-emulation/win4lin/files/digest-win4lin-4.0.16 new file mode 100644 index 000000000000..990fb0a3919f --- /dev/null +++ b/app-emulation/win4lin/files/digest-win4lin-4.0.16 @@ -0,0 +1,2 @@ +MD5 2ab339bc9c560f4d3f6ed373c616ab6f Win4Lin-5.3.16a-d.i386.rpm 4472967 +MD5 baf7aab436cca4cfcf159ffc41999b1f Win4Lin-4.0.0-manual.pdf 1786558 diff --git a/app-emulation/win4lin/win4lin-4.0.16.ebuild b/app-emulation/win4lin/win4lin-4.0.16.ebuild new file mode 100644 index 000000000000..2a2cedfcf8ce --- /dev/null +++ b/app-emulation/win4lin/win4lin-4.0.16.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/win4lin/win4lin-4.0.16.ebuild,v 1.1 2003/03/02 14:41:42 bass Exp $ + +IUSE="doc" + +MY_P=Win4Lin-5.3.16a-d.i386 + +S=${WORKDIR} +DESCRIPTION="Win4Lin allows you run Windows applications somewhat natively +under linux." +HOMEPAGE="http://www.netraverse.com/" +SRC_URI="mirror://gentoo/${MY_P}.rpm + doc? ( https://www.netraverse.com/support/docs/Win4Lin-4.0.0-manual.pdf )" + +SLOT="0" +LICENSE="NeTraverse" +KEYWORDS="x86" + +DEPEND="app-arch/rpm2targz + sys-kernel/win4lin-sources" + +src_unpack() { + rpm2targz ${DISTDIR}/${MY_P}.rpm + tar zxf ${WORKDIR}/${MY_P}.tar.gz +} + +src_compile() { + einfo "nothing to compile; binary package." +} + +src_install() { + mv ${S}/opt ${D} + mv ${S}/etc ${D} + cp ${FILESDIR}/registerme.sh ${D}/opt/win4lin/ + + if [ -n "`use doc`" ] + then + dodoc ${DISTDIR}/Win4Lin-4.0.0-manual.pdf + fi +} + + +pkg_postinst() { + /opt/win4lin/postinst_rpm.sh + einfo "If this is a new Win4Lin Install you will need to run the following command" + einfo "ebuild /var/db/pkg/app-emulation/${PF}/${PF}.ebuild config" + einfo "to install the windows setup files. You will need your Windows cdrom in the " + einfo "drive in order to complete this step." +} + + +pkg_prerm() { + /opt/win4lin/remove_rpm.sh +} + +pkg_config() { + loadwindowsCD cddevice /dev/cdrom + echo "LICENSE_CODE=1w4e053x-n0aaf8-7tw9-587j-h47j-d6" > /var/win4lin/install/license.lic + ln -s /etc/rc.d/init.d/Win4Lin /etc/init.d/Win4Lin + #put debugging stuff here + if [ ${?} -eq "0" ]; then + einfo "You can now run the command \"installwindows\" from an xterm " + einfo "as a non-root user to install a personal copy of Windows that Win4Lin " + einfo "will use for that user." + einfo + einfo "Win4Lin is a commercial product, you now are using a evaluation-license" + einfo "for 15 days evaluation. If you want a extra 15 days of evaluation you" + einfo 'must run "sh /opt/win4lin/registerme.sh"' + einfo + einfo 'You can help Gentoo Linux and obatin a full license at a discont offer' + einfo 'for gentoo users in http://www.netraverse.com/gentoo.htm' + einfo 'Netraverse donate to Gentoo Linux a percent of each purchase.' + einfo 'Thanks Netaverse.' + einfo + einfo 'Remember, you must do "/etc/init.d/Win4Lin start" before start w4l' + einfo 'Also you can add it to default boot "rc-update add Win4Lin default"' + fi +} |