From 76dfef0cec9170000357d2f354e412daf48941fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Dec 2017 01:11:30 +0000 Subject: gentoo resync : 30.12.2017 --- app-forensics/galleta/galleta-20040505_p1.ebuild | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'app-forensics/galleta/galleta-20040505_p1.ebuild') diff --git a/app-forensics/galleta/galleta-20040505_p1.ebuild b/app-forensics/galleta/galleta-20040505_p1.ebuild index 890ad5ab0d30..9192b6bdb8cb 100644 --- a/app-forensics/galleta/galleta-20040505_p1.ebuild +++ b/app-forensics/galleta/galleta-20040505_p1.ebuild @@ -1,25 +1,32 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + inherit toolchain-funcs MY_P=${PN}_${PV/_p/_} + DESCRIPTION="IE Cookie Parser" HOMEPAGE="https://sourceforge.net/projects/odessa/" SRC_URI="mirror://sourceforge/odessa/${MY_P}.tar.gz" + LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" -S=${WORKDIR}/${MY_P} +S=${WORKDIR}/${MY_P}/src +PATCHES=( + "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch +) -src_compile() { - cd src - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o galleta galleta.c -lm -lc || die "failed to compile" +src_configure() { + tc-export CC } src_install() { - dodoc Readme.txt - dobin src/galleta + dobin ${PN} + dodoc ../{CHANGES,Readme.txt} } -- cgit v1.2.3