* move libffi to base/ Category
[t2sde.git] / package / network / isdn4k-utils / isdn4k-utils.conf
bloba702644293c16c38a0d34aa15177aea53c97ded2
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
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
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 ---
13 i4l_premake() {
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"
22         fi
24 #       sed -i 's/\(.*CAPICTRL=y.*)/#\1/g' .config.rpm
25         cp .config.rpm .config
26         touch rcapid/acinclude.m4
27         eval $MAKE subconfig
30 i4l_fix_xorg() {
31         for subp in xmonisdn xisdnload; do
32                 sed -i 's,X11R6,X11R7,g' -i $subp/Makefile
33         done
36 runconf=0
37 hook_add premake 5 "i4l_premake"
38 hook_add premake 6 "i4l_fix_xorg"