diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-22 07:30:37 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-22 07:30:37 +0000 |
commit | 58911709360f32828e2be1fb9a0a89b862a0128b (patch) | |
tree | 8270e7dc10fb8d56e4971a19fe7ccb78eb04d87e /sci-astronomy | |
parent | revert old version (diff) | |
download | historical-58911709360f32828e2be1fb9a0a89b862a0128b.tar.gz historical-58911709360f32828e2be1fb9a0a89b862a0128b.tar.bz2 historical-58911709360f32828e2be1fb9a0a89b862a0128b.zip |
sci-astronomy/wcslib - LDFLAGS respected
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/wcslib/ChangeLog | 8 | ||||
-rw-r--r-- | sci-astronomy/wcslib/Manifest | 10 | ||||
-rw-r--r-- | sci-astronomy/wcslib/files/wcslib-4.4.4-ldflags.patch | 13 | ||||
-rw-r--r-- | sci-astronomy/wcslib/wcslib-4.4.4-r1.ebuild | 50 |
4 files changed, 76 insertions, 5 deletions
diff --git a/sci-astronomy/wcslib/ChangeLog b/sci-astronomy/wcslib/ChangeLog index 68e526d45fbc..9d78d333ff3b 100644 --- a/sci-astronomy/wcslib/ChangeLog +++ b/sci-astronomy/wcslib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-astronomy/wcslib # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.9 2010/01/29 03:04:27 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.10 2010/05/22 07:30:37 jlec Exp $ + +*wcslib-4.4.4-r1 (22 May 2010) + + 22 May 2010; Justin Lecher <jlec@gentoo.org> + +wcslib-4.4.4-r1.ebuild, +files/wcslib-4.4.4-ldflags.patch: + LDFLAGS respected *wcslib-4.4.4 (29 Jan 2010) diff --git a/sci-astronomy/wcslib/Manifest b/sci-astronomy/wcslib/Manifest index 506f2fd4b88a..bd217494ae42 100644 --- a/sci-astronomy/wcslib/Manifest +++ b/sci-astronomy/wcslib/Manifest @@ -4,16 +4,18 @@ Hash: SHA1 AUX wcslib-4.4.2-destdir.patch 4438 RMD160 f7b43127cc299139cb63146ee74fe5eeda479183 SHA1 5977905f3b00ed3c10a07c38c622a84ed63121ac SHA256 1f537e2a73c22e7106b34739fa358e8add5f0c2f5049bdf7524de35dcd074b1c AUX wcslib-4.4.2-flibs.patch 1529 RMD160 c875e977f3b45d3a07faf7fb607de90c792df50f SHA1 2e0d73ff6f323cf65a35444f71486abccce23c9f SHA256 eb3916c4cef732e3d422599f05adf3eecfb38adb68db591951ed65f8ce60464e AUX wcslib-4.4.4-destdir.patch 5190 RMD160 3f95bc8dbb1a36e572c75d4a6208fffa8be4d121 SHA1 87f7c035715f2af628f484abdf9468a18e0d1139 SHA256 2556744ff3d6e01cd447d9a774d20c882617c7a7a0dd8bc773c244c09a15b322 +AUX wcslib-4.4.4-ldflags.patch 367 RMD160 46afad5f889fa568c4610c824dfff907cc9462d0 SHA1 ccd626dcbc69263146569d8dc5a78d3444e7116f SHA256 f3e9aba58aac52e5930f0a03585d2f5f9777c15852d61d8dd8aeaaaa8b50ac13 DIST wcslib-4.4.3.tar.bz2 1591218 RMD160 7e97c90a5e518c52994413e52eb978bf0981e347 SHA1 2717a56605d300f5607a1a4a3be6a1f2a73936a9 SHA256 d67db82e528bca6a88fe7432fcd42b1647932c480c5f93736a1cab334639d6ee DIST wcslib-4.4.4.tar.bz2 1590830 RMD160 f2349b099777cddaca71def9c3f65458b42e862c SHA1 ba65d95dc5ce0bdf562a3f96280b6505e9ee66ae SHA256 557ecab50af0cb84e4f18ca19eede3624d6538f22eb580bd5a67f78f7d65ebaa EBUILD wcslib-4.4.3.ebuild 1267 RMD160 1ef98922785e19a3e297e7bea1c44fbe1a865439 SHA1 7c1015598901d0c05804cd95dc2feed0a7ac87f6 SHA256 4a1f225f84ece718e10fe05b48284da86b1e895a239263c6d445d009bf3a2ad0 +EBUILD wcslib-4.4.4-r1.ebuild 1251 RMD160 4a05cf7754ea4a134f738556f8e60a561843520b SHA1 7f06773fa9bfdc7d5035bf77339abd8cb6a96ea2 SHA256 0e3b44c203400dd5b04a9b935017ee60bb8e3477f5bb1edcac57d540f79b8548 EBUILD wcslib-4.4.4.ebuild 1193 RMD160 6f79ca63f637020341c964a6dc2c6cfe8b514ec2 SHA1 804a129bb5a91560db2832052be6f2136314ce21 SHA256 17b0b363bfb3d3f8a29d144fea983f40df8a600e6fbcaf45e95757dc1a528049 -MISC ChangeLog 1901 RMD160 9e3a172c0b80bb6422469b03a16eee69a7bdf916 SHA1 ea39426b6c7f8c1ab1ad4bf87d4a502fcf557598 SHA256 9620f7213fa82ae40c4e1bd5ab4317848aa6ed618277a37c0b41fe0c9f660684 +MISC ChangeLog 2061 RMD160 e58533783c561b150abe4c0140fd7456bedb174d SHA1 87e9c8f26d93b3e22bb3d664f12631ff8fb58d6d SHA256 abef50d5d64a713818baf5fecb9aa34c3d9c9788e6bfb93733a68d05122b2793 MISC metadata.xml 526 RMD160 b4130ef4285e199d5c07d9848f095c138b7e5d39 SHA1 17a684cec86c065cec536197709034dcc6a8ae80 SHA256 4819cc3667c7460268fe9ada14c4c69606d30335d6a249da471d5c598b5c1e9e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAktiUEQACgkQ1ycZbhPLE2Ag2gCfUJDc+w/bsz9HErQqNkoRWfht -2fEAnRSmclMlq11IAn51rfqjtS+LGDqH -=VZqq +iEYEARECAAYFAkv3iCQACgkQgAnW8HDreRYEAwCghqLH1PooNXydLtvE8N0Wa5IW +9XwAmwULnIlyhNNH6gJnZDfDcJAnuJaX +=tQgW -----END PGP SIGNATURE----- diff --git a/sci-astronomy/wcslib/files/wcslib-4.4.4-ldflags.patch b/sci-astronomy/wcslib/files/wcslib-4.4.4-ldflags.patch new file mode 100644 index 000000000000..f227bb8b8841 --- /dev/null +++ b/sci-astronomy/wcslib/files/wcslib-4.4.4-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/Fortran/GNUmakefile b/Fortran/GNUmakefile +index 6a9600d..94c33a3 100644 +--- a/Fortran/GNUmakefile ++++ b/Fortran/GNUmakefile +@@ -169,7 +169,7 @@ $(SHRLIB) : $(PICLIB) + mkdir tmp + cd tmp && \ + $(AR) x ../$(PICLIB) && \ +- $(SHRLD) -o $(@F) *.o && \ ++ $(SHRLD) $(LDFLAGS) -o $(@F) *.o && \ + mv $(@F) ../../C + - $(RM) -r tmp + diff --git a/sci-astronomy/wcslib/wcslib-4.4.4-r1.ebuild b/sci-astronomy/wcslib/wcslib-4.4.4-r1.ebuild new file mode 100644 index 000000000000..f2a4110b3cd3 --- /dev/null +++ b/sci-astronomy/wcslib/wcslib-4.4.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.4.4-r1.ebuild,v 1.1 2010/05/22 07:30:37 jlec Exp $ + +EAPI=2 +inherit eutils virtualx flag-o-matic + +DESCRIPTION="Astronomical World Coordinate System transformations library" +HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/" +SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + sci-libs/cfitsio + sci-libs/pgplot" +DEPEND="${RDEPEND} + test? ( + media-fonts/font-misc-misc + media-fonts/font-cursor-misc + )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.4.2-flibs.patch + epatch "${FILESDIR}"/${PN}-4.4.4-destdir.patch + epatch "${FILESDIR}"/${PN}-4.4.4-ldflags.patch + append-flags -U_FORTIFY_SOURCE +} + +src_compile() { + # -j1 forced. build system too crappy to be worth debugging + # does not really fix anything + emake -j1 || die "emake failed" +} + +src_test() { + Xemake check || die "emake test failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README || die + if use doc; then + insinto /usr/share/doc/${PF} + doins -r *.pdf html || die + fi +} |