diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-06-05 20:11:17 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-06-05 20:11:17 +0000 |
commit | 1124d99f0e993afeae52477dfe241e945b67634f (patch) | |
tree | 9a83da3d32698f78569ae68c17aab8338bb2d33d /sys-apps/gli/gli-0.6.6.ebuild | |
parent | Fixed ICU compilation bug (diff) | |
download | historical-1124d99f0e993afeae52477dfe241e945b67634f.tar.gz historical-1124d99f0e993afeae52477dfe241e945b67634f.tar.bz2 historical-1124d99f0e993afeae52477dfe241e945b67634f.zip |
Version bump to 0.6.6 for 2008.0, remove 0.6.2, and clean up quoting.
Package-Manager: portage-2.1.5.3
Diffstat (limited to 'sys-apps/gli/gli-0.6.6.ebuild')
-rw-r--r-- | sys-apps/gli/gli-0.6.6.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/gli/gli-0.6.6.ebuild b/sys-apps/gli/gli-0.6.6.ebuild new file mode 100644 index 000000000000..79e010ee96d3 --- /dev/null +++ b/sys-apps/gli/gli-0.6.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gli/gli-0.6.6.ebuild,v 1.1 2008/06/05 20:11:17 wolf31o2 Exp $ + +inherit python eutils + +DESCRIPTION="Gentoo Linux Installer" +HOMEPAGE="http://www.gentoo.org/proj/en/releng/installer/" +#SRC_URI="http://dev.gentoo.org/~agaffney/gli/snapshots/installer-${PV}.tar.bz2" +SRC_URI="mirror://gentoo/installer-${PV}.tar.bz2 + http://dev.gentoo.org/~agaffney/${PN}/releases/installer-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86" +IUSE="gtk" + +RDEPEND=">=dev-python/pyparted-1.7.0 + gtk? ( >=dev-python/pygtk-2.4.0 ) + =dev-python/pythondialog-2.7* + sys-fs/e2fsprogs + sys-fs/reiserfsprogs + sys-fs/dosfstools + sys-fs/xfsprogs + amd64? ( sys-fs/ntfsprogs ) + ppc? ( + sys-fs/ntfsprogs + sys-fs/hfsutils + sys-fs/hfsplusutils ) + x86? ( + sys-fs/ntfsprogs + sys-fs/hfsutils + sys-fs/hfsplusutils )" + +S=${WORKDIR}/installer-${PV} + +dir=/opt/installer +Ddir=${D}/${dir} + +src_install() { + exeinto "${dir}"/bin + use !gtk && rm -rf "${S}"/src/fe/gtk + # We need to make sure we get our scripts + doexe "${S}"/bin/installer "${S}"/bin/installer-dialog || \ + die "copying installer scripts" + cp -a "${S}"/src/* "${Ddir}" + chown -R root:0 "${Ddir}" + dodir /usr/bin + if use gtk; then + doexe "${S}"/bin/installer-gtk || die "copying gtk script" + make_wrapper installer-gtk ./installer-gtk "${dir}"/bin + fi + make_wrapper installer-dialog ./installer-dialog "${dir}"/bin + make_wrapper installer ./installer "${dir}"/bin + doicon "${FILESDIR}"/gli.png "${FILESDIR}"/gli-dialog.png + domenu "${FILESDIR}"/installer-gtk.desktop \ + "${FILESDIR}"/installer-dialog.desktop \ + "${FILESDIR}"/installer-faq.desktop +} + +pkg_postinst() { + python_mod_optimize "${dir}" + einfo "The Gentoo Linux Installer is currently only usable for two situations." + einfo "The first is for building an install profile." + einfo "The second is for installing using official Gentoo release media." + echo + ewarn "If you are trying to use the installer for anything else, please" + ewarn "file patches with any bugs." + echo +} |