#---------------------------------------------------------------------------- # build_capi.txt - how to build the capi binaries # # Creation : 2007-01-01 hbfl # Last update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 ### download the source code from the internet, e.g. # ftp.isdn4linux.de/pub/isdn4linux ### extract file in a temporary location tar xjvf isdn4k-utils-CVS-2005-12-06.tar.bz2 cd avmb1 capiinit # 2013-03-20 # build with gcc 4.2.5 LibC-2.8 # 2013-11-10 # build with gcc 4.5.4 LibC-2.11.3 # 2014-01-17 -> capi-utils-2011.8.28 # build with rpm Suse based on i4l-base # capi-utils-2011.8.29-3.2.54.src.rpm # angepasst an Kernel 3.2.54 # 2015-09-12 -> capi-utils-2011.8.28 # build with rpm # capi-utils-2011.8.29-2.15.3.0.7.src.rpm # hbfl # 2018-06-11 -> capi-utils-2011.8.29 # build with rpm # capi-utils-2011.8.29-2.22.3.0.7.src.rpm # hbfl # 2021-01-11 -> capi-utils-2011.8.29 # rebuild with rpm # capi-utils-2011.8.29-2.31.3.27.src.rpm ### build patch -Np1 -i ../capiinit.diff der configfile liegt nun unter /etc/isdn/ -> capi.conf export CFLAGS='-O2 -march=i486' export CXXFLAGS="${CFLAGS}" rm -f lt* libto* rm -f missing aclocal libtoolize --force --automake --copy automake --add-missing --copy autoconf ./configure --prefix=/usr \ --build=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu make make DESTDIR=/public/capi/capiinit install make DESTDIR=/public/capi/avmb1 install # strip files for filename in `find /public/capi/capiinit/sbin/* -type f` do echo $filename strip -R .note -R .comment "$filename" done for filename in `find /public/capi/avmb1/usr/sbin/* -type f` do echo $filename strip -R .note -R .comment "$filename" done strip -R .note -R .comment /public/capi/capiinit/usr/bin/* # copy files cp *** /drivers/capi/bin_libcapi #-------------------------------------------------------------------------------