diff options
Diffstat (limited to 'sys-fs/dmg2img/dmg2img-1.6.4.ebuild')
-rw-r--r-- | sys-fs/dmg2img/dmg2img-1.6.4.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-fs/dmg2img/dmg2img-1.6.4.ebuild b/sys-fs/dmg2img/dmg2img-1.6.4.ebuild new file mode 100644 index 000000000000..5f9c703d031b --- /dev/null +++ b/sys-fs/dmg2img/dmg2img-1.6.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit toolchain-funcs + +DESCRIPTION="Converts Apple DMG files to standard HFS+ images" +HOMEPAGE="http://vu1tur.eu.org/tools" +SRC_URI="http://vu1tur.eu.org/tools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl + app-arch/bzip2 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-apps/sed" + +src_prepare() { + sed -i -e 's:-s:$(LDFLAGS):g' Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" +} + +src_install() { + dosbin dmg2img vfdecrypt + dodoc README + doman vfdecrypt.1 +} |