aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <sfabbro@uvic.ca>2012-07-30 09:27:32 -0700
committerSebastien Fabbro <sfabbro@uvic.ca>2012-07-30 09:27:32 -0700
commite7e93ee09e0e6abf27acafddf3de5c64ef2157dc (patch)
tree4da5b613a9fd638661b79b81fcc6c7ea1f7d5ad7 /sci-astronomy/galfit-bin
parentUpdate live ebuild (diff)
downloadsci-e7e93ee09e0e6abf27acafddf3de5c64ef2157dc.tar.gz
sci-e7e93ee09e0e6abf27acafddf3de5c64ef2157dc.tar.bz2
sci-e7e93ee09e0e6abf27acafddf3de5c64ef2157dc.zip
sci-astronomy/galfit-bin: renamed to binary package
(Portage version: 2.2.01.20796-prefix/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
Diffstat (limited to 'sci-astronomy/galfit-bin')
-rw-r--r--sci-astronomy/galfit-bin/ChangeLog9
-rw-r--r--sci-astronomy/galfit-bin/Manifest4
-rw-r--r--sci-astronomy/galfit-bin/galfit-bin-3.0.4.ebuild51
-rw-r--r--sci-astronomy/galfit-bin/metadata.xml9
4 files changed, 73 insertions, 0 deletions
diff --git a/sci-astronomy/galfit-bin/ChangeLog b/sci-astronomy/galfit-bin/ChangeLog
new file mode 100644
index 000000000..bce299b61
--- /dev/null
+++ b/sci-astronomy/galfit-bin/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-astronomy/galfit-bin
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*galfit-bin-3.0.4 (30 Jul 2012)
+
+ 30 Jul 2012; S├ębastien Fabbro <bicatali@gentoo.org> +galfit-bin-3.0.4.ebuild,
+ +metadata.xml:
+ sci-astronomy/galfit-bin: renamed to binary package
diff --git a/sci-astronomy/galfit-bin/Manifest b/sci-astronomy/galfit-bin/Manifest
new file mode 100644
index 000000000..d64e0ff3d
--- /dev/null
+++ b/sci-astronomy/galfit-bin/Manifest
@@ -0,0 +1,4 @@
+DIST galfit-ex.tar.gz 1918422 SHA256 3761cf4247b076a4aa2842c4c8d1f4d99871ec4ef31f39145c28102aaadc0d9a SHA512 cea08755bbae9e074c30bcd8c35da9358d29cdff0450af578d9363f5c9a813696d3506ad9cfb2d4e10dfe1f7469ab397c075427473e1f250b5397e5aa82d981a WHIRLPOOL 5e6ce6be5edae3f771f4e9a78480fe144c62228892dfc16f97a4b2a4163645b6ab8511b14a5c155ca07fc52ae443e31fd6283b4d16868fef2ebf5e40596ba064
+DIST galfit.pdf 2035460 SHA256 42a7483e742a0905003bad6a3a4b7f0e58d29b9b527f4ed8bdc8a4e498d865af SHA512 dac0fe8e603b28914f8eef191bd1a783ad7edb04ce0058eac6ab1e809319533c0adfb8543c9e21958631271d13aaae96e577a53b38f3caf2ed95c34ee502a716 WHIRLPOOL 19ccd39ac8a00625c5a53d11ab8b975bd53cb473d025448c47936c72509931669a43d11c5aa67afe3362da08bcd546e8c181752576393878ab87bcdb910e4fa2
+DIST galfit3-debian32.tar.gz 1222195 SHA256 e4d2d425b8f42cf6fe36bba760434bf8d072002bdfdd7f4d87657b0d0af2ae29 SHA512 d419f4a0cd33806fb87f047c9e9f07c3bb629c54101e12d3371a9043d48c9f2774c2770c32a20637a4400a1d33185cf11d8c930b15b07deeb819e0d091bdfa5f WHIRLPOOL 2b7d8e7b0261b7cc3a6e193b26105a5382e192a862fa6c6abaa539fd42a48df64d6021ff075b6226b1cf08b56aa9035567a3948ad14edc1e4026767cb828700c
+DIST galfit3-debian64.tar.gz 1242127 SHA256 59ec7b4f15dbeeb7a763b10756f79fa4673a942672660f4b5e5341161e2092dd SHA512 aae17cf94fa71ab3908f61c2ebfc4b241255fe1aee928966c5ebeef32a4d861e777ed5f3ffb8a1d273851acb73702af1f556102cffac2a16c10fd34aeb677816 WHIRLPOOL 3824def1addafb3fc3ecac61e8fff4f67e3168668fb92efd5f792c17427cef89c573d7f18cf7d689b280e378bb0488d59d561ab95ffbf33920e0aaece5cdff8d
diff --git a/sci-astronomy/galfit-bin/galfit-bin-3.0.4.ebuild b/sci-astronomy/galfit-bin/galfit-bin-3.0.4.ebuild
new file mode 100644
index 000000000..eb9221b76
--- /dev/null
+++ b/sci-astronomy/galfit-bin/galfit-bin-3.0.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+MYPN=galfit
+
+inherit multilib
+
+DESCRIPTION="Galaxy morphology fitting program"
+HOMEPAGE="http://www.csua.berkeley.edu/~cyp/work/galfit/galfit.html"
+CURI="http://www.csua.berkeley.edu/~cyp/work/${MYPN}"
+SRC_URI="amd64? ( ${CURI}/${MYPN}3-debian64.tar.gz )
+ x86? ( ${CURI}/${MYPN}3-debian32.tar.gz )
+ doc? ( ${CURI}/README.pdf -> ${MYPN}.pdf )
+ examples? ( ${CURI}/${MYPN}-ex.tar.gz )
+ test? ( ${CURI}/${MYPN}-ex.tar.gz )"
+
+RESTRICT="mirror"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND=""
+
+S="${WORKDIR}"
+
+src_test() {
+ chmod +x ${MYPN}
+ ln -s "${EROOT}"/$(get_libdir)/libncurses.so.5 libtinfo.so.5
+ ln -s "${EROOT}"/usr/$(get_libdir)/libncurses.so libtinfo.so
+ cd ${MYPN}-example/EXAMPLE
+ LD_LIBRARY_PATH=../.. ../../${MYPN} ${MYPN}.feedme
+}
+
+src_install () {
+ dobin ${MYPN}
+ # was built on a distro where ncurses was spit with tinfo
+ dosym libncurses.so.5 /$(get_libdir)/libtinfo.so.5
+ dosym libncurses.so /usr/$(get_libdir)/libtinfo.so
+
+ use doc && newdoc "${DISTDIR}"/${MYPN}.pdf README.pdf
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins ${MYPN}-example/*
+ fi
+}
diff --git a/sci-astronomy/galfit-bin/metadata.xml b/sci-astronomy/galfit-bin/metadata.xml
new file mode 100644
index 000000000..2c6b2655a
--- /dev/null
+++ b/sci-astronomy/galfit-bin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-astronomy</herd>
+<longdescription lang="en">
+ GALFIT is a data analysis algorithm that fits 2-D analytic functions
+ to galaxies and point sources directly to digital images.
+</longdescription>
+</pkgmetadata>