jlec        15/05/23 06:41:12

  Modified:             ChangeLog
  Added:                dos2unix-7.2.2.ebuild
  Log:
  Version Bump
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 
E9402A79B03529A2!)

Revision  Changes    Path
1.160                app-text/dos2unix/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.160&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.160&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.159&r2=1.160

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- ChangeLog   24 Apr 2015 11:50:11 -0000      1.159
+++ ChangeLog   23 May 2015 06:41:12 -0000      1.160
@@ -1,6 +1,11 @@
 # ChangeLog for app-text/dos2unix
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.159 
2015/04/24 11:50:11 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.160 
2015/05/23 06:41:12 jlec Exp $
+
+*dos2unix-7.2.2 (23 May 2015)
+
+  23 May 2015; Justin Lecher <[email protected]> +dos2unix-7.2.2.ebuild:
+  Version Bump
 
   24 Apr 2015; Lars Wendler <[email protected]> dos2unix-6.0.6.ebuild:
   Stabilize for x86 (bug #547568).



1.1                  app-text/dos2unix/dos2unix-7.2.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-7.2.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-7.2.2.ebuild?rev=1.1&content-type=text/plain

Index: dos2unix-7.2.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-7.2.2.ebuild,v 
1.1 2015/05/23 06:41:12 jlec Exp $

EAPI=5

inherit eutils toolchain-funcs

DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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
        !app-text/unix2dos
        virtual/libintl"
DEPEND="
        ${RDEPEND}
        nls? ( sys-devel/gettext )
        test? ( virtual/perl-Test-Simple )
        dev-lang/perl"

src_prepare() {
        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 && 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
}




Reply via email to