diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-11-07 12:54:17 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-11-07 12:54:17 +0200 |
commit | 5a01792340999d37435f5000a3f6b8e0f2d11815 (patch) | |
tree | 4bcca1f73cc4ab721b3c31ea81585917f909ebc7 /dev-libs/libnl/libnl-1.1.ebuild | |
parent | 86c8d1f28bd2b785ccbb28f41c4e0763d062ba2f (diff) |
Added the full elimination of sabayon-version
Diffstat (limited to 'dev-libs/libnl/libnl-1.1.ebuild')
-rw-r--r-- | dev-libs/libnl/libnl-1.1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libnl/libnl-1.1.ebuild b/dev-libs/libnl/libnl-1.1.ebuild new file mode 100644 index 00000000..8db8c944 --- /dev/null +++ b/dev-libs/libnl/libnl-1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.0_pre6-r1.ebuild,v 1.1 2007/12/01 19:47:49 rbu Exp $ + +inherit eutils multilib linux-info versionator + +MY_P="${PN}-${PV/_/-}" + +DESCRIPTION="A library for applications dealing with netlink socket" +HOMEPAGE="http://people.suug.ch/~tgr/libnl/" +SRC_URI="http://people.suug.ch/~tgr/libnl/files/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}/lib" + sed -i Makefile -e 's:install -o root -g root:install:' + + cd "${S}/include" + sed -i Makefile -e 's:install -o root -g root:install:g' + epatch "${FILESDIR}/${PN}-1.0_pre5-include.diff" + epatch "${FILESDIR}/${P}-types.patch" + +} + +src_install() { + emake DESTDIR="${D}" install || die +} |