2015-09-05 10:22:41 +02:00
|
|
|
#
|
|
|
|
# This helper is for templates using Qt4/Qt5 qmake.
|
|
|
|
#
|
|
|
|
do_build() {
|
|
|
|
: ${make_cmd:=scons}
|
|
|
|
|
|
|
|
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
|
|
|
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
2015-09-05 10:35:46 +02:00
|
|
|
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
|
2015-09-05 10:22:41 +02:00
|
|
|
${make_build_args} ${make_build_target}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
: ${make_cmd:=scons}
|
|
|
|
: ${make_install_target:=install}
|
|
|
|
|
|
|
|
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
|
|
|
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
2015-09-05 10:35:46 +02:00
|
|
|
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
|
2015-09-05 10:22:41 +02:00
|
|
|
${make_install_args} ${make_install_target}
|
|
|
|
}
|