initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / packages / hackbard / isdn4k-utils / isdn4k-utils
1 # hdw - linux isdn4k-utils package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] v3.2p1
6 # [S] 3-7
7 # [D] isdn4k-utils.v3.2p1.tar.bz2 ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/
8
9 build_main()    {
10         [ -z "`echo $PATH | grep X11\/bin`" ] && \
11                 export PATH="$PATH:$root/usr/X11/bin"
12         cd capi20 &&
13         libtoolize -f -c &&
14         cd ..
15         if [ ! -f $root/var/adm/flists/xfree86 ] ; then
16                 make_conf="$make_conf CONFIG_XISDNLOAD=n CONFIG_XMONISDN=n"
17         fi
18         # prepare config
19         cp .config.rpm .config
20         make $make_conf subconfig &&
21         make $make_conf &&
22         make $make_conf install
23                 }