summaryrefslogtreecommitdiffstats
path: root/sys-boot/usb-creator/usb-creator-0.2.26.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/usb-creator/usb-creator-0.2.26.ebuild')
-rw-r--r--sys-boot/usb-creator/usb-creator-0.2.26.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-boot/usb-creator/usb-creator-0.2.26.ebuild b/sys-boot/usb-creator/usb-creator-0.2.26.ebuild
new file mode 100644
index 0000000..c0f99c3
--- /dev/null
+++ b/sys-boot/usb-creator/usb-creator-0.2.26.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_DEPEND="2"
+RESTRICT_PYTHON_ABIS="3.*"
+inherit distutils
+
+DESCRIPTION="create a startup disk using a CD or disc image"
+HOMEPAGE="http://launchpad.net/usb-creator"
+SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk kde"
+
+DEPEND="sys-devel/gettext
+ dev-python/python-distutils-extra"
+RDEPEND="${DEPEND}
+ gtk? ( dev-python/pygtk )
+ kde? ( dev-python/PyQt4 )"
+
+S="${WORKDIR}/${PN}.trunk"
+
+src_install() {
+ distutils_src_install
+ ! use kde && find "${D}" -name '*kde*' -exec rm -rf '{}' \;
+ ! use gtk && find "${D}" -name '*gtk*' -exec rm -rf '{}' \;
+ use gtk && {
+ insinto /usr/share/icons/hicolor/16x16/apps
+ newins "${S}"/debian/Debian/usb-creator-gtk-16x16.xpm usb-creator-gtk.xpm
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins "${S}"/debian/Debian/usb-creator-gtk-32x32.xpm usb-creator-gtk.xpm
+ }
+ use kde && {
+ insinto /usr/share/icons/hicolor/16x16/apps
+ newins "${S}"/debian/Debian/usb-creator-kde-16x16.xpm usb-creator-kde.xpm
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins "${S}"/debian/Debian/usb-creator-kde-32x32.xpm usb-creator-kde.xpm
+ }
+}