ebuild: added LINGUAS_IT support, corrected the header, and reverted space indents to tabs
This commit is contained in:
parent
1e998f4780
commit
fb8b749677
|
@ -1,6 +1,7 @@
|
||||||
# Copyright 1999-2010 Gentoo Foundation
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# 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"
|
EAPI="2"
|
||||||
|
|
||||||
inherit eutils
|
inherit eutils
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Copyright 1999-2010 Gentoo Foundation
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# 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"
|
EAPI="2"
|
||||||
|
|
||||||
inherit eutils
|
inherit eutils
|
||||||
|
@ -17,7 +18,7 @@ SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
#note: this should work on other architectures too, please send me your experiences
|
#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="
|
RDEPEND="
|
||||||
mysql? ( virtual/mysql
|
mysql? ( virtual/mysql
|
||||||
dev-python/mysql-python )
|
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
|
dosym "${GAMES_DATADIR}"/${PN}/pyfpdb/locale/hu/LC_MESSAGES/${PN}.mo /usr/share/locale/hu/LC_MESSAGES/${PN}.mo
|
||||||
fi
|
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
|
doins readme.txt
|
||||||
|
|
||||||
exeinto "${GAMES_DATADIR}"/${PN}
|
exeinto "${GAMES_DATADIR}"/${PN}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Copyright 1999-2010 Gentoo Foundation
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# 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"
|
EAPI="2"
|
||||||
|
|
||||||
inherit eutils
|
inherit eutils
|
||||||
|
@ -18,7 +19,7 @@ SLOT="0"
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
#note: this should work on other architectures too, please send me your experiences
|
#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="
|
RDEPEND="
|
||||||
mysql? ( virtual/mysql
|
mysql? ( virtual/mysql
|
||||||
dev-python/mysql-python )
|
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
|
dosym "${GAMES_DATADIR}"/${PN}/pyfpdb/locale/hu/LC_MESSAGES/${PN}.mo /usr/share/locale/hu/LC_MESSAGES/${PN}.mo
|
||||||
fi
|
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
|
doins readme.txt
|
||||||
|
|
||||||
exeinto "${GAMES_DATADIR}"/${PN}
|
exeinto "${GAMES_DATADIR}"/${PN}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user