diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
commit | 76dfef0cec9170000357d2f354e412daf48941fc (patch) | |
tree | 56647120c0ee20ab3494475c86722034cd194b02 /dev-util/rats/rats-2.4.ebuild | |
parent | ccf84bcd604130256d1377cd58f0a634ae6ee20f (diff) |
gentoo resync : 30.12.2017
Diffstat (limited to 'dev-util/rats/rats-2.4.ebuild')
-rw-r--r-- | dev-util/rats/rats-2.4.ebuild | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/dev-util/rats/rats-2.4.ebuild b/dev-util/rats/rats-2.4.ebuild index 1c49b7c4df49..0a41658a9907 100644 --- a/dev-util/rats/rats-2.4.ebuild +++ b/dev-util/rats/rats-2.4.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=3 +EAPI=6 + inherit eutils DESCRIPTION="RATS - Rough Auditing Tool for Security" @@ -13,23 +14,25 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="" -DEPEND="dev-libs/expat" +RDEPEND="dev-libs/expat:=" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-2.4-fix-build-system.patch ) src_prepare() { - edos2unix $(find "${S}" -name '*.[chl]' -o -name '*.in' -o -name '*.am') - #epatch "${FILESDIR}"/${PN}-2.1-add-getopt-trailing-null.patch - #epatch "${FILESDIR}"/${PN}-2.1-fix-null-pointers.patch + default + + local f + while IFS="" read -d $'\0' -r f; do + einfo "Converting ${f} from CRLF to LF" + edos2unix "${f}" + done < <(find \( -name '*.[chl]' -o -name '*.in' -o -name '*.am' \) -print0) } src_configure() { econf --datadir="${EPREFIX}/usr/share/${PN}/" } -src_install () { - einstall SHAREDIR="${ED}/usr/share/${PN}" MANDIR="${ED}/usr/share/man" - dodoc README README.win32 -} - pkg_postinst() { ewarn "Please be careful when using this program with it's force language" ewarn "option, '--language <LANG>' it may take huge amounts of memory when" |