diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-11-18 13:20:34 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-11-18 13:20:34 +0000 |
commit | 522ecc9436d9826c940556f55fb1ba19e902fe26 (patch) | |
tree | 91ea0610cc267e99502f420174f05afed597f174 /net-dialup/pppconfig | |
parent | Migrated to generation 2 and fixed javadoc installation. Fixes bug #93765. (diff) | |
download | gentoo-2-522ecc9436d9826c940556f55fb1ba19e902fe26.tar.gz gentoo-2-522ecc9436d9826c940556f55fb1ba19e902fe26.tar.bz2 gentoo-2-522ecc9436d9826c940556f55fb1ba19e902fe26.zip |
Version bump.
(Portage version: 2.1.1-r1)
Diffstat (limited to 'net-dialup/pppconfig')
-rw-r--r-- | net-dialup/pppconfig/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/pppconfig/files/digest-pppconfig-2.3.15 | 3 | ||||
-rw-r--r-- | net-dialup/pppconfig/pppconfig-2.3.15.ebuild | 56 |
3 files changed, 65 insertions, 1 deletions
diff --git a/net-dialup/pppconfig/ChangeLog b/net-dialup/pppconfig/ChangeLog index e4a1c48e59f4..ab62dade04b1 100644 --- a/net-dialup/pppconfig/ChangeLog +++ b/net-dialup/pppconfig/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/pppconfig # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppconfig/ChangeLog,v 1.19 2006/09/23 11:14:09 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppconfig/ChangeLog,v 1.20 2006/11/18 13:20:34 mrness Exp $ + +*pppconfig-2.3.15 (18 Nov 2006) + + 18 Nov 2006; Alin Nastac <mrness@gentoo.org> +pppconfig-2.3.15.ebuild: + Version bump. *pppconfig-2.3.14 (23 Sep 2006) diff --git a/net-dialup/pppconfig/files/digest-pppconfig-2.3.15 b/net-dialup/pppconfig/files/digest-pppconfig-2.3.15 new file mode 100644 index 000000000000..5e85c06915f4 --- /dev/null +++ b/net-dialup/pppconfig/files/digest-pppconfig-2.3.15 @@ -0,0 +1,3 @@ +MD5 2913ccd2114426fa87a8f1c6904590df pppconfig_2.3.15.tar.gz 380240 +RMD160 214e7b875cdb206656474a258d5501a9e00b4680 pppconfig_2.3.15.tar.gz 380240 +SHA256 efdc46bc97d2bccd1dccc7c38ce0bff938bac234d3e4b81ba14b80157ece0a61 pppconfig_2.3.15.tar.gz 380240 diff --git a/net-dialup/pppconfig/pppconfig-2.3.15.ebuild b/net-dialup/pppconfig/pppconfig-2.3.15.ebuild new file mode 100644 index 000000000000..b94bac112c08 --- /dev/null +++ b/net-dialup/pppconfig/pppconfig-2.3.15.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppconfig/pppconfig-2.3.15.ebuild,v 1.1 2006/11/18 13:20:34 mrness Exp $ + +DESCRIPTION="A text menu based utility for configuring ppp." +SRC_URI="http://http.us.debian.org/debian/pool/main/p/pppconfig/${PN}_${PV}.tar.gz" +HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/pppconfig/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +RDEPEND="net-dialup/ppp + dev-util/dialog" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" ca cs da de el es eu fi fr gl he id it ja ko lt nb nl nn pt_BR pt ro ru sk sv tl tr vi zh_CN zh_TW" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +src_install () { + dodir /etc/chatscripts /etc/ppp/resolv + dosbin 0dns-down 0dns-up dns-clean + newsbin pppconfig pppconfig.real + dosbin "${FILESDIR}/pppconfig" + doman pppconfig.8 + dodoc debian/{copyright,changelog} + + if use nls; then + cd "${S}/po" + local MY_LINGUAS="" lang + + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if use linguas_${lang} ; then + MY_LINGUAS="${MY_LINGUAS} ${lang}" + fi + done + if [[ -z "${MY_LINGUAS}" ]] ; then + #If no language is selected, install 'em all + MY_LINGUAS="${MY_AVAILABLE_LINGUAS}" + fi + + einfo "Locale messages will be installed for following languages:" + einfo " ${MY_LINGUAS}" + + for lang in ${MY_LINGUAS}; do + msgfmt -o ${lang}.mo ${lang}.po && \ + insinto /usr/share/locale/${lang}/LC_MESSAGES && \ + newins ${lang}.mo pppconfig.mo || \ + die "failed to install locale messages for ${lang} language" + done + fi +} |