diff options
author | 2015-08-11 14:21:04 +0300 | |
---|---|---|
committer | 2015-08-11 14:21:04 +0300 | |
commit | 444c8b620b34fde350c00bef8086f7183bd259f2 (patch) | |
tree | 0b671eb77f4f2ab027c15a6293b38f6b82cb1496 | |
parent | sci-libs/asl: remove old version (diff) | |
download | sci-444c8b620b34fde350c00bef8086f7183bd259f2.tar.gz sci-444c8b620b34fde350c00bef8086f7183bd259f2.tar.bz2 sci-444c8b620b34fde350c00bef8086f7183bd259f2.zip |
sci-libs/asl: add live ebuild, unify life and release ebuilds.
-rw-r--r-- | sci-libs/asl/ChangeLog | 5 | ||||
l---------[-rw-r--r--] | sci-libs/asl/asl-0.1.5.ebuild | 44 | ||||
-rw-r--r-- | sci-libs/asl/asl-9999.ebuild | 48 |
3 files changed, 54 insertions, 43 deletions
diff --git a/sci-libs/asl/ChangeLog b/sci-libs/asl/ChangeLog index 2aa925ad3..44700631d 100644 --- a/sci-libs/asl/ChangeLog +++ b/sci-libs/asl/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*asl-9999 (11 Aug 2015) + + 11 Aug 2015; Andrew Savchenko <bircoph@gentoo.org> +asl-9999.ebuild: + Add live ebuild. Unify life and release ebuilds. + 11 Aug 2015; Andrew Savchenko <bircoph@gentoo.org> -asl-0.1.4.ebuild: Remove old. diff --git a/sci-libs/asl/asl-0.1.5.ebuild b/sci-libs/asl/asl-0.1.5.ebuild index 309087181..2176c62f8 100644..120000 --- a/sci-libs/asl/asl-0.1.5.ebuild +++ b/sci-libs/asl/asl-0.1.5.ebuild @@ -1,43 +1 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -CMAKE_MIN_VERSION=3.0.2 -CMAKE_MAKEFILE_GENERATOR="${CMAKE_MAKEFILE_GENERATOR:-ninja}" - -inherit cmake-utils - -MY_PN=ASL - -DESCRIPTION="Advanced Simulation Library - multiphysics simulation software package" -HOMEPAGE="http://asl.org.il/" -SRC_URI="https://github.com/AvtechScientific/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples matio" - -RDEPEND=" - >=dev-libs/boost-1.55:= - >=sci-libs/vtk-6.1 - >=virtual/opencl-0-r2 -" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen[dot] ) - matio? ( >=sci-libs/matio-1.5.2 ) -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} - -DCMAKE_SKIP_RPATH=yes - $(cmake-utils_use_with doc API_DOC) - $(cmake-utils_use_with examples) - $(cmake-utils_use_with matio) - ) - cmake-utils_src_configure -} +asl-9999.ebuild
\ No newline at end of file diff --git a/sci-libs/asl/asl-9999.ebuild b/sci-libs/asl/asl-9999.ebuild new file mode 100644 index 000000000..0b7f2fd72 --- /dev/null +++ b/sci-libs/asl/asl-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +MY_PN=ASL + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/AvtechScientific/${MY_PN}.git" +else + SRC_URI="https://github.com/AvtechScientific/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +CMAKE_MIN_VERSION=3.0.2 +CMAKE_MAKEFILE_GENERATOR="${CMAKE_MAKEFILE_GENERATOR:-ninja}" + +inherit cmake-utils + +DESCRIPTION="Advanced Simulation Library - multiphysics simulation software package" +HOMEPAGE="http://asl.org.il/" +LICENSE="AGPL-3" +SLOT="0" +IUSE="doc examples matio" + +RDEPEND=" + >=dev-libs/boost-1.55:= + >=sci-libs/vtk-6.1 + >=virtual/opencl-0-r2 +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) + matio? ( >=sci-libs/matio-1.5.2 ) +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} + -DCMAKE_SKIP_RPATH=yes + $(cmake-utils_use_with doc API_DOC) + $(cmake-utils_use_with examples) + $(cmake-utils_use_with matio) + ) + cmake-utils_src_configure +} |