1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/isdn4k-utils/isdn4k-utils.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
14 # Make sure libtool gets recreated to avoid version conflicts
15 cd capi20; libtoolize -f -c; cd ..
16 export ACLOCAL=aclocal
17 export AUTOMAKE=automake
18 export AUTOCONF=autoconf
20 if [ -z "`type -p xmkmf`" ]; then
21 MAKE="$MAKE DESTDIR=$root CONFIG_XISDNLOAD=n CONFIG_XMONISDN=n"
24 # sed -i 's/\(.*CAPICTRL=y.*)/#\1/g' .config.rpm
25 cp .config.rpm .config
26 touch rcapid/acinclude.m4
31 for subp in xmonisdn xisdnload; do
32 sed -i 's,X11R6,X11R7,g' -i $subp/Makefile
37 hook_add premake 5 "i4l_premake"
38 hook_add premake 6 "i4l_fix_xorg"