blob: f228fbf7a34ec267444bdf1e046495d50fe19ec3 (
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
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdnuser/misdnuser-0.1_pre20060222.ebuild,v 1.1 2006/02/28 00:15:55 genstef Exp $
inherit flag-o-matic eutils cvs
MY_P="mISDNuser"
DESCRIPTION="mISDN (modular ISDN) kernel link library and includes"
HOMEPAGE="http://www.isdn4linux.de/mISDN"
SRC_URI=""
ECVS_SERVER="cvs.isdn4linux.de:/i4ldev"
ECVS_MODULE="${MY_P}"
ECVS_BRANCH="mqueue"
ECVS_PASS="readonly"
ECVS_CO_OPTS="-D ${PV#*_pre}"
ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
RDEPEND=">=net-dialup/misdn-20051228"
#DEPEND="voipisdn? ( media-sound/gsm
# sys-libs/ncurses
# sys-devel/flex )"
src_unpack() {
cvs_src_unpack
cd ${S}
# use voipisdn ||
mv voip voip.disabled
}
src_compile() {
append-flags -fPIC
emake || die "emake failed"
}
src_install() {
dolib.a lib/libmISDN.a i4lnet/libisdnnet.a tenovis/lib/libtenovis.a
insinto /usr/include/mISDNuser
doins include/*.h tenovis/lib/tenovis.h i4lnet/*.h
dosbin example/loadfirm
# use voipisdn && dobin voip/voipisdn
}
|