diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-02 22:58:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-02 22:58:44 +0000 |
commit | 7c78ea38e50fd39e60f8f757ef14713365b1264b (patch) | |
tree | 3e75e9671ebbaedea00de3c834d36d7a2298997f /media-libs/libipoddevice | |
parent | Keyworded on x86-fbsd (diff) | |
download | gentoo-2-7c78ea38e50fd39e60f8f757ef14713365b1264b.tar.gz gentoo-2-7c78ea38e50fd39e60f8f757ef14713365b1264b.tar.bz2 gentoo-2-7c78ea38e50fd39e60f8f757ef14713365b1264b.zip |
misc cleanups
(Portage version: 2.1.2-r13)
Diffstat (limited to 'media-libs/libipoddevice')
-rw-r--r-- | media-libs/libipoddevice/libipoddevice-0.5.2.ebuild | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/media-libs/libipoddevice/libipoddevice-0.5.2.ebuild b/media-libs/libipoddevice/libipoddevice-0.5.2.ebuild index f21c8c7d36e8..a6c5b70c4217 100644 --- a/media-libs/libipoddevice/libipoddevice-0.5.2.ebuild +++ b/media-libs/libipoddevice/libipoddevice-0.5.2.ebuild @@ -1,10 +1,10 @@ -# 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/libipoddevice/libipoddevice-0.5.2.ebuild,v 1.1 2006/12/09 22:26:58 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/libipoddevice-0.5.2.ebuild,v 1.2 2007/03/02 22:58:44 vapier Exp $ -inherit multilib eutils +inherit eutils -DESCRIPTION="libipoddevice is a device-specific layer for the Apple iPod" +DESCRIPTION="device-specific layer for the Apple iPod" HOMEPAGE="http://banshee-project.org/Libipoddevice" SRC_URI="http://banshee-project.org/files/libipoddevice/${P}.tar.gz" @@ -18,20 +18,11 @@ RDEPEND="|| ( >=dev-libs/dbus-glib-0.71 >=sys-apps/hal-0.5.2 sys-apps/pmount virtual/eject" - DEPEND="${RDEPEND} >=dev-libs/glib-2.0 >=gnome-base/libgtop-2.12 >=sys-apps/sg3_utils-1.20" -src_unpack() { - unpack ${A} - # use correct libdir in pkgconfig file - if [ $(get_libdir) != "lib" ] ; then - sed -i -e 's:^libdir=.*:libdir=@libdir@:' \ - ${S}/ipoddevice.pc.in || die "sed failed" - fi -} pkg_setup() { if [ ! -z $(best_version =sys-apps/dbus-0.62*) ]; then if ! built_with_use "=sys-apps/dbus-0.62*" gtk; then @@ -39,11 +30,18 @@ pkg_setup() { fi fi } -src_compile() { - econf || die "configure failed" - emake || die "make failed" + +src_unpack() { + unpack ${A} + cd "${S}" + # use correct libdir in pkgconfig file + sed -i \ + -e 's:^libdir=.*:libdir=@libdir@:' \ + ipoddevice.pc.in \ + || die "sed failed" } + src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "make install failed" dodoc ChangeLog NEWS README } |