summaryrefslogtreecommitdiff
blob: bb06fb0edd166c68b613785a618ccab81b21923d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator zproduct

MY_PN="FriendlyAlbum"
MY_PV="$(replace_all_version_separators '-' )"
# upstream has been notified about the tarbz filename as of jan.4/07
MY_P="${PN}-${MY_PV}"

DESCRIPTION="Plone 2.1 photo album product developed to be user friendly and efficient"
HOMEPAGE="http://plone.org/products/friendlyalbum/"
SRC_URI="http://plone.org/products/friendlyalbum/releases/${MY_PV}/${MY_P}-tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=net-zope/plone-2.1"
RDEPEND="${DEPEND}
		dev-python/simplejson"

ZPROD_LIST="${MY_PN}"

src_unpack() {
	#cd ${WORKDIR}
	tar xzf "${DISTDIR}/${A}"  || die "unpacking failed"
	mv "${MY_PN}-${PV}" "${MY_PN}" # rename to remove version tag
}