--- easychem-0.6.ebuild.orig 2009-02-23 21:32:53.000000000 +0200 +++ easychem-0.6.ebuild 2009-02-23 21:25:29.000000000 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/easychem-0.6.ebuild,v 1.9 2008/04/21 06:43:42 mr_bones_ Exp $ +inherit eutils + DESCRIPTION="Chemical structure drawing program - focused on presentation." HOMEPAGE="http://easychem.sourceforge.net/" SRC_URI="mirror://sourceforge/easychem/${P}.tar.gz" @@ -18,6 +20,13 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-prestrip.patch" || die "Failed to apply ${P}-prestrip.patch" +} + src_compile() { ln -s Makefile.linux Makefile DGS_PATH=/usr/bin DPSTOEDIT_PATH=/usr/bin \