app-misc/birthday: Bump EAPI

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-12-25 13:07:27 +01:00
parent 0dfa9a21a1
commit cf577da071

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs
DESCRIPTION="Displays a list of events happening in the near future"
HOMEPAGE="http://sourceforge.net/projects/birthday/"
SRC_URI="mirror://sourceforge/birthday/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
src_prepare() {
# Don't strip, install in correct share dir and respect CFLAGS
sed \
-e "s:install -s:install:g" -e "s:#SHARE:SHARE:g" -e "s:-O2:${CFLAGS}:g" \
-i Makefile || die
sed \
-e 's:grep -v:grep --binary-files=text -v:g' \
-i runtest.sh || die
default
}
src_compile() {
emake CC=$(tc-getCC)
}