# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit versionator eutils multilib MY_PF=$(replace_version_separator '_' '-' ${PF}) S="${WORKDIR}/${MY_PF}" DESCRIPTION="A library for applications dealing with netlink sockets" HOMEPAGE="http://people.suug.ch/~tgr/libnl/" SRC_URI="http://people.suug.ch/~tgr/libnl/files/${MY_PF}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die \ "emake install failed" dodoc ChangeLog }