1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs # linux-info
7 DESCRIPTION="Utilities for TIPC (Transparent Inter-Process Communication)"
8 HOMEPAGE="http://tipc.sourceforge.net"
9 SRC_URI="mirror://sourceforge/tipc/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
17 DEPEND=">=sys-kernel/linux-headers-2.6.39"
19 S=${WORKDIR}/${P}/tipc-config
22 epatch "${FILESDIR}"/${P}-rename_configuration_message_field.patch
23 sed -i -e '/OFLAGS/s:-O2::' Makefile || die
28 # inherit linux-info and add IFLAGS="${KERNEL_DIR}/include" below in order
29 # to build against headers in /usr/src/linux
30 emake EXTRAS="${CFLAGS}"