diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2003-01-11 01:42:39 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2003-01-11 01:42:39 +0000 |
commit | 99bb1d253028de4d477c0edef8140776a2568fb0 (patch) | |
tree | 703149ae29c8f44989b9b6576cbe4214797a416e /app-emulation/win4lin | |
parent | Updated the digest file AGAIN. (diff) | |
download | gentoo-2-99bb1d253028de4d477c0edef8140776a2568fb0.tar.gz gentoo-2-99bb1d253028de4d477c0edef8140776a2568fb0.tar.bz2 gentoo-2-99bb1d253028de4d477c0edef8140776a2568fb0.zip |
new version
next generation :)
Diffstat (limited to 'app-emulation/win4lin')
-rw-r--r-- | app-emulation/win4lin/ChangeLog | 12 | ||||
-rw-r--r-- | app-emulation/win4lin/files/digest-win4lin-4.0.11 | 1 | ||||
-rw-r--r-- | app-emulation/win4lin/files/digest-win4lin-4.0.12 | 1 | ||||
-rw-r--r-- | app-emulation/win4lin/files/registerme.sh | 10 | ||||
-rw-r--r-- | app-emulation/win4lin/win4lin-4.0.11.ebuild | 67 | ||||
-rw-r--r-- | app-emulation/win4lin/win4lin-4.0.12.ebuild | 79 |
6 files changed, 101 insertions, 69 deletions
diff --git a/app-emulation/win4lin/ChangeLog b/app-emulation/win4lin/ChangeLog index f848a2548c4d..b517c0a6f09f 100644 --- a/app-emulation/win4lin/ChangeLog +++ b/app-emulation/win4lin/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-emulation/win4lin # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/win4lin/ChangeLog,v 1.2 2002/12/16 10:44:09 yakmoose Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/win4lin/ChangeLog,v 1.3 2003/01/11 01:42:39 bass Exp $ + +*win4lin-4.0.12 (10 Jan 2002) + + 10 Jan 2002; J.Alberto Suárez L. <bass@gentoo.org> win4lin-4.0.12.ebuild: + The next-generation :) + -Added evaluation-license + -The rpm is auto-fetched + -A lot of info + -USE doc flag to install docs + ... *win4lin-4.0.11 (16 Dec 2002) diff --git a/app-emulation/win4lin/files/digest-win4lin-4.0.11 b/app-emulation/win4lin/files/digest-win4lin-4.0.11 deleted file mode 100644 index 0e35807eea6d..000000000000 --- a/app-emulation/win4lin/files/digest-win4lin-4.0.11 +++ /dev/null @@ -1 +0,0 @@ -MD5 03ddad048253b476c5e2997f3baf67a2 Win4Lin-5.3.11a-d.i386.rpm 4451874 diff --git a/app-emulation/win4lin/files/digest-win4lin-4.0.12 b/app-emulation/win4lin/files/digest-win4lin-4.0.12 new file mode 100644 index 000000000000..3a910806e790 --- /dev/null +++ b/app-emulation/win4lin/files/digest-win4lin-4.0.12 @@ -0,0 +1 @@ +MD5 8dadc48a50836fc2e712b359182f7274 Win4Lin-5.3.12b-d.i386.rpm 4458398 diff --git a/app-emulation/win4lin/files/registerme.sh b/app-emulation/win4lin/files/registerme.sh new file mode 100644 index 000000000000..d2a52d7953d5 --- /dev/null +++ b/app-emulation/win4lin/files/registerme.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +echo 'Your license evaluation code is:' +echo ' 1w4e053x-n0aaf8-7tw9-587j-h47j-d6' +echo +echo 'Remember you need do this like root.' +echo 'copy it and press a key' + +read +sh /opt/win4lin/bin/ask_license.sh diff --git a/app-emulation/win4lin/win4lin-4.0.11.ebuild b/app-emulation/win4lin/win4lin-4.0.11.ebuild deleted file mode 100644 index 020b6223dd7c..000000000000 --- a/app-emulation/win4lin/win4lin-4.0.11.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2002 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.11.ebuild,v 1.2 2002/12/16 10:44:09 yakmoose Exp $ - -IUSE="X gnome" - -MY_P=Win4Lin-5.3.11a-d.i386 -S=${WORKDIR} -DESCRIPTION="Win4Lin allows you run Windows applications somewhat natively -under linux." -HOMEPAGE="http://www.netraverse.com/" -At="Win4Lin-5.3.11a-d.i386.rpm" -SRC_URI="" - -SLOT="0" -LICENSE="NeTraverse" -KEYWORDS="" - -DEPEND="app-arch/rpm2targz" - -RESTRICT="nofetch" - - -# The rpm for this can be downloaded from www.netraverse.com after you -# register there. Please place Win4Lin-5.3.11a-d.i386.rpm into -# /usr/portage/distfiles after downloading, then emerge win4lin again - -src_unpack() { - #check for the dist file - if [ ! -f ${DISTDIR}/${At} ] ; then - die "Please download ${At} from ${HOMEPAGE} and place in /usr/portage/distfiles" - fi - rpm2targz ${DISTDIR}/${MY_P}.rpm - tar zxf ${WORKDIR}/${MY_P}.tar.gz -} - -src_compile() { - echo "nothing to compile; binary package." -} - -src_install() { - mv ${S}/opt ${D} - mv ${S}/etc ${D} -} - -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 - #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." - fi -}
\ No newline at end of file diff --git a/app-emulation/win4lin/win4lin-4.0.12.ebuild b/app-emulation/win4lin/win4lin-4.0.12.ebuild new file mode 100644 index 000000000000..2da7a74da4fe --- /dev/null +++ b/app-emulation/win4lin/win4lin-4.0.12.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2002 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.12.ebuild,v 1.1 2003/01/11 01:42:39 bass Exp $ + +IUSE="X gnome" + +MY_P=Win4Lin-5.3.12b-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 +} |