Hi everyone, I have created an ebuild for the ftools from heasarc, used for inspecting and manipulating astronomical FITS files[1]. As those are widely used in the astronomical community, I think they would make a great addition to Gentoo.
Unfortunately, the attached ebuild has several problems. 1.) LICENSE="UNKOWN": Does anyone know what the correct license is? 2.) SRC_URI: What should it be set to? Currently, you will have to download the tarball yourself from [2], choose only the "General-Use FTOOLS", nothing else. 3.) The ebuild only works with "General-Use FTOOLS", no XSpec. Ideally there would be a USE="xspec", but how to do that. I don't use XSpec, so wont investigate further for now. Maybe the ebuild could auto-detect what the user downloaded? 4.) DESTDIR: The src_install() function does an "addwrite /usr/heasoft-6.6.2" to let the heasoft tools make the install. Better would be for them to support the $DESTDIR variable, but I have tried and failed. Maybe it's ok? 5.) Reinstall: Due to the previous item, you have to "emerge -C ftools" before reinstalling. Can that be automated? Currently, it just fails, telling you to unmerge. 6.) Sourcing "$HEADAS/headas-init.sh" is still needed to be done by the user. Any help is much appreciated. Greetings, Henry [1] http://heasarc.nasa.gov/lheasoft/ftools/ftools_menu.html [2] http://heasarc.nasa.gov/lheasoft/download.html
installManPage-S-namecollision.patch
Description: Binary data
ftools-6.6.2.ebuild
Description: Binary data
