fpdb/packaging/fpdb-1.0_alpha1_p27.ebuild
steffen123 61d0857a4c git33 - added fields for CB/2B/3B to table design, table creation and tv. importer fills it with placeholder data
renamed ebuild from v0.01 alpha to v1.0 alpha as I won't be using normal version numbers before 1.0
2008-08-13 06:50:30 +01:00

38 lines
1010 B
Bash

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/fpdb/fpdb-1.0_alpha1_p27.ebuild,v 1.0 2008/08/13 05:45:00 jer Exp $
NEED_PYTHON=2.3
#inherit distutils
MY_P="fpdb-${PV}"
DESCRIPTION="A database program to track your online poker games"
HOMEPAGE="https://sourceforge.net/projects/fpdb/"
SRC_URI="mirror://sourceforge/fpdb/fpdb-alpha1-git27.tar.bz2"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#note: I would be very surprised if this doesnt work on other architectures, please send me your experiences
IUSE=""
RDEPEND="virtual/mysql
dev-python/mysql-python
>=x11-libs/gtk+-2.10
dev-python/pygtk"
DEPEND="${RDEPEND}"
src_install() {
DIRINST="${D}usr/share/games/fpdb/"
mkdir -p "${DIRINST}"
cp -R * "${DIRINST}" || die
DIRBIN="${D}usr/bin/games/"
mkdir -p "${DIRBIN}"
#echo "dirs"
#echo "${DIRINST}pyfpdb/fpdb.py"
#echo
ln -s "${DIRINST}pyfpdb/fpdb.py" "${DIRBIN}/fpdb.py" || die
}