ebuild: added LINGUAS_IT support, corrected the header, and reverted space indents to tabs

This commit is contained in:
Erki Ferenc 2010-08-27 01:28:29 +02:00
parent 1e998f4780
commit fb8b749677
3 changed files with 79 additions and 68 deletions

View File

@ -1,6 +1,7 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# created by Steffen Schaumburg, steffen@schaumburger.info and Erki Ferenc, erkiferenc@gmail.com
# $Header: $
EAPI="2"
inherit eutils

View File

@ -1,6 +1,7 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# created by Steffen Schaumburg, steffen@schaumburger.info and Erki Ferenc, erkiferenc@gmail.com
# $Header: $
EAPI="2"
inherit eutils
@ -17,7 +18,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
#note: this should work on other architectures too, please send me your experiences
IUSE="graph mysql postgres sqlite linguas_hu"
IUSE="graph mysql postgres sqlite linguas_hu linguas_it"
RDEPEND="
mysql? ( virtual/mysql
dev-python/mysql-python )
@ -42,6 +43,10 @@ src_install() {
dosym "${GAMES_DATADIR}"/${PN}/pyfpdb/locale/hu/LC_MESSAGES/${PN}.mo /usr/share/locale/hu/LC_MESSAGES/${PN}.mo
fi
if use linguas_it; then
dosym "${GAMES_DATADIR}"/${PN}/pyfpdb/locale/it/LC_MESSAGES/${PN}.mo /usr/share/locale/it/LC_MESSAGES/${PN}.mo
fi
doins readme.txt
exeinto "${GAMES_DATADIR}"/${PN}

View File

@ -1,6 +1,7 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# created by Steffen Schaumburg, steffen@schaumburger.info and Erki Ferenc, erkiferenc@gmail.com
# $Header: $
EAPI="2"
inherit eutils
@ -18,7 +19,7 @@ SLOT="0"
KEYWORDS=""
#note: this should work on other architectures too, please send me your experiences
IUSE="graph mysql postgres sqlite linguas_hu"
IUSE="graph mysql postgres sqlite linguas_hu linguas_it"
RDEPEND="
mysql? ( virtual/mysql
dev-python/mysql-python )
@ -47,6 +48,10 @@ src_install() {
dosym "${GAMES_DATADIR}"/${PN}/pyfpdb/locale/hu/LC_MESSAGES/${PN}.mo /usr/share/locale/hu/LC_MESSAGES/${PN}.mo
fi
if use linguas_it; then
dosym "${GAMES_DATADIR}"/${PN}/pyfpdb/locale/it/LC_MESSAGES/${PN}.mo /usr/share/locale/it/LC_MESSAGES/${PN}.mo
fi
doins readme.txt
exeinto "${GAMES_DATADIR}"/${PN}