# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-forensics/galleta/galleta-20040505_p1.ebuild,v 1.6 2009/12/30 11:44:38 patrick Exp $ inherit toolchain-funcs MY_P=${PN}_${PV/_p/_} DESCRIPTION="IE Cookie Parser" HOMEPAGE="http://sourceforge.net/projects/odessa/" SRC_URI="mirror://sourceforge/odessa/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" S=${WORKDIR}/${MY_P} src_compile() { cd src $(tc-getCC) ${CFLAGS} -o galleta galleta.c -lm -lc || die "failed to compile" } src_install() { dodoc Readme.txt dobin src/galleta }