From: Christian Heim Date: Wed, 11 Apr 2007 19:14:28 +0000 (+0000) Subject: Use proper helper functions (#173884). Quoting fixes. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45ad0e93be1a91bf706659a6dd6735fd6bdf989b;p=gentoo.git Use proper helper functions (#173884). Quoting fixes. Package-Manager: portage-2.1.2.3 --- diff --git a/media-libs/hamlib/ChangeLog b/media-libs/hamlib/ChangeLog index 14e240241cb4..4f2b58d02f03 100644 --- a/media-libs/hamlib/ChangeLog +++ b/media-libs/hamlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/hamlib -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.20 2006/11/28 22:19:33 mr_bones_ Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.21 2007/04/11 19:14:28 phreak Exp $ + + 11 Apr 2007; Christian Heim hamlib-1.2.4.ebuild, + hamlib-1.2.5.ebuild: + Use proper helper functions (#173884). Quoting fixes. 28 Nov 2006; Michael Sterrett hamlib-1.2.4.ebuild, hamlib-1.2.5.ebuild: diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest index 05b96c9bff14..3417d683b1f1 100644 --- a/media-libs/hamlib/Manifest +++ b/media-libs/hamlib/Manifest @@ -1,21 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX hamlib-pkgconfig-fix.diff 373 RMD160 fe7a8275b28ea73480b9bf1eb916302d84eb351f SHA1 bc0abd242bc35897000d405bc1fb831a48fad976 SHA256 6c45445bf2bc12b9738b6315543df662a0dd36167a57a3623bb11446e882802c MD5 2d4e1df9c7fa10b146286ef764530f68 files/hamlib-pkgconfig-fix.diff 373 RMD160 fe7a8275b28ea73480b9bf1eb916302d84eb351f files/hamlib-pkgconfig-fix.diff 373 SHA256 6c45445bf2bc12b9738b6315543df662a0dd36167a57a3623bb11446e882802c files/hamlib-pkgconfig-fix.diff 373 DIST hamlib-1.2.4.tar.gz 1423048 RMD160 ec03d4ec5deafe2a148e363a65cd9664a17da84f SHA1 c01748039bbb31b9b3559cd8ec95d504d0949baa SHA256 d6e0f170e0ce4fda05302402bbb019325e0b043c8b172c071d22cd5a7bf17132 DIST hamlib-1.2.5.tar.gz 1420619 RMD160 72e664d54abd298feb19c0206fc026d1d32f1d16 SHA1 6173742153b86bbace7962f05cb08fca851c0e84 SHA256 1a66cee68486087305b1f9ccfc2ea816aa88a50817257d6213608ec16a65c1ba -EBUILD hamlib-1.2.4.ebuild 1708 RMD160 a41bbe811ceba1f16cb2aa87ab6bdd437cc9f835 SHA1 c48277791e53680c802de23513df19eefa620283 SHA256 9437449505d2f57fe44cab3b404ef2d46700a2ce7c8f6cb78a71442d078a67d8 -MD5 f41bb3e15c6ef69a6ba7d1398fa706ef hamlib-1.2.4.ebuild 1708 -RMD160 a41bbe811ceba1f16cb2aa87ab6bdd437cc9f835 hamlib-1.2.4.ebuild 1708 -SHA256 9437449505d2f57fe44cab3b404ef2d46700a2ce7c8f6cb78a71442d078a67d8 hamlib-1.2.4.ebuild 1708 -EBUILD hamlib-1.2.5.ebuild 1711 RMD160 abe16e5f339333cef80b3ab3c84dda1ebd40d4cd SHA1 b74c5ec27d9c6870bfb1effd37db314062e5c295 SHA256 d995891ae3ea9f1e0c805d25da9dcae8fb7cb5021b5f44bfe506720931e691e6 -MD5 fdf5414565f1b9835f9256df80f7f5b0 hamlib-1.2.5.ebuild 1711 -RMD160 abe16e5f339333cef80b3ab3c84dda1ebd40d4cd hamlib-1.2.5.ebuild 1711 -SHA256 d995891ae3ea9f1e0c805d25da9dcae8fb7cb5021b5f44bfe506720931e691e6 hamlib-1.2.5.ebuild 1711 -MISC ChangeLog 3727 RMD160 19b8e0e14d8c85756c1a4a897eb35ed482cea7c2 SHA1 cde4df37ee44630099f44b6df1ec8d59237a858b SHA256 cc30922241ee68617ed8efdb5562b677c6c66a39ae1e296b85fd1650989d066f -MD5 18cf6e99f31e4b329d6b4478efe6b129 ChangeLog 3727 -RMD160 19b8e0e14d8c85756c1a4a897eb35ed482cea7c2 ChangeLog 3727 -SHA256 cc30922241ee68617ed8efdb5562b677c6c66a39ae1e296b85fd1650989d066f ChangeLog 3727 +EBUILD hamlib-1.2.4.ebuild 1713 RMD160 60a327437c72dd087fd926a0831462f046cc285e SHA1 9811088753a104bbde5964d39fc911ddacc0ed33 SHA256 c8359fd2564b52422c28b727edc8fadd883f6fd74f4dbf212236104c4d3b53a5 +MD5 44e0b1a81eb75d8c0dd0275859853f05 hamlib-1.2.4.ebuild 1713 +RMD160 60a327437c72dd087fd926a0831462f046cc285e hamlib-1.2.4.ebuild 1713 +SHA256 c8359fd2564b52422c28b727edc8fadd883f6fd74f4dbf212236104c4d3b53a5 hamlib-1.2.4.ebuild 1713 +EBUILD hamlib-1.2.5.ebuild 1713 RMD160 4e6872dfe679392dc1c3a374cd6cc5f0076c5bfe SHA1 b712b19a68197ce455fb15f6aa120e290cffcbe6 SHA256 8848879d092f68b665e583c25fe6d0bb763e88e362463c65d89f15ab80c15fe0 +MD5 d2f6497ae065829cdc7c9f6b56fa326e hamlib-1.2.5.ebuild 1713 +RMD160 4e6872dfe679392dc1c3a374cd6cc5f0076c5bfe hamlib-1.2.5.ebuild 1713 +SHA256 8848879d092f68b665e583c25fe6d0bb763e88e362463c65d89f15ab80c15fe0 hamlib-1.2.5.ebuild 1713 +MISC ChangeLog 3875 RMD160 6b76f56a5ba43185abbcb7d1cf078dfd047d4c88 SHA1 ae6d61fa1b0565e7cbbdeff28759d6a0d2d7e543 SHA256 9979bdb53b31e811ea20e3918b158ff0ac832735b2cd72078bc2f269de27c015 +MD5 de0a3475ddb81f7045246505ab58a6bc ChangeLog 3875 +RMD160 6b76f56a5ba43185abbcb7d1cf078dfd047d4c88 ChangeLog 3875 +SHA256 9979bdb53b31e811ea20e3918b158ff0ac832735b2cd72078bc2f269de27c015 ChangeLog 3875 MISC metadata.xml 269 RMD160 db32c3f6333d9d443dc57593f5ddf1ebbfebfb06 SHA1 121ea86b1bcc7e9815db04cfc19d4ef3a255a9cd SHA256 91e2fbe162d28169b6d852a358737d2e535babf764827246f23dd31e967d447f MD5 8fd0f938f32024e0c4ac5db3962040a4 metadata.xml 269 RMD160 db32c3f6333d9d443dc57593f5ddf1ebbfebfb06 metadata.xml 269 @@ -26,3 +29,10 @@ SHA256 f0d3eff93f01e5442022a496f8d85874846095a1021e6944914348c32d917d05 files/di MD5 aea5196d0d5c972907d7b23758d755b7 files/digest-hamlib-1.2.5 241 RMD160 1d794accd0a8fef997276adec307bc859e08f9a2 files/digest-hamlib-1.2.5 241 SHA256 27219db8f8db5d4f874f7e86214d3d25424d223406cfaad3f7450226673aed2d files/digest-hamlib-1.2.5 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGHTOgyuNVb5qfaOYRAvSkAJ9boakIiXWMvDycN6zL2Hlt+HUF2QCgtsE1 +Ej3WF7qtSv3tZp1wzuKRzR4= +=G0wU +-----END PGP SIGNATURE----- diff --git a/media-libs/hamlib/hamlib-1.2.4.ebuild b/media-libs/hamlib/hamlib-1.2.4.ebuild index 26d6db1807b1..17e7f12b5fb0 100644 --- a/media-libs/hamlib/hamlib-1.2.4.ebuild +++ b/media-libs/hamlib/hamlib-1.2.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.4.ebuild,v 1.8 2006/11/28 22:19:33 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.4.ebuild,v 1.9 2007/04/11 19:14:28 phreak Exp $ inherit eutils multilib @@ -30,8 +30,9 @@ DEPEND=">=sys-devel/libtool-1.5 src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-pkgconfig-fix.diff || \ + cd "${S}" + + epatch "${FILESDIR}"/${PN}-pkgconfig-fix.diff || \ die "epatch failed" } @@ -47,7 +48,9 @@ src_compile() { $(use_with gd rigmatrix) \ $(use_with X x) \ || die "configure failed" + emake || die "emake failed" + if use doc ; then cd doc && make doc || die "make doc failed" fi @@ -55,17 +58,20 @@ src_compile() { src_install() { einstall \ - libdir=${D}/usr/$(get_libdir)/hamlib || \ + libdir="${D}"/usr/$(get_libdir)/hamlib || \ die "einstall failed" + dodoc AUTHORS PLAN README README.betatester dodoc README.developer LICENSE NEWS TODO + if use doc; then dohtml doc/html/* doman doc/man/man3/* fi + insinto /usr/$(get_libdir)/pkgconfig doins hamlib.pc - echo "LDPATH=/usr/$(get_libdir)/hamlib" > 73hamlib - insinto /etc/env.d - doins 73hamlib + + echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib + doenvd "${T}"/73hamlib } diff --git a/media-libs/hamlib/hamlib-1.2.5.ebuild b/media-libs/hamlib/hamlib-1.2.5.ebuild index d9107560b218..6c43a80023d2 100644 --- a/media-libs/hamlib/hamlib-1.2.5.ebuild +++ b/media-libs/hamlib/hamlib-1.2.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.5.ebuild,v 1.3 2006/11/28 22:19:33 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.5.ebuild,v 1.4 2007/04/11 19:14:28 phreak Exp $ inherit eutils multilib @@ -30,8 +30,9 @@ DEPEND=">=sys-devel/libtool-1.5 src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-pkgconfig-fix.diff || \ + cd "${S}" + + epatch "${FILESDIR}"/${PN}-pkgconfig-fix.diff || \ die "epatch failed" } @@ -47,7 +48,9 @@ src_compile() { $(use_with gd rigmatrix) \ $(use_with X x) \ || die "configure failed" + emake || die "emake failed" + if use doc ; then cd doc && make doc || die "make doc failed" fi @@ -55,17 +58,20 @@ src_compile() { src_install() { einstall \ - libdir=${D}/usr/$(get_libdir)/hamlib || \ + libdir="${D}"/usr/$(get_libdir)/hamlib || \ die "einstall failed" - dodoc AUTHORS PLAN README README.betatester - dodoc README.developer LICENSE NEWS TODO + + dodoc AUTHORS PLAN README README.betatester \ + README.developer LICENSE NEWS TODO + if use doc; then dohtml doc/html/* doman doc/man/man3/* fi + insinto /usr/$(get_libdir)/pkgconfig doins hamlib.pc - echo "LDPATH=/usr/$(get_libdir)/hamlib" > 73hamlib - insinto /etc/env.d - doins 73hamlib + + echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib + doenvd "${T}"/73hamlib }