/[gentoo-x86]/sys-fs/dmg2img/dmg2img-1.6.ebuild
Gentoo

Contents of /sys-fs/dmg2img/dmg2img-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 7 19:10:30 2009 UTC (5 years, 3 months ago) by dirtyepic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -2 lines
Move distfile to Gentoo mirrors.
(Portage version: 2.2_rc40/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/dmg2img/dmg2img-1.6.ebuild,v 1.1 2009/05/24 10:33:28 ssuominen Exp $
4
5 EAPI=2
6 inherit toolchain-funcs
7
8 DESCRIPTION="Converts Apple DMG files to standard HFS+ images"
9 HOMEPAGE="http://vu1tur.eu.org/tools"
10 #SRC_URI="http://vu1tur.eu.org/tools/download.pl?${P}.tar.gz"
11 SRC_URI="mirror://gentoo/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE=""
17
18 RDEPEND="dev-libs/openssl
19 app-arch/bzip2
20 sys-libs/zlib"
21 DEPEND="${RDEPEND}
22 sys-apps/sed"
23
24 src_prepare() {
25 sed -i -e 's:-s:$(LDFLAGS):g' Makefile || die "sed failed"
26 }
27
28 src_compile() {
29 tc-export CC
30 emake CFLAGS="${CFLAGS}" || die "emake failed"
31 }
32
33 src_install() {
34 dosbin dmg2img vfdecrypt || die "dosbin failed"
35 dodoc README
36 }

  ViewVC Help
Powered by ViewVC 1.1.20