diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-12-17 16:55:27 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-12-17 16:55:43 +0100 |
commit | 2ceb3ccbf63bde9785112fd5f436752d40cafd2c (patch) | |
tree | 71f44c2ffd576e4febb3141537eb899205ec5eae /app-text/dos2unix | |
parent | media-libs/harfbuzz: Removed old. (diff) | |
download | gentoo-2ceb3ccbf63bde9785112fd5f436752d40cafd2c.tar.gz gentoo-2ceb3ccbf63bde9785112fd5f436752d40cafd2c.tar.bz2 gentoo-2ceb3ccbf63bde9785112fd5f436752d40cafd2c.zip |
app-text/dos2unix: clean up old.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-text/dos2unix')
-rw-r--r-- | app-text/dos2unix/Manifest | 1 | ||||
-rw-r--r-- | app-text/dos2unix/dos2unix-7.3.4.ebuild | 82 |
2 files changed, 0 insertions, 83 deletions
diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest index 5e63aacf1104..67741b66764a 100644 --- a/app-text/dos2unix/Manifest +++ b/app-text/dos2unix/Manifest @@ -1,3 +1,2 @@ -DIST dos2unix-7.3.4.tar.gz 640991 BLAKE2B 143ba62d859105147a0095732dd83f76cfe6a0e2ebcdd6753d8ea3ce47dcbb8372c0006da8be4c4e4efc2af93ba365a4a8d8bc8d451cc562944cec0251e523fd SHA512 29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710 DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294 SHA512 beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58 DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686 SHA512 41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9 diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild b/app-text/dos2unix/dos2unix-7.3.4.ebuild deleted file mode 100644 index 3b4310036b01..000000000000 --- a/app-text/dos2unix/dos2unix-7.3.4.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW" - -inherit l10n toolchain-funcs - -DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa" -HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/" -SRC_URI=" - http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz - mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" -IUSE="debug nls test" - -RDEPEND=" - !app-text/hd2u - virtual/libintl" - -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) - test? ( virtual/perl-Test-Simple ) - dev-lang/perl" - -handle_locales() { - # Make sure locale list is kept up-to-date. - local detected sorted - detected=$(echo $(printf '%s\n' */*.po | sed -e 's:.*/::' -e 's:.po$::' | sort -u)) - sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u)) - if [[ ${sorted} != "${detected}" ]] ; then - eerror "The ebuild needs to be kept in sync." - eerror "PLOCALES: ${sorted}" - eerror "po*/*.po: ${detected}" - die "sync PLOCALES" - fi - - # Deal with selective install of locales. - rm_loc() { rm po*/$1.po || die; } - l10n_for_each_disabled_locale_do rm_loc -} - -src_prepare() { - default - - handle_locales - - sed \ - -e '/^LDFLAGS/s|=|+=|' \ - -e '/CFLAGS_OS \+=/d' \ - -e '/LDFLAGS_EXTRA \+=/d' \ - -e "/^CFLAGS/s|-O2|${CFLAGS}|" \ - -i Makefile || die - - if use debug ; then - sed -e "/^DEBUG/s:0:1:" \ - -e "/EXTRA_CFLAGS +=/s:-g::" \ - -i Makefile || die - fi - - tc-export CC -} - -lintl() { - # same logic as from virtual/libintl - use !elibc_glibc && use !elibc_uclibc && use !elibc_musl && echo "-lintl" -} - -src_compile() { - emake prefix="${EPREFIX}/usr" \ - $(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=") -} - -src_install() { - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \ - $(usex nls "" "ENABLE_NLS=") install -} |