1 |
# $Header: /magellan-cvs/smage/include/kde3.sminc,v 1.17 2006/09/02 11:36:08 niro Exp $ |
# $Id$ |
2 |
|
|
3 |
|
sminclude qt3 |
4 |
|
|
5 |
## some global vars ## |
## some global vars ## |
|
export QTDIR=/usr |
|
6 |
export KDEDIR=/usr |
export KDEDIR=/usr |
7 |
export KDECONFDIR=/etc |
export KDECONFDIR=/etc |
8 |
|
|
15 |
# so we prevent this: |
# so we prevent this: |
16 |
export KDEDIRS=${KDEDIR} |
export KDEDIRS=${KDEDIR} |
17 |
|
|
18 |
kde3_configure() { |
# the configure checks for kconfig_compiler do not respect PATH |
19 |
|
export KCONFIG_COMPILER="${KDEDIR}/bin/kconfig_compiler" |
20 |
|
|
21 |
|
kde3_configure() |
22 |
|
{ |
23 |
local configure_opts |
local configure_opts |
24 |
|
|
25 |
# use --enable-final only on i*86 |
# use --enable-final only on i*86 |
65 |
mmake || die |
mmake || die |
66 |
} |
} |
67 |
|
|
68 |
kde3_src_install() { |
kde3_src_install() |
69 |
|
{ |
70 |
cd ${SRCDIR} |
cd ${SRCDIR} |
71 |
|
|
72 |
mmake DESTDIR=${BINDIR} ${KDE3_MAKE_OPTS} install || die |
mmake DESTDIR=${BINDIR} ${KDE3_MAKE_OPTS} install || die |