|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/avm/misdn-user/misdn-user.conf
|
|
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
misdnuser_custmain() {
|
|
# the kernel might be build without the mISDN patch applied
|
|
tar xvjf $archdir/mISDN_for_PBX4Linux-3.0.tar.bz2 mISDN/include/linux
|
|
var_append CC_WRAPPER_INSERT " " "-I $PWD/mISDN/include"
|
|
|
|
eval make $makeopt
|
|
mkdir -p $includedir/mISDN
|
|
mkdir -p $libdir/mISDN/i4lnet
|
|
install -v lib/libmISDN.a $libdir/mISDN/libmISDN.a
|
|
install -v i4lnet/libisdnnet.a $libdir/mISDN/i4lnet/libisdnnet.a
|
|
mkdir -p $includedir/mISDN/{voip,i4lnet}
|
|
install -v include/*.h $includedir/mISDN/
|
|
install -v i4lnet/*.h $includedir/mISDN/i4lnet/
|
|
install -v voip/*.h $includedir/mISDN/voip/
|
|
|
|
mkdir -p $includedir/mISDN/linux
|
|
cp mISDN/include/linux/*.h $includedir/mISDN/linux/
|
|
}
|
|
|
|
custmain="misdnuser_custmain"
|