summaryrefslogtreecommitdiffstats
path: root/sys-boot
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /sys-boot
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/usb-creator/Manifest2
-rw-r--r--sys-boot/usb-creator/usb-creator-0.2.26.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-boot/usb-creator/Manifest b/sys-boot/usb-creator/Manifest
new file mode 100644
index 0000000..9a2e3b3
--- /dev/null
+++ b/sys-boot/usb-creator/Manifest
@@ -0,0 +1,2 @@
+DIST usb-creator_0.2.26.tar.gz 477983 RMD160 4207927b63263dbd34581b45517d5dcb1ba195c2 SHA1 45358b32be6c755a8eb605bb94d48c0b34962425 SHA256 c470bbd8e71b888167fe487dceeea024d0d254ce1a76b772e85cdcc834979b05
+EBUILD usb-creator-0.2.26.ebuild 1319 RMD160 861aec7524bf7da942afd69f95c60c3b99e67d1a SHA1 bac0b09da880c531dd94f73f7b81aa8d56290bc0 SHA256 77cbb3fedfe13b8cc18699670a5b2ed68579027756a3e7aa6ac1750356314d46
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
+ }
+}