summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild')
-rw-r--r--media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild b/media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild
index 5888cdbe819b..6ac69c5dadf9 100644
--- a/media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild
+++ b/media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild,v 1.1 2008/09/24 18:35:32 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-avahi/gmpc-avahi-0.16.0.ebuild,v 1.2 2008/09/24 18:51:34 angelos Exp $
+
+inherit autotools multilib
DESCRIPTION="This plugin discovers avahi enabled mpd servers"
HOMEPAGE="http://gmpcwiki.sarine.nl/index.php/Avahi"
@@ -17,6 +19,14 @@ RDEPEND=">=media-sound/gmpc-${PV}
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i "/^libdir/s:/lib/:/$(get_libdir)/:" src/Makefile.am
+ eautoreconf
+}
+
src_install () {
emake DESTDIR="${D}" install || die
}