summaryrefslogtreecommitdiff
blob: ea76b196cf148c5948c52cf5d9eff6305013fd21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/em84xx-libraries/em84xx-libraries-1.6.95.16.ebuild,v 1.2 2007/07/12 02:40:42 mr_bones_ Exp $

inherit eutils

MY_P=Netstream2000-${PV}

DESCRIPTION="libraries for the em84xx chip"
HOMEPAGE="ftp://ftp.sigmadesigns.com/NetStr_2000/"
SRC_URI="ftp://ftp.sigmadesigns.com/NetStr_2000/${MY_P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND=""

S=${WORKDIR}/${MY_P}RC

pkg_setup() {
	if built_with_use -a sys-libs/glibc glibc-compat20 -nptlonly; then
		einfo "Use-flags of glibc checked ok."
	else
		eerror "You cannot use ${P} with your glibc use-flags."
		eerror "Please recompile glibc with USE=\"glibc-compat20 -nptlonly\""
	fi
}

src_install() {
	insinto /usr/lib
	doins lib/libEM84xx.so lib/libosd.so

	insinto /usr/include/em84xx/
	doins include/*.h
}