Files
gentoo-overlay/app-pda/ifuse/ifuse-1.0.0-r1.ebuild

32 lines
932 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
DESCRIPTION="Mount Apple iPhone/iPod Touch file systems for backup purposes"
HOMEPAGE="http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page"
SRC_URI="http://cloud.github.com/downloads/MattColyer/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=app-pda/libplist-1.1
>=app-pda/libimobiledevice-1.0.0
=dev-libs/glib-2*
sys-fs/fuse"
src_install() {
make DESTDIR="${D}" install || die
}
pkg_postinst() {
ewarn "Only use this filesystem driver to create backups of your data."
ewarn "The music database is hashed, and attempting to add files will "
ewarn "cause the iPod/iPhone to consider your database unauthorised."
ewarn "It will respond by wiping all media files, requiring a restore "
ewarn "through iTunes. You have been warned."
}