Created
December 28, 2013 23:36
-
-
Save BtbN/8165684 to your computer and use it in GitHub Desktop.
clip-4.0.0_beta2.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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