# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_P="GPixPod" DESCRIPTION="PyGTK application to organize photos and photo albums on \ your Apple iPod." SRC_URI="mirror://sourceforge/${PN}/${MY_P}-${PVR}.tar.gz" HOMEPAGE="http://gpixpod.sf.net" LICENSE="GPL-2" KEYWORDS="~alpha ~x86" SLOT="0" IUSE="" S=${WORKDIR}/${MY_P}-${PVR} DEPEND=">=x11-libs/gtk+-2 >=dev-python/pygtk-2.8.4" src_unpack() { unpack ${A} } src_install() { dodir /usr/local/${MY_P} insinto /usr/local/${MY_P} doins -r ${S}/* /usr/local/${MY_P} fperms 755 /usr/local/${MY_P}/gpixpod.py fperms 755 /usr/local/${MY_P}/setup.py fperms 755 /usr/local/${MY_P}/mh.py } pkg_postinst() { echo einfo "Installed to /usr/local/${MY_P} Remember to set your PATH correctly." einfo " " einfo "i.e. PATH=${PATH}:/usr/local/${MY_P} gpixpod.py" echo sleep 5 }