/[gentoo-x86]/sys-boot/unetbootin/unetbootin-575.ebuild
Gentoo

Contents of /sys-boot/unetbootin/unetbootin-575.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon May 28 14:16:34 2012 UTC (11 months, 3 weeks ago) by johu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #417977

(Portage version: 2.2.0_alpha108/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/unetbootin-575.ebuild,v 1.2 2012/05/28 13:47:30 ago Exp $
4
5 EAPI="4"
6
7 inherit qt4-r2
8
9 DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS
10 distributions."
11 HOMEPAGE="http://unetbootin.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz"
13
14 SLOT="0"
15 LICENSE="GPL-2"
16 KEYWORDS="amd64 x86"
17 IUSE=""
18
19 UNETBOOTIN_LINGUAS="
20 am ar ast be bg bn ca cs da de el eo es et eu fi fo fr gl he hr hu id it ja lt
21 lv ml ms nan nb nl nn pl pt pt_BR ro ru sk sl sr sv sw tr uk ur vi zh_CN zh_TW
22 "
23
24 for lingua in ${UNETBOOTIN_LINGUAS}; do
25 IUSE="${IUSE} linguas_${lingua}"
26 done
27
28 S="${WORKDIR}"
29
30 DEPEND="x11-libs/qt-gui"
31 RDEPEND="${DEPEND}
32 sys-fs/mtools
33 sys-boot/syslinux
34 app-arch/p7zip"
35
36 src_configure() {
37 lupdate ${PN}.pro || die
38 lrelease ${PN}.pro || die
39 eqmake4 ${PN}.pro || die
40 }
41
42 src_install() {
43 dobin ${PN}
44
45 insinto /usr/share/applications
46 doins ${PN}.desktop
47
48 for file in ${PN}*.png; do
49 size="${file/${PN}_}"
50 size="${size/.png}x${size/.png}"
51 insinto /usr/share/icons/hicolor/${size}/apps
52 newins ${file} ${PN}.png
53 done
54
55 local lingua
56 for lingua in ${UNETBOOTIN_LINGUAS}; do
57 if use linguas_${lingua}; then
58 insinto /usr/share/${PN}
59 doins ${PN}_${lingua}.qm
60 fi
61 done
62 }

  ViewVC Help
Powered by ViewVC 1.1.20