Skip to content

Instantly share code, notes, and snippets.

@BtbN
Created December 28, 2013 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BtbN/8165684 to your computer and use it in GitHub Desktop.
Save BtbN/8165684 to your computer and use it in GitHub Desktop.
clip-4.0.0_beta2.ebuild
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit qt4-r2 versionator
DESCRIPTION="Interactive program for evaluation of Laue diffraction patterns"
HOMEPAGE="http://clip4.sf.net/"
SRC_URI="mirror://sourceforge/clip4/Clip4_$(get_version_component_range 4)_source.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-cpp/eigen:3"
DEPEND="${RDEPEND}"
S="${WORKDIR}/Clip4_$(get_version_component_range 4)_source"
src_prepare()
{
sed -i 's|../eigen|/usr/include/eigen3|' Clip4.pro || die "sed failed"
sed -i 's|shell hg|shell true|g' Clip4.pro || die "sed failed"
}
src_install()
{
dobin Clip
dodoc README.txt License.txt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment