summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-04-11 19:14:28 +0000
committerChristian Heim <phreak@gentoo.org>2007-04-11 19:14:28 +0000
commit21f7f0aa1948f4234ae595b7b8f0f664787bad55 (patch)
tree6ac5f132cb0ae8bb455578e83ef0539936813a72 /media-libs/hamlib
parentStable on ppc64; bug #173880 (diff)
downloadgentoo-2-21f7f0aa1948f4234ae595b7b8f0f664787bad55.tar.gz
gentoo-2-21f7f0aa1948f4234ae595b7b8f0f664787bad55.tar.bz2
gentoo-2-21f7f0aa1948f4234ae595b7b8f0f664787bad55.zip
Use proper helper functions (#173884). Quoting fixes.
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-libs/hamlib')
-rw-r--r--media-libs/hamlib/ChangeLog8
-rw-r--r--media-libs/hamlib/hamlib-1.2.4.ebuild22
-rw-r--r--media-libs/hamlib/hamlib-1.2.5.ebuild26
3 files changed, 36 insertions, 20 deletions
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 <phreak@gentoo.org> hamlib-1.2.4.ebuild,
+ hamlib-1.2.5.ebuild:
+ Use proper helper functions (#173884). Quoting fixes.
28 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> hamlib-1.2.4.ebuild,
hamlib-1.2.5.ebuild:
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
}