From 204f29480f16ec53e01743fb4b8a4e6cfe98f76e Mon Sep 17 00:00:00 2001 From: Romain Perier Date: Tue, 18 Aug 2009 20:36:36 +0000 Subject: app-crypt/yapet: Add ~amd64 into KEYWORDS. Fix QA messages from unpack() due to try to uncompress plain-text files. Switch to eapi-0 because src_prepare() and src_configure() added more code than with just src_unpack().Add ${patchset} in local scope svn path=/sunrise/; revision=9049 --- app-crypt/yapet/yapet-0.4-r1.ebuild | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'app-crypt/yapet/yapet-0.4-r1.ebuild') diff --git a/app-crypt/yapet/yapet-0.4-r1.ebuild b/app-crypt/yapet/yapet-0.4-r1.ebuild index d8b2f412f..677c947de 100644 --- a/app-crypt/yapet/yapet-0.4-r1.ebuild +++ b/app-crypt/yapet/yapet-0.4-r1.ebuild @@ -2,11 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=2 - AT_NOELIBTOOLIZE=yes -inherit base eutils autotools +inherit eutils autotools DESCRIPTION="A curses (text) based password encryption tool" HOMEPAGE="http://www.guengel.ch/myapps/yapet/" @@ -18,7 +16,7 @@ SRC_URI="${URI_PREFIX}${P}.tar.bz2 LICENSE="GPL-3" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~x86 ~amd64" IUSE="nls" RDEPEND="nls? ( virtual/libintl ) @@ -26,18 +24,21 @@ RDEPEND="nls? ( virtual/libintl ) >=dev-libs/openssl-0.9.7" DEPEND="${RDEPEND}" -PATCHES=( - "${DISTDIR}/yapet_csv2yapet-${PV}.diff" - "${DISTDIR}/yapet_cfgfile-${PV}.diff" - "${DISTDIR}/yapet_vikeys-${PV}.diff" -) +src_unpack() { + local patchset=( + "${DISTDIR}/yapet_csv2yapet-${PV}.diff" + "${DISTDIR}/yapet_cfgfile-${PV}.diff" + "${DISTDIR}/yapet_vikeys-${PV}.diff" + ) -src_prepare() { - base_src_prepare - eautoreconf -} + unpack "${P}.tar.bz2" + cd "${S}" -src_configure() { + for x in ${patchset[@]}; do + epatch ${x} + done + + eautoreconf econf --enable-terminal-title \ --enable-csv2yapet \ --disable-source-doc \ -- cgit v1.2.3-65-gdbad