XTools.dmk files update fÃr V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/ViitorMake@6082 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
ee7a44d43f
commit
c043addd39
|
@ -1,12 +1,19 @@
|
||||||
0 development/Xdialog
|
0 development/Xdialog
|
||||||
#Is already done - aber hier sollte die neueste Version gebaut werden
|
#Is already done - aber hier sollte die neueste Version gebaut werden
|
||||||
4 development/subversion
|
8 development/subversion
|
||||||
|
8 network/apr
|
||||||
|
8 network/apr-util
|
||||||
|
8 network/neon
|
||||||
|
128 network/apr
|
||||||
|
128 network/apr-util
|
||||||
|
128 network/neon
|
||||||
|
0 development/subversion
|
||||||
0 network/gftp
|
0 network/gftp
|
||||||
0 multimedia/mjpegtools
|
0 multimedia/mjpegtools
|
||||||
0 multimedia/gst-plugins-good
|
0 multimedia/gst-plugins-good
|
||||||
0 multimedia/minidlna
|
0 multimedia/minidlna
|
||||||
0 development/pygobject
|
|
||||||
0 development/pycairo
|
0 development/pycairo
|
||||||
|
0 development/pygobject
|
||||||
0 development/pygtk
|
0 development/pygtk
|
||||||
0 multimedia/gst-python
|
0 multimedia/gst-python
|
||||||
0 multimedia/farsight2
|
0 multimedia/farsight2
|
||||||
|
@ -30,6 +37,7 @@
|
||||||
0 security/nmap
|
0 security/nmap
|
||||||
0 guibased/gnokii
|
0 guibased/gnokii
|
||||||
0 guibased/sane-frontends
|
0 guibased/sane-frontends
|
||||||
|
4 guibased/SDL
|
||||||
0 guibased/SDL_image
|
0 guibased/SDL_image
|
||||||
0 guibased/SDL_ttf
|
0 guibased/SDL_ttf
|
||||||
0 multimedia/smpeg
|
0 multimedia/smpeg
|
||||||
|
@ -53,8 +61,6 @@
|
||||||
0 network/courier-authlib
|
0 network/courier-authlib
|
||||||
0 network/courier
|
0 network/courier
|
||||||
0 network/courier-analog
|
0 network/courier-analog
|
||||||
#does not funktion
|
|
||||||
#0 security/clamcour
|
|
||||||
8 network/courier-authlib
|
8 network/courier-authlib
|
||||||
8 network/courier-analog
|
8 network/courier-analog
|
||||||
8 network/courier
|
8 network/courier
|
||||||
|
@ -62,17 +68,16 @@
|
||||||
0 network/courier-imap
|
0 network/courier-imap
|
||||||
0 network/sqwebmail
|
0 network/sqwebmail
|
||||||
0 development/php
|
0 development/php
|
||||||
0 dbase/virtuoso-opensource
|
|
||||||
0 dbase/libiodbc
|
0 dbase/libiodbc
|
||||||
|
0 dbase/virtuoso-opensource
|
||||||
0 guibased/raptor
|
0 guibased/raptor
|
||||||
|
0 guibased/raptor2
|
||||||
0 guibased/rasqal
|
0 guibased/rasqal
|
||||||
0 guibased/redland
|
0 guibased/redland
|
||||||
0 network/procmail
|
0 network/procmail
|
||||||
0 multimedia/liblrdf
|
0 multimedia/liblrdf
|
||||||
0 multimedia/lv2core
|
0 multimedia/lv2core
|
||||||
0 multimedia/slv2
|
0 multimedia/slv2
|
||||||
0 multimedia/xmms
|
|
||||||
0 multimedia/xmms-sid
|
|
||||||
0 security/nspr
|
0 security/nspr
|
||||||
0 security/nss
|
0 security/nss
|
||||||
0 development/PyQt-x11-gpl
|
0 development/PyQt-x11-gpl
|
||||||
|
|
|
@ -93,16 +93,13 @@ mk32() {
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/lib64 -L/usr/lib64 -L/usr/X11R7/lib64 -liconv" \
|
LDFLAGS="-L/${LIBDIR} -L/usr/${LIBDIR} -L/usr/X11R7/${LIBDIR} -liconv" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--with-xml-prefix=/usr/$LIBDIR &&
|
--with-xml-prefix=/usr/$LIBDIR &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
|
@ -89,13 +89,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--target=$TARGET \
|
--target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc/sysconfig/iodbc \
|
--sysconfdir=/etc/sysconfig/iodbc \
|
||||||
|
|
|
@ -83,7 +83,9 @@ mk32() {
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr \
|
||||||
|
--enable-threadsafe \
|
||||||
|
--enable-dynamic-extensions
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make distclean
|
make distclean
|
||||||
|
@ -95,7 +97,9 @@ mk() {
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--libdir=\${prefix}/${LIBDIR} \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr \
|
||||||
|
--enable-threadsafe \
|
||||||
|
--enable-dynamic-extensions
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,11 +114,6 @@ mk() {
|
||||||
--enable-driver \
|
--enable-driver \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--sysconfdir=/etc/sysconfig/unixODBC
|
--sysconfdir=/etc/sysconfig/unixODBC
|
||||||
#if [ "$MK64BIT" == "true" ]; then
|
|
||||||
#sed -i -e "s/\/lib /\/lib64 /g" libtool
|
|
||||||
#sed -i -e "s/\/lib\"/\/lib64\"/g" libtool
|
|
||||||
#sed -i -e "s/\/lib\//\/lib64\//g" libtool
|
|
||||||
#fi
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU install &&
|
make -j $NUMCPU install &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -92,13 +92,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--target=$TARGET \
|
--target=$TARGET \
|
||||||
--prefix=/opt/Virtuoso \
|
--prefix=/opt/Virtuoso \
|
||||||
--enable-php5 \
|
--enable-php5 \
|
||||||
|
|
|
@ -78,23 +78,27 @@ mk32() {
|
||||||
CFLAGS="$BUILDOPTIONS32" \
|
CFLAGS="$BUILDOPTIONS32" \
|
||||||
CXXFLAGS="$BUILDOPTIONS32" \
|
CXXFLAGS="$BUILDOPTIONS32" \
|
||||||
USE_ARCH=32 \
|
USE_ARCH=32 \
|
||||||
|
QMAKESPEC=linux-g++-32 \
|
||||||
python configure.py --confirm-license
|
python configure.py --confirm-license
|
||||||
find . -name "Makefile" -exec sed -i "s/\((LFLAGS)\)/\1 -m32/" {} \;
|
find . -name "Makefile" -exec sed -i "s/\((LFLAGS)\)/\1 -m32/" {} \;
|
||||||
|
find . -name "Makefile" -exec sed -i "s/\(-shared\)/-m32 \1/g" {} \;
|
||||||
make -j $NUMCPU \
|
make -j $NUMCPU \
|
||||||
CFLAGS="$BUILDOPTIONS32" \
|
CFLAGS="$BUILDOPTIONS32" \
|
||||||
CXXFLAGS="$BUILDOPTIONS32" \
|
CXXFLAGS="$BUILDOPTIONS32" \
|
||||||
LDEMULATION="elf32_i386"
|
LDEMULATION="elf32_i386"
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
cd ..
|
#cd ..
|
||||||
rm -r PyQt-x11-gpl*
|
#rm -r PyQt-x11-gpl*
|
||||||
tar -xvf $SOURCE/$SRCPATH/PyQt-x11-gpl*.tar.*
|
#tar -xvf $SOURCE/$SRCPATH/PyQt-x11-gpl*.tar.*
|
||||||
cd PyQt-x11-gpl*
|
#cd PyQt-x11-gpl*
|
||||||
|
make clean
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CFLAGS="$BUILDOPTIONS" \
|
CFLAGS="$BUILDOPTIONS" \
|
||||||
CXXFLAGS="$BUILDOPTIONS" \
|
CXXFLAGS="$BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
|
QMAKESPEC=linux-g++-$UARCH \
|
||||||
python configure.py --confirm-license
|
python configure.py --confirm-license
|
||||||
make -j $NUMCPU \
|
make -j $NUMCPU \
|
||||||
CFLAGS="$BUILDOPTIONS -fPIC" \
|
CFLAGS="$BUILDOPTIONS -fPIC" \
|
||||||
|
|
|
@ -76,16 +76,13 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--with-motif-libraries=/usr/X11R7/lib64"
|
|
||||||
ldconfig
|
ldconfig
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS -ffriend-injection -fabi-version=0" \
|
||||||
LDFLAGS="-L/usr/X11R7/lib64" \
|
LDFLAGS="-L/usr/X11R7/lib64" \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--with-x \
|
--with-x \
|
||||||
$ADDOPTIONS \
|
--with-motif-libraries=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7
|
--prefix=/usr/X11R7
|
||||||
cp /usr/X11R7/include/Xm/XmP.h{,.orig}
|
cp /usr/X11R7/include/Xm/XmP.h{,.orig}
|
||||||
sed -i -e "s%\(#include <Xm/VendorSP.h>\)%//\1%" /usr/X11R7/include/Xm/XmP.h
|
sed -i -e "s%\(#include <Xm/VendorSP.h>\)%//\1%" /usr/X11R7/include/Xm/XmP.h
|
||||||
|
|
|
@ -99,14 +99,11 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr &&
|
--prefix=/usr &&
|
||||||
make local_prefix=/usr/share/ffcall &&
|
make local_prefix=/usr/share/ffcall &&
|
||||||
make prefix=$TMPROOT/usr local_prefix=$TMPROOT/usr/share/ffcall install
|
make prefix=$TMPROOT/usr local_prefix=$TMPROOT/usr/share/ffcall install
|
||||||
|
|
|
@ -83,15 +83,16 @@ premk() {
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -I/opt/PostgreSQL/include -L/opt/PostgreSQL/$LIBDIR" \
|
CC="gcc $BUILDOPTIONS -I/opt/PostgreSQL/include -L/opt/PostgreSQL/$LIBDIR" \
|
||||||
CXX="g++ $BUILDOPTIONS -I/opt/PostgreSQL/include -L/opt/PostgreSQL/$LIBDIR" \
|
CXX="g++ $BUILDOPTIONS -I/opt/PostgreSQL/include -L/opt/PostgreSQL/$LIBDIR" \
|
||||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -L/opt/PostgreSQL/$LIBDIR -L/opt/MySQL/$LIBDIR/mysql" \
|
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR \
|
||||||
|
-L/usr/X11R7/$LIBDIR \
|
||||||
|
-L/opt/PostgreSQL/$LIBDIR \
|
||||||
|
-L/opt/MySQL/$LIBDIR \
|
||||||
|
-lcrypt -lfontconfig" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-mysql=/opt/MySQL \
|
--with-mysql=/opt/MySQL \
|
||||||
|
@ -120,7 +121,7 @@ mk() {
|
||||||
--enable-gd-native-ttf \
|
--enable-gd-native-ttf \
|
||||||
--enable-dba \
|
--enable-dba \
|
||||||
--enable-gd-jis-conv
|
--enable-gd-jis-conv
|
||||||
sed -i -e "s%/opt/MySQL/lib/%/opt/MySQL/$LIBDIR/%g" Makefile
|
sed -i -e "s%/opt/MySQL/lib%/opt/MySQL/$LIBDIR%g" Makefile
|
||||||
sed -i -e "s%/usr/X11R7/lib%/usr/X11R7/$LIBDIR%g" Makefile
|
sed -i -e "s%/usr/X11R7/lib%/usr/X11R7/$LIBDIR%g" Makefile
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
mkdir -p $TMPROOT/etc/httpd
|
mkdir -p $TMPROOT/etc/httpd
|
||||||
|
|
|
@ -91,7 +91,7 @@ mk() {
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=\${prefix}/$LIBDIR
|
--libdir=\${prefix}/${LIBDIR}
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,7 @@ mk() {
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=\${prefix}/$LIBDIR
|
--libdir=\${prefix}/${LIBDIR}
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,6 +88,7 @@ mk32() {
|
||||||
LDEMULATION=elf32_i386
|
LDEMULATION=elf32_i386
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make clean
|
make clean
|
||||||
|
mv $TMPROOT/usr/bin/sip{,-32}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
@ -103,5 +104,8 @@ mk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
if [ $MK64BIT == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/sip{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/sip
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,8 +72,8 @@
|
||||||
SRCPATH=Development/Tools
|
SRCPATH=Development/Tools
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
#tar -jxvf $LFSSOURCE/$SRCPATH/subversion-deps*.tar.bz2 -C ..
|
installpkg -r expat
|
||||||
echo "Nothing to do for pemk()"
|
installpkg -i $DISTTARGET/Base/Lib/expat*.vpg
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
@ -84,9 +84,13 @@ mk() {
|
||||||
--with-editor=/usr/bin/vi \
|
--with-editor=/usr/bin/vi \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--libdir=\${prefix}/$LIBDIR \
|
--libdir=\${prefix}/$LIBDIR \
|
||||||
--prefix=/usr
|
--prefix=/usr \
|
||||||
|
--with-apr-util=/usr/bin/apu-1-config \
|
||||||
|
--with-sqlite=/usr \
|
||||||
|
--with-sasl=/usr \
|
||||||
|
--without-berkeley-db
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make
|
make install
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,13 +58,13 @@
|
||||||
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
||||||
# kümmern
|
# kümmern
|
||||||
|
|
||||||
#Module zur Erstellung des Packetes:
|
#Module zur Erstellung des Packetes: OpenSceneGraph
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: http://www.openscenegraph.org
|
||||||
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
||||||
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
||||||
#nicht!
|
#nicht!
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#
|
#High Performance 3D Grafik Toolkit
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author$
|
||||||
#Datum der letzten Änderung: $Date$
|
#Datum der letzten Änderung: $Date$
|
||||||
|
@ -99,7 +99,7 @@ premk() {
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
cmake -D CC="gcc $BUILDOPTIONS" \
|
cmake -D CC="gcc $BUILDOPTIONS" \
|
||||||
-D CXX="g++ $BUILDOPTIONS" \
|
-D CXX="g++ $BUILDOPTIONS -fabi-version=1" \
|
||||||
-D USE_ARCH=$UARCH \
|
-D USE_ARCH=$UARCH \
|
||||||
-D OPENGL_INCLUDE_DIR=/usr/X11R7/include \
|
-D OPENGL_INCLUDE_DIR=/usr/X11R7/include \
|
||||||
-D CMAKE_PREFIX_PATH=/usr/X11R7 \
|
-D CMAKE_PREFIX_PATH=/usr/X11R7 \
|
||||||
|
|
|
@ -116,6 +116,7 @@ postmk() {
|
||||||
cd $TMPROOT/usr/include
|
cd $TMPROOT/usr/include
|
||||||
ln -s ../X11R7/include/SDL SDL
|
ln -s ../X11R7/include/SDL SDL
|
||||||
ClearHostSysNameing $TMPROOT
|
ClearHostSysNameing $TMPROOT
|
||||||
|
# sed -i "s/.*#undef \(SDL_VIDEO_DRIVER_X11.* \).*$/#define \1 1/" $TMPROOT/usr/X11R7/include/SDL/SDL_config.h
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
mv $TMPROOT/usr/X11R7/bin/sdl-config{,-64}
|
mv $TMPROOT/usr/X11R7/bin/sdl-config{,-64}
|
||||||
ln -s /usr/bin/multiarch_wrapper $TMPROOT/usr/X11R7/bin/sdl-config
|
ln -s /usr/bin/multiarch_wrapper $TMPROOT/usr/X11R7/bin/sdl-config
|
||||||
|
|
|
@ -91,13 +91,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 &&
|
--prefix=/usr/X11R7 &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -92,16 +92,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
|
||||||
export LDFLAGS="-L/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/usr/X11R7/lib64" \
|
LDFLAGS="-L/usr/X11R7/${LIBDIR} -L/usr/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 &&
|
--prefix=/usr/X11R7 &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -91,14 +91,11 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 &&
|
--prefix=/usr/X11R7 &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -97,13 +97,10 @@ premk() {
|
||||||
#}
|
#}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
../SimGear*/configure --target=$TARGET \
|
../SimGear*/configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7
|
--prefix=/usr/X11R7
|
||||||
sed -e "s/^openal_LIBS.*$/openal_LIBS = -lm -lpthread -lopenal -lalut -ldl/" \
|
sed -e "s/^openal_LIBS.*$/openal_LIBS = -lm -lpthread -lopenal -lalut -ldl/" \
|
||||||
simgear/sound/Makefile >/tmp/Makefile
|
simgear/sound/Makefile >/tmp/Makefile
|
||||||
|
|
|
@ -85,6 +85,7 @@ mk32() {
|
||||||
./configure --build=$TARGET32 \
|
./configure --build=$TARGET32 \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
--enable-xcb \
|
--enable-xcb \
|
||||||
|
--enable-tee \
|
||||||
--enable-glitz &&
|
--enable-glitz &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
@ -101,6 +102,7 @@ mk() {
|
||||||
--libdir=/usr/X11R7/${LIBDIR} \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
--enable-xcb \
|
--enable-xcb \
|
||||||
|
--enable-tee \
|
||||||
--enable-glitz &&
|
--enable-glitz &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -107,15 +107,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--with-png \
|
--with-png \
|
||||||
--with-freetype \
|
--with-freetype \
|
||||||
--with-jpeg \
|
--with-jpeg \
|
||||||
|
|
|
@ -76,9 +76,9 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32 -I/opt/PostgreSQL/include" \
|
||||||
CXX="gcc $BUILDOPTIONS32" \
|
CXX="gcc $BUILDOPTIONS32 -I/opt/PostgreSQL/include" \
|
||||||
LDFLAGS="-L/opt/MySQL/lib" \
|
LDFLAGS="-L/opt/MySQL/lib -L/opt/PostgreSQL/lib" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--enable-relocatable \
|
--enable-relocatable \
|
||||||
|
@ -92,17 +92,14 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CC="gcc $BUILDOPTIONS -I/opt/PostgreSQL/include" \
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
CXX="g++ $BUILDOPTIONS -I/opt/PostgreSQL/include" \
|
||||||
fi
|
LDFLAGS="-L/usr/X11R7/$LIBDIR -L/opt/PostgreSQL/${LIBDIR}" \
|
||||||
CC="gcc $BUILDOPTIONS" \
|
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
|
||||||
LDFLAGS="-L/usr/X11R7/$LIBDIR" \
|
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --enable-relocatable \
|
./configure --enable-relocatable \
|
||||||
--enable-security \
|
--enable-security \
|
||||||
--with-x \
|
--with-x \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7
|
--prefix=/usr/X11R7
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
touch gnokii/$TARGET
|
touch gnokii/$TARGET
|
||||||
|
|
|
@ -93,15 +93,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="gcc $BUILDOPTIONS -fPIC" \
|
CXX="gcc $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
LDFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
LDFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7
|
--prefix=/usr/X11R7
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -80,6 +80,9 @@ premk() {
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
|
for i in makefiles/*; do
|
||||||
|
sed -i "s/-lXp //g" $i
|
||||||
|
done
|
||||||
yes|make -j $NUMCPU \
|
yes|make -j $NUMCPU \
|
||||||
CC="gcc $BUILDOPTIONS -I/usr/X11R7/include" \
|
CC="gcc $BUILDOPTIONS -I/usr/X11R7/include" \
|
||||||
CXX="g++ $BUILDOPTIONS -I/usr/X11R7/include" \
|
CXX="g++ $BUILDOPTIONS -I/usr/X11R7/include" \
|
||||||
|
|
|
@ -86,13 +86,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
103
SysBuild/guibased/raptor2
Normal file
103
SysBuild/guibased/raptor2
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL$
|
||||||
|
#
|
||||||
|
#(c) 2003 Harald Kueller, Germany
|
||||||
|
#This program is free software; you can redistribute it and/or
|
||||||
|
#modify ist under the terms of the GNU General Public License
|
||||||
|
#as published by the Free Software Foundation; either version
|
||||||
|
#2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
#See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU General Public License
|
||||||
|
#along with this program; if not write to the Free Software Foundation,
|
||||||
|
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
#
|
||||||
|
#Dies ist ein Module zur Verwendung mit genpkg. Die Erzeugung eines
|
||||||
|
#Viitor Linux Packetes wird über die Funktionen premk, mk und postmk
|
||||||
|
#gesteuert. premk() dient zur Vorbereitung des Sourcecodes. Hier können
|
||||||
|
#diverse Änderungen am sourcecode (mit awk/sed usw.) vorgenommen werden
|
||||||
|
#mk() umfasst die source Konfiguration und das Übersetzten des source
|
||||||
|
#codes. Auch die Installation muß von mk erledigt werden. Hier gild dass
|
||||||
|
#die Installation immer nach $TMPROOT erfolgen soll (meisst kann das mit
|
||||||
|
#"make DESTDIR=$TMPROOT install" angestossen werden). postmk kann
|
||||||
|
#vor der packeterstellung noch einiges am installationtree ändern. postmk
|
||||||
|
#läuft nachdem die Packetabhängigkeiten erstellt wurden.
|
||||||
|
#Das Verhalten von genpkg kann über die Variable MKPKG gesteuert werden.
|
||||||
|
#Hier müssen FLAGS zur Steuerung gesetzt werden. Folgende Flags werden
|
||||||
|
#erkannt:
|
||||||
|
#
|
||||||
|
# 1 : Package Erzeugung erzwingen. Packet wird, auch wenn es schon
|
||||||
|
# vorhanden ist, ohne weitere rückfragen neu Erzeugt.
|
||||||
|
# 2 : Package Installation erzwingen. Installpkg wird mit -f aufgerufen.
|
||||||
|
# Das bewirkt, das installpkg keine rückfragen bei der installation
|
||||||
|
# Stellt, und das packet in jedemfall (neu) installiert.
|
||||||
|
# 4 : Sourcepacket nicht nach MAKEDIR entpacken. Ist dieses Flag gesetzt
|
||||||
|
# muss sich das Module selber um das Entpacken der sourcedateien kümmern.
|
||||||
|
# vor allem wichtig bei Packeten, für die es keine source.tgz gibt
|
||||||
|
# (z.B. aus dem CVS generierte Packete).
|
||||||
|
# 8 : Erstellung des Packetes aus $TMPROOT wird unterdrückt. Dies ist bei
|
||||||
|
# manchen Sonderfällen möglich - wenn sich z.B. der Packetnamen nicht
|
||||||
|
# aus dem Namen des sourcearchives ableiten lässt. Packet sollte in
|
||||||
|
# so einem Fall in der postmk() Funktion erstellt werden.
|
||||||
|
# 16 : Packet wird nicht installiert. Bei Packeten wie tar oder bash kann
|
||||||
|
# die installation mittelst installpkg probleme machen.
|
||||||
|
# 32 : Dependics File so erzeugen, das die Abhängigkeiten bei der installation
|
||||||
|
# erfüllt sein müssen. installpkg bricht in so einem fall bei fehlenden
|
||||||
|
# packeten die installation ab, und gibt nicht "nur" warnmeldungen aus.
|
||||||
|
# Wichtig bei packeten mit postinstallroutine, die software aus dem
|
||||||
|
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
||||||
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
|
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
||||||
|
# kümmern
|
||||||
|
|
||||||
|
#Module zur Erstellung des Packetes: raptor2
|
||||||
|
#Quelle der Source Archive: http://download.librdf.org/source/
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
# libraptor for parsing and serializing RDF syntaxes
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: $
|
||||||
|
#Version der Datei: $Rev: 5984 $
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=GuiBased/Lib
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=32 \
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make distclean
|
||||||
|
mv $TMPROOT/usr/bin/raptor-config{,-32}
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc $BUILDOPTIONS" \
|
||||||
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
|
--prefix=/usr
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/raptor-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/raptor-config
|
||||||
|
fi
|
||||||
|
}
|
|
@ -85,13 +85,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -93,7 +93,7 @@ mk() {
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-postgresql=no \
|
--with-postgresql=no \
|
||||||
--with-virtuoso=no
|
--with-virtuoso=no
|
||||||
|
|
|
@ -86,6 +86,7 @@ mk() {
|
||||||
# Den \ nicht vergessen !
|
# Den \ nicht vergessen !
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/usr/X11R7/${LIBDIR}" \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
||||||
# kümmern
|
# kümmern
|
||||||
|
|
||||||
#Module zur Erstellung des Packetes:
|
#Module zur Erstellung des Packetes: alsa-lib
|
||||||
#Quelle der Source Archive: http://alsa-project.org
|
#Quelle der Source Archive: http://alsa-project.org
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#alsa sound libraries
|
#alsa sound libraries
|
||||||
|
|
|
@ -78,13 +78,10 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-xmlto
|
--disable-xmlto
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -58,13 +58,13 @@
|
||||||
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
# 128 : Patches zu den Sourcen nicht einspielen - Module muss sich darum
|
||||||
# kümmern
|
# kümmern
|
||||||
|
|
||||||
#Module zur Erstellung des Packetes:
|
#Module zur Erstellung des Packetes: alsa-utils
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: http://alsa-project.org
|
||||||
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
||||||
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
||||||
#nicht!
|
#nicht!
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#
|
#Tools zur Einrichtung und Konfiguration von alsa soundtreibern
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author$
|
||||||
#Datum der letzten Änderung: $Date: $
|
#Datum der letzten Änderung: $Date: $
|
||||||
|
|
|
@ -89,13 +89,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -85,9 +85,9 @@ mk32() {
|
||||||
../gst-plugins-good*/configure --build=$TARGET32 \
|
../gst-plugins-good*/configure --build=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=/usr/lib/gst-plugins
|
--libexecdir=/usr/lib/gst-plugins
|
||||||
make -k -j $NUMCPU LDEMULATION=elf32_i386
|
make -j $NUMCPU LDEMULATION=elf32_i386
|
||||||
make -j $NUMCPU LDEMULATION=elf32_i386 install
|
make -j $NUMCPU LDEMULATION=elf32_i386 install
|
||||||
make -k -j $NUMCPU LDEMULATION=elf32_i386 DESTDIR=$TMPROOT install
|
make -j $NUMCPU LDEMULATION=elf32_i386 DESTDIR=$TMPROOT install
|
||||||
cd ../gst-plugins-good*
|
cd ../gst-plugins-good*
|
||||||
rm -r ../build-gstplugins
|
rm -r ../build-gstplugins
|
||||||
mkdir ../build-gstplugins
|
mkdir ../build-gstplugins
|
||||||
|
@ -95,14 +95,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
|
LDFLAGS="-L/${LIBDIR} -L/usr/X11R7/${LIBDIR} -L/usr/${LIBDIR} -L/opt/gnome/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
../gst-plugins-good*/configure --prefix=/usr \
|
../gst-plugins-good*/configure --prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--libexecdir=/usr/$LIBDIR/gst-plugins
|
--libexecdir=/usr/$LIBDIR/gst-plugins
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
|
|
|
@ -89,14 +89,11 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
LDFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
LDFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -85,13 +85,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7
|
--prefix=/usr/X11R7
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
sed -i "s/athlon-xp/k8/" src/Makefile
|
sed -i "s/athlon-xp/k8/" src/Makefile
|
||||||
|
|
|
@ -88,13 +88,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -77,6 +77,7 @@ premk() {
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
LDFLAGS="-L/usr/X11R7/lib" \
|
||||||
USE_ARCH=32 \
|
USE_ARCH=32 \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libexecdir=/usr/lib/linphone
|
--libexecdir=/usr/lib/linphone
|
||||||
|
@ -86,13 +87,11 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/usr/X11R7/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=/usr/$LIBDIR/linphone
|
--libexecdir=/usr/$LIBDIR/linphone
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -85,13 +85,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -75,13 +75,11 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
make CC="gcc $BUILDOPTIONS" \
|
make CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-liconv"
|
LDFLAGS="-liconv" \
|
||||||
make -j $NUMCPU PREFIX=$TMPROOT install
|
-j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
|
|
@ -93,15 +93,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
export LDFLAGS="-L/lib64 -L/usr/lib64 -L/usr/X11R7/lib64 -L/opt/gnome/lib64"
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/${LIBDIR} -L/usr/${LIBDIR} -L/usr/X11R7/${LIBDIR} -L/opt/gnome/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--with-x
|
--with-x
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -94,15 +94,14 @@ mk() {
|
||||||
--enable-menu \
|
--enable-menu \
|
||||||
--enable-fribidi \
|
--enable-fribidi \
|
||||||
--enable-rpath \
|
--enable-rpath \
|
||||||
--enable-xmms \
|
|
||||||
--with-vidix-drivers=cyberblade,ivtv,mach64,mga,mga_crtc2,nvidia,pm2,pm3,radeon,rage128,s3,sis,unichrome \
|
--with-vidix-drivers=cyberblade,ivtv,mach64,mga,mga_crtc2,nvidia,pm2,pm3,radeon,rage128,s3,sis,unichrome \
|
||||||
--enable-gl \
|
--enable-gl \
|
||||||
--enable-runtime-cpudetection
|
--enable-runtime-cpudetection
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
#if [ "$MK64BIT" == "true" ]; then
|
||||||
sed -i "s/\(EXTRALIBS.*\)\(\/libxmms.so.1\)/\164\2 -lfribidi/" config.mak
|
#sed -i "s/\(EXTRALIBS.*\)\(\/libxmms.so.1\)/\164\2 -lfribidi/" config.mak
|
||||||
else
|
#else
|
||||||
sed -i "s/\(EXTRALIBS.*\)\(\/libxmms.so.1\)/\1\2 -lfribidi/" config.mak
|
#sed -i "s/\(EXTRALIBS.*\)\(\/libxmms.so.1\)/\1\2 -lfribidi/" config.mak
|
||||||
fi
|
#fi
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make CFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -L/opt/gnome/$LIBDIR" \
|
make CFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -L/opt/gnome/$LIBDIR" \
|
||||||
DESTDIR=$TMPROOT install
|
DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -77,6 +77,8 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
|
yes|USE_ARCH=$UARCH LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
||||||
|
python config.py
|
||||||
yes|USE_ARCH=$UARCH LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
yes|USE_ARCH=$UARCH LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
||||||
python setup.py install --root $TMPROOT
|
python setup.py install --root $TMPROOT
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -86,7 +88,9 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
yes|USE_ARCH=$UARCH LDFLAGS="-L/lib64 -L/usr/lib64 -L/usr/X11R7/lib64" \
|
yes|USE_ARCH=$UARCH LDFLAGS="-L/${LIBDIR} -L/usr/${LIBDIR} -L/usr/X11R7/${LIBDIR}" \
|
||||||
|
python config.py
|
||||||
|
yes|USE_ARCH=$UARCH LDFLAGS="-L/${LIBDIR} -L/usr/${LIBDIR} -L/usr/X11R7/${LIBDIR}" \
|
||||||
python setup.py install --root $TMPROOT
|
python setup.py install --root $TMPROOT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,13 +79,11 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -L/opt/qt-4/$LIBDIR" \
|
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -L/opt/qt-4/$LIBDIR" \
|
||||||
./configure $ADDOPTIONS \
|
QMAKESPEC=linux-g++-$UARCH \
|
||||||
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
--with-qt=/opt/qt-4
|
--with-qt=/opt/qt-4
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -89,14 +89,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/usr/X11R7/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 &&
|
--prefix=/usr/X11R7 &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -91,6 +91,7 @@ mk() {
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
|
LDFLAGS="-L/usr/${LIBDIR} -L/usr/X11R7/${LIBDIR}" \
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/$LIBDIR
|
--libdir=/usr/$LIBDIR
|
||||||
|
|
|
@ -85,20 +85,18 @@ mk32() {
|
||||||
--with-distro=none \
|
--with-distro=none \
|
||||||
--disable-qt3 \
|
--disable-qt3 \
|
||||||
--disable-gdbm \
|
--disable-gdbm \
|
||||||
--disable-mono
|
--disable-mono \
|
||||||
|
--enable-introspection=no
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-distro=none \
|
--with-distro=none \
|
||||||
--disable-qt3 \
|
--disable-qt3 \
|
||||||
|
|
|
@ -76,9 +76,6 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/opt/courier/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/usr/lib64" \
|
LDFLAGS="-L/usr/lib64" \
|
||||||
|
@ -86,7 +83,7 @@ mk() {
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--sysconfdir=/etc/courier \
|
--sysconfdir=/etc/courier \
|
||||||
--disable-root-check \
|
--disable-root-check \
|
||||||
$ADDOPTIONS \
|
--libdir=/opt/courier/${LIBDIR} \
|
||||||
--prefix=/opt/courier
|
--prefix=/opt/courier
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -83,8 +83,8 @@ mk32() {
|
||||||
./configure --build=$TARGET32 \
|
./configure --build=$TARGET32 \
|
||||||
--with-authuserdb \
|
--with-authuserdb \
|
||||||
--with-authmysql \
|
--with-authmysql \
|
||||||
--with-mysql-libs=/opt/MySQL/lib/mysql \
|
--with-mysql-libs=/opt/MySQL/lib \
|
||||||
--with-mysql-includes=/opt/MySQL/include/mysql \
|
--with-mysql-includes=/opt/MySQL/include \
|
||||||
--sysconfdir=/etc/courier \
|
--sysconfdir=/etc/courier \
|
||||||
--libexecdir=/usr/sbin \
|
--libexecdir=/usr/sbin \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -97,9 +97,6 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
|
@ -107,10 +104,10 @@ mk() {
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--with-authuserdb \
|
--with-authuserdb \
|
||||||
--with-authmysql \
|
--with-authmysql \
|
||||||
--with-mysql-libs=/opt/MySQL/$LIBDIR/mysql \
|
--with-mysql-libs=/opt/MySQL/$LIBDIR \
|
||||||
--with-mysql-includes=/opt/MySQL/include/mysql \
|
--with-mysql-includes=/opt/MySQL/include \
|
||||||
--sysconfdir=/etc/courier \
|
--sysconfdir=/etc/courier \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--libexecdir=/usr/sbin \
|
--libexecdir=/usr/sbin \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -76,9 +76,6 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/opt/courier/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/usr/lib64" \
|
LDFLAGS="-L/usr/lib64" \
|
||||||
|
@ -86,7 +83,7 @@ mk() {
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--sysconfdir=/etc/courier \
|
--sysconfdir=/etc/courier \
|
||||||
--disable-root-check \
|
--disable-root-check \
|
||||||
$ADDOPTIONS \
|
--libdir=/opt/courier/${LIBDIR} \
|
||||||
--prefix=/opt/courier
|
--prefix=/opt/courier
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -83,8 +83,8 @@ mk32() {
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--with-dspam-group=daemon \
|
--with-dspam-group=daemon \
|
||||||
--with-storage-driver=mysql_drv,pgsql_drv,hash_drv \
|
--with-storage-driver=mysql_drv,pgsql_drv,hash_drv \
|
||||||
--with-mysql-includes=/opt/MySQL/include/mysql \
|
--with-mysql-includes=/opt/MySQL/include \
|
||||||
--with-mysql-libraries=/opt/MySQL/lib/mysql \
|
--with-mysql-libraries=/opt/MySQL/lib \
|
||||||
--with-pgsql-includes=/opt/PostgreSQL/include \
|
--with-pgsql-includes=/opt/PostgreSQL/include \
|
||||||
--with-pgsql-libraries=/opt/PostgreSQL/lib \
|
--with-pgsql-libraries=/opt/PostgreSQL/lib \
|
||||||
--enable-delivery-to-stdout \
|
--enable-delivery-to-stdout \
|
||||||
|
@ -103,8 +103,8 @@ mk32() {
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--libdir=/opt/dspam/lib \
|
--libdir=/opt/dspam/lib \
|
||||||
--prefix=/opt/dspam
|
--prefix=/opt/dspam
|
||||||
make -j $NUMCPU
|
make
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,8 +116,8 @@ mk() {
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--with-dspam-group=daemon \
|
--with-dspam-group=daemon \
|
||||||
--with-storage-driver=mysql_drv,pgsql_drv,hash_drv \
|
--with-storage-driver=mysql_drv,pgsql_drv,hash_drv \
|
||||||
--with-mysql-includes=/opt/MySQL/include/mysql \
|
--with-mysql-includes=/opt/MySQL/include \
|
||||||
--with-mysql-libraries=/opt/MySQL/$LIBDIR/mysql \
|
--with-mysql-libraries=/opt/MySQL/$LIBDIR \
|
||||||
--with-pgsql-includes=/opt/PostgreSQL/include \
|
--with-pgsql-includes=/opt/PostgreSQL/include \
|
||||||
--with-pgsql-libraries=/opt/PostgreSQL/$LIBDIR \
|
--with-pgsql-libraries=/opt/PostgreSQL/$LIBDIR \
|
||||||
--enable-delivery-to-stdout \
|
--enable-delivery-to-stdout \
|
||||||
|
@ -136,11 +136,8 @@ mk() {
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--libdir=/opt/dspam/$LIBDIR \
|
--libdir=/opt/dspam/$LIBDIR \
|
||||||
--prefix=/opt/dspam
|
--prefix=/opt/dspam
|
||||||
|
make
|
||||||
# --enable-verbose-debug only for test systems
|
make DESTDIR=$TMPROOT install
|
||||||
|
|
||||||
make -j $NUMCPU
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
|
|
@ -82,7 +82,7 @@ mk32() {
|
||||||
./configure --build=$TARGET32 \
|
./configure --build=$TARGET32 \
|
||||||
--bindir=/usr/X11R7/bin \
|
--bindir=/usr/X11R7/bin \
|
||||||
--sbindir=/usr/X11R7/sbin \
|
--sbindir=/usr/X11R7/sbin \
|
||||||
--libexecdir=/usr/X11R7/libexec \
|
--libexecdir=/usr/X11R7/lib/ethereal \
|
||||||
--datadir=/usr/X11R7/share \
|
--datadir=/usr/X11R7/share \
|
||||||
--sysconfdir=/etc/sysconfig \
|
--sysconfdir=/etc/sysconfig \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
@ -103,7 +103,7 @@ mk() {
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--bindir=/usr/X11R7/bin \
|
--bindir=/usr/X11R7/bin \
|
||||||
--sbindir=/usr/X11R7/sbin \
|
--sbindir=/usr/X11R7/sbin \
|
||||||
--libexecdir=/usr/X11R7/libexec \
|
--libexecdir=/usr/X11R7/${LIBDIR}/ethereal \
|
||||||
--datadir=/usr/X11R7/share \
|
--datadir=/usr/X11R7/share \
|
||||||
--sysconfdir=/etc/sysconfig \
|
--sysconfdir=/etc/sysconfig \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
|
|
@ -101,7 +101,6 @@ mk32() {
|
||||||
--with-qt-dir=/opt/qt-4 \
|
--with-qt-dir=/opt/qt-4 \
|
||||||
--enable-nativ-uconf \
|
--enable-nativ-uconf \
|
||||||
--enable-image-decoders=all \
|
--enable-image-decoders=all \
|
||||||
--enable-system-sqlite \
|
|
||||||
--enable-safe-browsing \
|
--enable-safe-browsing \
|
||||||
--enable-url-classifier \
|
--enable-url-classifier \
|
||||||
--enable-svg \
|
--enable-svg \
|
||||||
|
@ -121,32 +120,28 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
LDFLAGS="-L/${LIBDIR} -L/usr/${LIBDIR} -L/usr/X11R7/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
../mozilla*/configure --build=$TARGET \
|
../mozilla*/configure --build=$TARGET \
|
||||||
--prefix=/opt/firefox \
|
--prefix=/opt/firefox \
|
||||||
--libexecdir=/opt/firefox/bin \
|
--libexecdir=/opt/firefox/bin \
|
||||||
--sysconfdir=/etc/sysconfig/firefox \
|
--sysconfdir=/etc/sysconfig/firefox \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--x-includes=/usr/X11R7/include \
|
--x-includes=/usr/X11R7/include \
|
||||||
--x-libraries=/usr/X11R7/$LIBDIR \
|
--x-libraries=/usr/X11R7/${LIBDIR} \
|
||||||
--with-x \
|
--with-x \
|
||||||
--with-system-jpeg \
|
--with-system-jpeg \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--with-system-bz2 \
|
--with-system-bz2 \
|
||||||
--with-java-include-path=/usr/$LIBDIR/jdk/include \
|
--with-java-include-path=/usr/${LIBDIR}/jdk/include \
|
||||||
--with-java-bin-path=/usr/$LIBDIR/jdk/bin \
|
--with-java-bin-path=/usr/${LIBDIR}/jdk/bin \
|
||||||
--enable-application=browser \
|
--enable-application=browser \
|
||||||
--enable-startup-notification \
|
--enable-startup-notification \
|
||||||
--with-qt-dir=/opt/qt-4 \
|
--with-qt-dir=/opt/qt-4 \
|
||||||
--enable-nativ-uconf \
|
--enable-nativ-uconf \
|
||||||
--enable-image-decoders=all \
|
--enable-image-decoders=all \
|
||||||
--enable-system-sqlite \
|
|
||||||
--enable-safe-browsing \
|
--enable-safe-browsing \
|
||||||
--enable-url-classifier \
|
--enable-url-classifier \
|
||||||
--enable-svg \
|
--enable-svg \
|
||||||
|
|
|
@ -79,14 +79,11 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7
|
--prefix=/usr/X11R7
|
||||||
sed -i "s/-lssl/\/usr\/$LIBDIR\/libssl.a/g" src/gtk/Makefile
|
sed -i "s/-lssl/\/usr\/$LIBDIR\/libssl.a/g" src/gtk/Makefile
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -99,12 +99,9 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/opt/apache2/lib64"
|
|
||||||
export LDFLAGS="-L/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/usr/lib -L/usr/X11R7/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--sysconfdir=/etc/httpd \
|
--sysconfdir=/etc/httpd \
|
||||||
|
@ -117,7 +114,7 @@ mk() {
|
||||||
--with-apxs2=/opt/apache2/bin/apxs \
|
--with-apxs2=/opt/apache2/bin/apxs \
|
||||||
--with-mysql=/opt/MySQL/ \
|
--with-mysql=/opt/MySQL/ \
|
||||||
--with-pgsql=/opt/PostgreSQL \
|
--with-pgsql=/opt/PostgreSQL \
|
||||||
$ADDOPTIONS \
|
--libdir=/opt/apache2/${LIBDIR} \
|
||||||
--prefix=/opt/apache2
|
--prefix=/opt/apache2
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -76,18 +76,15 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/$LIBDIR/sasl2 \
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/$LIBDIR/sasl2 \
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LIBS="-L/opt/MySQL/$LIBDIR/mysql -lmysqlclient \
|
LIBS="-L/opt/MySQL/$LIBDIR -lmysqlclient \
|
||||||
-L/usr/$LIBDIR/sasl2 -lgssapiv2 -lgssapi_krb5" \
|
-L/usr/$LIBDIR/sasl2 -lgssapiv2 -lgssapi_krb5" \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--with-extra-include-path=/opt/MySQL/include/mysql/:/opt/PostgreSQL/include/ \
|
--with-extra-include-path=/opt/MySQL/include/mysql/:/opt/PostgreSQL/include/ \
|
||||||
--with-extra-library-path=/opt/MySQL/$LIBDIR/mysql/:/opt/PostgreSQL/$LIBDIR/ \
|
--with-extra-library-path=/opt/MySQL/$LIBDIR/:/opt/PostgreSQL/$LIBDIR/ \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--enable-ssl \
|
--enable-ssl \
|
||||||
--enable-mysql \
|
--enable-mysql \
|
||||||
|
|
|
@ -76,9 +76,6 @@ premk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/opt/courier/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
LDFLAGS="-L/usr/lib64" \
|
LDFLAGS="-L/usr/lib64" \
|
||||||
|
@ -86,7 +83,7 @@ mk() {
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
--sysconfdir=/etc/courier \
|
--sysconfdir=/etc/courier \
|
||||||
--disable-root-check \
|
--disable-root-check \
|
||||||
$ADDOPTIONS \
|
--libdir=/opt/courier/${LIBDIR} \
|
||||||
--prefix=/opt/courier \
|
--prefix=/opt/courier \
|
||||||
--enable-cgibindir=/opt/apache2/cgi-bin \
|
--enable-cgibindir=/opt/apache2/cgi-bin \
|
||||||
--enable-imagedir=/opt/apache2/htdocs
|
--enable-imagedir=/opt/apache2/htdocs
|
||||||
|
|
|
@ -69,138 +69,24 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 4 ))
|
||||||
SRCPATH=Network/Clients
|
SRCPATH=Network/Clients
|
||||||
SRCDIR=mozilla
|
SRCDIR=comm
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir ../build-thunderbird
|
mkdir $TMPROOT/opt
|
||||||
cd ../build-thunderbird
|
|
||||||
}
|
|
||||||
|
|
||||||
mk32() {
|
|
||||||
NSPR_CONFIG=/usr/X11R7/bin/nspr-config-32 \
|
|
||||||
NSS_CONFIG=/usr/X11R7/bin/nss-config-32 \
|
|
||||||
FT2_CONFIG=/usr/X11R7/bin/freetype-config-32 \
|
|
||||||
CC="gcc $BUILDOPTIONS32 \
|
|
||||||
-I/usr/X11R7/include/nss \
|
|
||||||
-I/usr/X11R7/include/nspr \
|
|
||||||
-I/usr/X11R7/include/cairo \
|
|
||||||
-lX11 \
|
|
||||||
-lXrender \
|
|
||||||
-L/usr/X11R7/lib" \
|
|
||||||
CXX="g++ $BUILDOPTIONS32 \
|
|
||||||
-I/usr/X11R7/include/nspr \
|
|
||||||
-I/usr/X11R7/include/nss \
|
|
||||||
-I/usr/X11R7/include/cairo \
|
|
||||||
-lX11 \
|
|
||||||
-lXrender \
|
|
||||||
-L/usr/X11R7/lib" \
|
|
||||||
LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
|
||||||
USE_ARCH=$UARCH \
|
|
||||||
../mozilla*/configure --host=$TARGET32 \
|
|
||||||
--build=$TARGET32 \
|
|
||||||
--prefix=/opt/thunderbird \
|
|
||||||
--with-nspr-prefix=/usr/X11R7 \
|
|
||||||
--with-nss-prefix=/usr/X11R7 \
|
|
||||||
--with-system-nspr \
|
|
||||||
--with-system-nss \
|
|
||||||
--with-system-bz2 \
|
|
||||||
--with-system-jpeg \
|
|
||||||
--with-system-png \
|
|
||||||
--with-system-zlib \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-installer \
|
|
||||||
--disable-xprint \
|
|
||||||
--disable-tests \
|
|
||||||
--enable-canvas \
|
|
||||||
--enable-default-toolkit=gtk2 \
|
|
||||||
--enable-safe-browsing \
|
|
||||||
--enable-svg \
|
|
||||||
--enable-system-cairo \
|
|
||||||
--enable-system-sqlite \
|
|
||||||
--host=$TARGET32 \
|
|
||||||
--build=$TARGET32 \
|
|
||||||
--enable-application=mail
|
|
||||||
make -j $NUMCPU OS_TEST=x86
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT OS_TEST=x86 install
|
|
||||||
cd ../mozilla*
|
|
||||||
rm -r ../build-thunderbird
|
|
||||||
mkdir ../build-thunderbird
|
|
||||||
cd ../build-thunderbird
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ $MK64BIT == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
UnPack $TMPROOT/opt $LFSSOURCE/$SRCPATH/miramar-64-*.tar.bz2
|
||||||
|
else
|
||||||
|
UnPack $TMPROOT/opt $LFSSOURCE/$SRCPATH/miramar-32-*.tar.bz2
|
||||||
fi
|
fi
|
||||||
USE_ARCH=$UARCH \
|
|
||||||
NSPR_CONFIG=/usr/X11R7/bin/nspr-config \
|
|
||||||
NSS_CONFIG=/usr/X11R7/bin/nss-config \
|
|
||||||
FT2_CONFIG=/usr/X11R7/bin/freetype-config \
|
|
||||||
CC="gcc $BUILDOPTIONS \
|
|
||||||
-I/usr/X11R7/include/nss \
|
|
||||||
-I/usr/X11R7/include/nspr \
|
|
||||||
-I/usr/X11R7/include/cairo \
|
|
||||||
-I/usr/$LIBDIR/glib-2.0/include \
|
|
||||||
-lX11 \
|
|
||||||
-lXrender \
|
|
||||||
-L/usr/X11R7/$LIBDIR" \
|
|
||||||
CXX="g++ $BUILDOPTIONS \
|
|
||||||
-I/usr/X11R7/include/nspr \
|
|
||||||
-I/usr/X11R7/include/nss \
|
|
||||||
-I/usr/X11R7/include/cairo \
|
|
||||||
-I/usr/$LIBDIR/glib-2.0/include \
|
|
||||||
-lX11 \
|
|
||||||
-lXrender \
|
|
||||||
-L/usr/X11R7/$LIBDIR" \
|
|
||||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
|
||||||
../mozilla*/configure --host=$TARGET \
|
|
||||||
--build=$TARGET \
|
|
||||||
--prefix=/opt/thunderbird \
|
|
||||||
$ADDOPTIONS \
|
|
||||||
--with-nspr-prefix=/usr/X11R7 \
|
|
||||||
--with-nss-prefix=/usr/X11R7 \
|
|
||||||
--with-system-nspr \
|
|
||||||
--with-system-nss \
|
|
||||||
--with-system-bz2 \
|
|
||||||
--with-system-jpeg \
|
|
||||||
--with-system-png \
|
|
||||||
--with-system-zlib \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-installer \
|
|
||||||
--disable-xprint \
|
|
||||||
--disable-tests \
|
|
||||||
--enable-canvas \
|
|
||||||
--enable-default-toolkit=gtk2 \
|
|
||||||
--enable-safe-browsing \
|
|
||||||
--enable-svg \
|
|
||||||
--enable-system-cairo \
|
|
||||||
--enable-system-sqlite \
|
|
||||||
--host=$TARGET \
|
|
||||||
--build=$TARGET \
|
|
||||||
--enable-application=mail
|
|
||||||
make -j $NUMCPU
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_thunderbird $TMPROOT
|
GetSVN Viitor_thunderbird $TMPROOT
|
||||||
cd ../mozilla*
|
echo "pref(\"network.protocol-handler.app.http\", \"firefox\");" >>$TMPROOT/opt/thunderbird/defaults/pref/all-thunderbird.js
|
||||||
rm -r ../build-thunderbird
|
echo "pref(\"network.protocol-handler.app.https\", \"firefox\");" >>$TMPROOT/opt/thunderbird/defaults/pref/all-thunderbird.js
|
||||||
echo "pref(\"network.protocol-handler.app.http\", \"firefox\");" >>$TMPROOT/opt/thunderbird/lib/thunderbird*/defaults/pref/all-thunderbird.js
|
|
||||||
echo "pref(\"network.protocol-handler.app.https\", \"firefox\");" >>$TMPROOT/opt/thunderbird/lib/thunderbird*/defaults/pref/all-thunderbird.js
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
cd $TMPROOT/opt/thunderbird/lib64
|
|
||||||
ln -s thunderbird-[0-9]* thunderbird
|
|
||||||
cd -
|
|
||||||
cd $TMPROOT/opt/thunderbird/include
|
|
||||||
ln -s thunderbird* thunderbird
|
|
||||||
cd -
|
|
||||||
fi
|
|
||||||
cd $TMPROOT/opt/thunderbird/lib
|
|
||||||
ln -s thunderbird-[0-9]* thunderbird
|
|
||||||
cd -
|
|
||||||
cd $TMPROOT/opt/thunderbird/include
|
|
||||||
ln -s thunderbird* thunderbird
|
|
||||||
cd -
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,18 +77,16 @@ SRCDIR=vnc_unixsrc
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/X11R7/share/man
|
mkdir -p $TMPROOT/usr/X11R7/share/man
|
||||||
ln -s X11R7 $TMPROOT/usr/X11R6
|
ln -s X11R7 $TMPROOT/usr/X11R6
|
||||||
|
cp /usr/X11R7/${LIBDIR}/X11/config/* /usr/local/include
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
for i in libvncauth vncconnect vncpasswd vncviewer; do
|
|
||||||
cd $i
|
|
||||||
xmkmf
|
xmkmf
|
||||||
make -j 8 -k
|
find . -type f -exec sed -i "s/-lXp$//" {} \;
|
||||||
cd ..
|
make -j $NUMCPU World
|
||||||
done
|
|
||||||
cd Xvnc
|
cd Xvnc
|
||||||
./configure
|
./configure
|
||||||
make -j 8
|
make
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
cd ..
|
cd ..
|
||||||
./vncinstall $TMPROOT/usr/X11R7/bin $TMPROOT/usr/X11R7/share/man
|
./vncinstall $TMPROOT/usr/X11R7/bin $TMPROOT/usr/X11R7/share/man
|
||||||
|
|
|
@ -72,36 +72,18 @@
|
||||||
SRCPATH=Security/Lib
|
SRCPATH=Security/Lib
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
cd mozilla/security/coreconf
|
|
||||||
mkdir -p $TMPROOT/usr/X11R7/{include,bin,lib}
|
mkdir -p $TMPROOT/usr/X11R7/{include,bin,lib}
|
||||||
|
sed -i "s%\(CC.*= gcc\)%\1 -I /usr/X11R7/include/nspr%" mozilla/security/coreconf/Linux.mk
|
||||||
|
sed -i "s%^\(OS_LIBS.*$\)%\1 -L/usr/X11R7/lib%" mozilla/security/coreconf/Linux.mk
|
||||||
|
sed -i "s/clobber_nspr//" mozilla/security/nss/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
export LIBDIR
|
export BUILD_OPT=1
|
||||||
BOPTS=$BUILDOPTIONS32 make
|
make -C mozilla/security/nss nss_build_all
|
||||||
cd ../nss/lib/softoken
|
make -C mozilla/security/nss install
|
||||||
BOPTS=$BUILDOPTIONS32 make
|
cp -vpL mozilla/dist/Linux*/bin/* $TMPROOT/usr/X11R7/bin
|
||||||
cd ../freebl
|
cp -vpL mozilla/dist/Linux*/lib/* $TMPROOT/usr/X11R7/lib
|
||||||
BOPTS=$BUILDOPTIONS32 make
|
|
||||||
cd ../../
|
|
||||||
BOPTS=$BUILDOPTIONS32 make
|
|
||||||
cd lib/freebl
|
|
||||||
BOPTS=$BUILDOPTIONS32 make
|
|
||||||
cd ../../
|
|
||||||
BOPTS=$BUILDOPTIONS32 make
|
|
||||||
BOPTS=$BUILDOPTIONS32 make install
|
|
||||||
cd ../../dist/Linux*
|
|
||||||
cp -vpL bin/* $TMPROOT/usr/X11R7/bin
|
|
||||||
cp -vpL lib/* $TMPROOT/usr/X11R7/lib
|
|
||||||
cd ../../security/coreconf
|
|
||||||
make clean
|
|
||||||
cd ../nss
|
|
||||||
make clean
|
|
||||||
cd lib/softoken
|
|
||||||
make clean
|
|
||||||
cd ../freebl
|
|
||||||
make clean
|
|
||||||
cd ../../../coreconf
|
|
||||||
mkdir -p $TMPROOT/usr/X11R7/lib/pkgconfig
|
mkdir -p $TMPROOT/usr/X11R7/lib/pkgconfig
|
||||||
cat >>$TMPROOT/usr/X11R7/lib/pkgconfig/nss.pc <<EOF
|
cat >>$TMPROOT/usr/X11R7/lib/pkgconfig/nss.pc <<EOF
|
||||||
prefix=/usr/X11R7
|
prefix=/usr/X11R7
|
||||||
|
@ -111,37 +93,29 @@ includedir=/usr/X11R7/include/nss
|
||||||
|
|
||||||
Name: NSS
|
Name: NSS
|
||||||
Description: Network Security Services
|
Description: Network Security Services
|
||||||
Version: 3.12.3
|
Version: 3.12.9
|
||||||
Requires: nspr >= 4.8
|
Requires: nspr >= 4.8
|
||||||
Libs: -L/usr/X11R7/lib/nss -lssl3 -lsmime3 -lnss3 -lnssutil3
|
Libs: -L/usr/X11R7/lib/nss -lssl3 -lsmime3 -lnss3 -lnssutil3
|
||||||
Cflags: -I/usr/X11R7/include/nss
|
Cflags: -I/usr/X11R7/include/nss
|
||||||
EOF
|
EOF
|
||||||
ln -sfv nss.pc $TMPROOT/usr/X11R7/lib/pkgconfig/mozilla-nss.pc
|
ln -sfv nss.pc $TMPROOT/usr/X11R7/lib/pkgconfig/mozilla-nss.pc
|
||||||
chmod 644 $TMPROOT/usr/X11R7/lib/pkgconfig/*.pc
|
chmod 644 $TMPROOT/usr/X11R7/lib/pkgconfig/*.pc
|
||||||
|
mv $TMPROOT/usr/X11R7/bin/nss-config{,-32}
|
||||||
|
make -C mozilla/security/nss nss_clean_all
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
export LIBDIR
|
export BUILD_OPT=1
|
||||||
BOPTS=$BUILDOPTIONS make
|
|
||||||
cd ../nss/lib/softoken
|
|
||||||
BOPTS=$BUILDOPTIONS make
|
|
||||||
cd ../freebl
|
|
||||||
BOPTS=$BUILDOPTIONS make
|
|
||||||
cd ../../
|
|
||||||
BOPTS=$BUILDOPTIONS make
|
|
||||||
cd lib/freebl
|
|
||||||
BOPTS=$BUILDOPTIONS make
|
|
||||||
cd ../../
|
|
||||||
BOPTS=$BUILDOPTIONS make
|
|
||||||
BOPTS=$BUILDOPTIONS make install
|
|
||||||
cd ../../dist/Linux*
|
|
||||||
cp -vpL bin/* $TMPROOT/usr/X11R7/bin
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
export USE_64=1
|
||||||
mkdir $TMPROOT/usr/X11R7/$LIBDIR
|
mkdir $TMPROOT/usr/X11R7/$LIBDIR
|
||||||
|
sed -i "s%^\(OS_LIBS.*$\)%\1 -L/usr/X11R7/lib64%" mozilla/security/coreconf/Linux.mk
|
||||||
fi
|
fi
|
||||||
cp -vpL lib/* $TMPROOT/usr/X11R7/$LIBDIR
|
make -C mozilla/security/nss nss_build_all
|
||||||
cd ..
|
make -C mozilla/security/nss install
|
||||||
cp -rvpL public/nss $TMPROOT/usr/X11R7/include
|
cp -vpL mozilla/dist/Linux*/lib/* $TMPROOT/usr/X11R7/$LIBDIR
|
||||||
|
cp -vpL mozilla/dist/Linux*/bin/* $TMPROOT/usr/X11R7/bin
|
||||||
|
cp -rvpL mozilla/dist/public/nss $TMPROOT/usr/X11R7/include
|
||||||
mkdir -p $TMPROOT/usr/X11R7/$LIBDIR/pkgconfig
|
mkdir -p $TMPROOT/usr/X11R7/$LIBDIR/pkgconfig
|
||||||
cat >>$TMPROOT/usr/X11R7/$LIBDIR/pkgconfig/nss.pc <<EOF
|
cat >>$TMPROOT/usr/X11R7/$LIBDIR/pkgconfig/nss.pc <<EOF
|
||||||
prefix=/usr/X11R7
|
prefix=/usr/X11R7
|
||||||
|
@ -162,5 +136,8 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
if [ $MK64BIT == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/X11R7/bin/nss-config{,-64}
|
||||||
|
ln -s ../../bin/multiarch_wrapper $TMPROOT/usr/X11R7/bin/nss-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,10 +91,10 @@ mk32() {
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--with-perl=/usr/bin/perl
|
--with-perl=/usr/bin/perl
|
||||||
make -j $NUMCPU LDEMULATION=elf32_i386
|
make -j $NUMCPU LDEMULATION=elf32_i386
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install &
|
make LDEMULATION=elf32_i386 install
|
||||||
|
make prefix=$TMPROOT/usr LDEMULATION=elf32_i386 install
|
||||||
make distclean
|
make distclean
|
||||||
mv $TMPROOT/usr/X11R7/bin/pdflib-config{,-32}
|
mv $TMPROOT/usr/X11R7/bin/pdflib-config{,-32}
|
||||||
#GenDynLib32 $TMPROOT/usr/X11R7/lib/libpdf.a 6.0.3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
@ -109,8 +109,8 @@ mk() {
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--with-perl=/usr/bin/perl
|
--with-perl=/usr/bin/perl
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make install
|
||||||
#GenDynLib $TMPROOT/usr/X11R7/$LIBDIR/libpdf.a 6.0.3
|
make prefix=$TMPROOT/usr install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
|
|
@ -84,11 +84,12 @@ mk32() {
|
||||||
export USE_ARCH=32 &&
|
export USE_ARCH=32 &&
|
||||||
./bootstrap.sh --prefix=/usr \
|
./bootstrap.sh --prefix=/usr \
|
||||||
--with-toolset=gcc \
|
--with-toolset=gcc \
|
||||||
--with-bjam=/usr/bin/bjam &&
|
--with-python=/usr/bin/python
|
||||||
bjam install --prefix=$TMPROOT/usr \
|
./bjam install --prefix=$TMPROOT/usr \
|
||||||
--libdir=$TMPROOT/usr/lib \
|
--libdir=$TMPROOT/usr/lib \
|
||||||
--includedir=$TMPROOT/usr/include
|
--includedir=$TMPROOT/usr/include
|
||||||
cd ..
|
cd ..
|
||||||
|
unset USE_ARCH
|
||||||
rm -r boost*
|
rm -r boost*
|
||||||
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/boost*.tar.bz2
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/boost*.tar.bz2
|
||||||
cd boost*
|
cd boost*
|
||||||
|
@ -97,16 +98,15 @@ mk32() {
|
||||||
mk() {
|
mk() {
|
||||||
echo "toolset.flags gcc OPTIONS : ${BUILDOPTIONS} ;" >> tools/build/v2/tools/gcc.jam &&
|
echo "toolset.flags gcc OPTIONS : ${BUILDOPTIONS} ;" >> tools/build/v2/tools/gcc.jam &&
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./bootstrap.sh --with-bjam=/usr/bin/bjam \
|
./bootstrap.sh --with-toolset=gcc \
|
||||||
--with-toolset=gcc \
|
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/$LIBDIR
|
--libdir=/usr/$LIBDIR \
|
||||||
bjam install --prefix=$TMPROOT/usr \
|
--with-python=/usr/bin/python
|
||||||
|
./bjam install --prefix=$TMPROOT/usr \
|
||||||
--libdir=$TMPROOT/usr/$LIBDIR \
|
--libdir=$TMPROOT/usr/$LIBDIR \
|
||||||
--includedir=$TMPROOT/usr/include
|
--includedir=$TMPROOT/usr/include
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
ln -sfnv boost-1_39/boost $TMPROOT/usr/include/boost
|
|
||||||
ln -sfnv . $TMPROOT/usr/include/boost/boost
|
ln -sfnv . $TMPROOT/usr/include/boost/boost
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,9 +80,8 @@ mk() {
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--with-drivers=ALL
|
--with-drivers=ALL
|
||||||
ex -c '1,$ s/\(xml$\)/\1 \\/' -c ':wq' Makefile
|
ex -c '1,$ s/\(xml$\)/\1 \\/' -c ':wq' Makefile
|
||||||
/opt/make-3.80/bin/make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
mkdir -p $TMPROOT/usr/share/foomatic/db/source/PPD
|
mkdir -p $TMPROOT/usr/share/foomatic/db/source/PPD
|
||||||
tar -C /usr/share/foomatic/db/source/PPD -cf - .|tar -C $TMPROOT/usr/share/foomatic/db/source/PPD -xvf -
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
|
|
@ -81,7 +81,6 @@ mk() {
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc/cups
|
--sysconfdir=/etc/cups
|
||||||
sed -i "s/-lm/-L\/usr\/X11R7\/$LIBDIR -lm -lespgs -lcups -ljpeg -lX11 -lpng -lcupsimage -lXt -liconv/" Makefile
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,15 +90,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONX="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--sysconfdir=/etc/sysconfig/hplip \
|
--sysconfdir=/etc/sysconfig/hplip \
|
||||||
--enable-foomatic-ppd-install \
|
--enable-foomatic-ppd-install \
|
||||||
--enable-foomatic-drv-install \
|
--enable-foomatic-drv-install \
|
||||||
|
|
|
@ -88,15 +88,12 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
export LDFLAGS="-L/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/usr/${LIBDIR}" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -78,6 +78,7 @@ premk() {
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-liconv" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
|
@ -93,13 +93,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc/sysconfig/nut \
|
--sysconfdir=/etc/sysconfig/nut \
|
||||||
--enable-strip \
|
--enable-strip \
|
||||||
|
|
|
@ -91,17 +91,14 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
export LDFLAGS="-L/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
CFLAGS="$BUILDOPTIONS" \
|
CFLAGS="$BUILDOPTIONS" \
|
||||||
CPPFLAGS="$BUILDOPTIONS" \
|
CPPFLAGS="$BUILDOPTIONS" \
|
||||||
|
LDFLAGS="-L/usr/${LIBDIR}" \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
|
|
@ -89,13 +89,10 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure $ADDOPTIONS \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -84,10 +84,12 @@ premk() {
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32 \
|
CC="gcc $BUILDOPTIONS32 \
|
||||||
-I/usr/X11R7/include/nspr \
|
-I/usr/X11R7/include/nspr \
|
||||||
-I/usr/X11R7/include/nss" \
|
-I/usr/X11R7/include/nss \
|
||||||
|
-I/usr/X11R7/include" \
|
||||||
CXX="g++ $BUILDOPTIONS32 \
|
CXX="g++ $BUILDOPTIONS32 \
|
||||||
-I/usr/X11R7/include/nspr \
|
-I/usr/X11R7/include/nspr \
|
||||||
-I/usr/X11R7/include/nss" \
|
-I/usr/X11R7/include/nss \
|
||||||
|
-I/usr/X11R7/include" \
|
||||||
LDFLAGS="-L/usr/lib -L/usr/X11R7/lib" \
|
LDFLAGS="-L/usr/lib -L/usr/X11R7/lib" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --enable-python \
|
./configure --enable-python \
|
||||||
|
@ -101,20 +103,19 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS \
|
CC="gcc $BUILDOPTIONS \
|
||||||
-I/usr/X11R7/include/nspr \
|
-I/usr/X11R7/include/nspr \
|
||||||
-I/usr/X11R7/include/nss" \
|
-I/usr/X11R7/include/nss \
|
||||||
|
-I/usr/X11R7/include" \
|
||||||
CXX="g++ $BUILDOPTIONS \
|
CXX="g++ $BUILDOPTIONS \
|
||||||
-I/usr/X11R7/include/nspr \
|
-I/usr/X11R7/include/nspr \
|
||||||
-I/usr/X11R7/include/nss" \
|
-I/usr/X11R7/include/nss \
|
||||||
|
-I/usr/X11R7/include" \
|
||||||
LDFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
LDFLAGS="-L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --enable-sqlite3 \
|
./configure --enable-sqlite3 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/${LIBDIR} \
|
||||||
--with-external-db \
|
--with-external-db \
|
||||||
--without-lua
|
--without-lua
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
|
@ -99,14 +99,11 @@ mk32() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --build=$TARGET \
|
./configure --build=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/X11R7/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user