ready
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5120 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
4f400ff904
commit
51d39acc85
@ -86,7 +86,8 @@ mk32() {
|
||||
CXX="g++ $BUILDOPTIONS32" \
|
||||
USE_ARCH=32 \
|
||||
LDFLAGS="-L/opt/qt-4/lib -L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
||||
../avifile*/configure --prefix=/usr \
|
||||
../avifile*/configure --build=${TARGET32} \
|
||||
--prefix=/usr \
|
||||
--enable-freetype2 \
|
||||
--enable-xft \
|
||||
--enable-xv \
|
||||
@ -97,40 +98,30 @@ mk32() {
|
||||
--enable-vorbis \
|
||||
--enable-libmad \
|
||||
--enable-xvid \
|
||||
--enable-samples \
|
||||
--enable-samples=no \
|
||||
--with-x \
|
||||
--with-qt \
|
||||
--with-qt-prefix=/opt/qt-4 \
|
||||
--with-qt-includes=/opt/qt-4/include \
|
||||
--with-qt-libraries=/opt/qt-4/lib \
|
||||
--without-qt \
|
||||
--with-sdl \
|
||||
--with-zlib
|
||||
for i in `find . -name "Makefile"`; do
|
||||
sed -e "s/^LIBS.*$/LIBS = -lnsl -ldl -liconv/" $i >/tmp/Makefile
|
||||
mv /tmp/Makefile $i
|
||||
done
|
||||
make -j $NUMCPU
|
||||
sed -i "s/samples$//" Makefile
|
||||
make -j $NUMCPU USE_ARCH=32
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
cd ../avifile*
|
||||
rm -r ../build-avifile
|
||||
mkdir ../build-avifile
|
||||
cd ../build-avifile
|
||||
sed -i "s/-laviplay/-laviplay -liconv/" $TMPROOT/usr/bin/avifile-config
|
||||
mv $TMPROOT/usr/bin/avifile-config{,-32}
|
||||
}
|
||||
|
||||
#Hier wird der Make Prozess der Sourcen definiert
|
||||
mk() {
|
||||
#export QTDIR=$STQTDIR
|
||||
if [ "$MK64BIT" == "true" ];then
|
||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||
fi
|
||||
CC="gcc $BUILDOPTIONS" \
|
||||
CXX="g++ $BUILDOPTIONS" \
|
||||
LDFLAGS="-L/opt/qt-4/lib64 -L/lib64 -L/usr/lib64 -L/usr/X11R7/lib64" \
|
||||
LDFLAGS="-L/opt/qt-4/$LIBDIR -L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
||||
USE_ARCH=$UARCH \
|
||||
../avifile*/configure --prefix=/usr \
|
||||
$ADDOPTIONS \
|
||||
../avifile*/configure --build=${TARGET} \
|
||||
--prefix=/usr \
|
||||
--libdir=\${prefix}/$LIBDIR \
|
||||
--enable-freetype2 \
|
||||
--enable-xft \
|
||||
--enable-xv \
|
||||
@ -141,21 +132,14 @@ mk() {
|
||||
--enable-vorbis \
|
||||
--enable-libmad \
|
||||
--enable-xvid \
|
||||
--enable-samples \
|
||||
--enable-samples=no \
|
||||
--with-x \
|
||||
--with-qt \
|
||||
--with-qt-prefix=/opt/qt-4 \
|
||||
--with-qt-includes=/opt/qt-4/include \
|
||||
--with-qt-libraries=/opt/qt-4/$LIBDIR \
|
||||
--without-qt \
|
||||
--with-sdl \
|
||||
--with-zlib
|
||||
for i in `find . -name "Makefile"`; do
|
||||
sed -e "s/^LIBS.*$/LIBS = -lnsl -ldl -liconv/" $i >/tmp/Makefile
|
||||
mv /tmp/Makefile $i
|
||||
done
|
||||
make -j $NUMCPU
|
||||
sed -i "s/samples$//" Makefile
|
||||
make -j $NUMCPU USE_ARCH=$UARCH
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
sed -i "s/-laviplay/-laviplay -liconv/" $TMPROOT/usr/bin/avifile-config
|
||||
}
|
||||
|
||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||
|
Loading…
Reference in New Issue
Block a user