Anpassung an neue Version. Diverse neue Patches eingearbeitet.
Build Ueberarbeitungen. USE_ARCH hinzugefuegt git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4688 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
5570d7d24a
commit
aab0f58623
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -79,6 +79,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -92,6 +93,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -73,12 +73,15 @@
|
|||||||
SRCPATH=Tools/System
|
SRCPATH=Tools/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
echo "Nothing to do for premk()"
|
libtoolize && \
|
||||||
|
autoreconf && \
|
||||||
|
sed -i -e s/NULL/0/g src/Interest.h
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
@ -93,6 +96,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
|
@ -73,11 +73,13 @@ SRCPATH=Tools/Utilities
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
echo "Nothing to do for premk()"
|
echo "Nothing to do for premk()"
|
||||||
|
sed -i "s@iomanip.h@iomanip@g" ./configure
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -92,6 +94,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -83,37 +83,42 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32 -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32 -fPIC" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
--enable-shared &&
|
--enable-shared &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install-lib
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install-lib
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install-headers
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install-headers
|
||||||
cp jmemsys.h $TMPROOT/usr/include
|
cp jmemsys.h $TMPROOT/usr/include
|
||||||
make distclean
|
make distclean
|
||||||
|
gcc -fPIC -m32 -shared -Wl,-soname,libjpeg.so.62.0.0 -o $TMPROOT/usr/lib/libjpeg6b.so.62.0.0 $TMPROOT/usr/lib/libjpeg.a
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
ADDOPTIONS="--libdir=/usr/lib64"
|
||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
|
LDFLAGS="-fPIC" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
|
--enable-static \
|
||||||
--enable-shared &&
|
--enable-shared &&
|
||||||
sed -e "s%/lib$%/$LIBDIR%" Makefile >/tmp/Makefile
|
make -j $NUMCPU libdir=/usr/$LIBDIR &&
|
||||||
mv /tmp/Makefile .
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install-lib
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install-headers
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install-lib
|
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install-headers
|
|
||||||
cp jmemsys.h $TMPROOT/usr/include
|
cp jmemsys.h $TMPROOT/usr/include
|
||||||
|
gcc -fPIC -m$UARCH -shared -Wl,-soname,libjpeg.so.62.0.0 -o $TMPROOT/usr/$LIBDIR/libjpeg6b.so.62.0.0 $TMPROOT/usr/$LIBDIR/libjpeg.a
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
|
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -85,7 +85,9 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
./configure --target=$TARGET32 \
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --build=$TARGET32 \
|
||||||
|
--host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -102,8 +104,9 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --target=$TARGET \
|
USE_ARCH=$UARCH \
|
||||||
--prefix=/usr \
|
./configure --host=$TARGET \
|
||||||
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
@ -81,6 +81,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
@ -97,6 +98,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
|
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -78,10 +78,12 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc -L/usr/lib $BUILDOPTIONS32" \
|
CC="gcc -L/usr/lib $BUILDOPTIONS32" \
|
||||||
CXX="g++ -L/usr/lib $BUILDOPTIONS32" \
|
CXX="g++ -L/usr/lib $BUILDOPTIONS32" \
|
||||||
./configure --target=$TARGET32 \
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --build=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/usr/bin/libgcrypt-config{,-32}
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,7 +93,8 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --target=$TARGET \
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --build=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -100,5 +103,9 @@ mk() {
|
|||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
ClearHostSysNameing $TMPROOT
|
ClearHostSysNameing $TMPROOT
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/libgcrypt-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/libgcrypt-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,6 +84,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
--with-gnu-ld &&
|
--with-gnu-ld &&
|
||||||
@ -99,6 +100,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr/X11R7 \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
|
@ -78,10 +78,12 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/usr/bin/gpg-error-config{,-32}
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +93,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
@ -99,5 +102,8 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/gpg-error-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/gpg-error-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=32 \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=32 \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -80,6 +80,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
../libidn*/configure --host=$TARGET32 \
|
../libidn*/configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -96,6 +97,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
../libidn*/configure --host=$TARGET \
|
../libidn*/configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--docdir=/usr/share/doc/libiec \
|
--docdir=/usr/share/doc/libiec \
|
||||||
@ -93,6 +94,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--docdir=/usr/share/doc/libiec \
|
--docdir=/usr/share/doc/libiec \
|
||||||
|
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -70,6 +70,8 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 128 ))
|
||||||
|
|
||||||
SRCPATH=Tools/lib
|
SRCPATH=Tools/lib
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
@ -77,34 +79,28 @@ SRCPATH=Tools/lib
|
|||||||
#Hier kann z.B. das Makefile gepatcht werden (SED lässt grüssen
|
#Hier kann z.B. das Makefile gepatcht werden (SED lässt grüssen
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s%/usr/local%/usr%g" makefiles/makefile.linux >Makefile
|
cp makefiles/makefile.linux Makefile &&
|
||||||
mkdir -p $TMPROOT/usr/lib{,64} $TMPROOT/usr/include
|
SrcPatch $MAKEDIR/libmng* $LFSSOURCE/$SRCPATH/libmng-1.0.10-libdir-1.patch.*
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
make -j $NUMCPU \
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS32} -fPIC"
|
||||||
CC="gcc $BUILDOPTIONS32 -fPIC" \
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CXX="g++ $BUILDOPTIONS32 -fPIC" &&
|
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
|
||||||
make clean
|
make clean
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
make -j $NUMCPU CC="gcc $BUILDOPTIONS -fPIC" libdir=/usr/$LIBDIR
|
||||||
sed -e "s%/lib%/lib64%" \
|
make -j $NUMCPU libdir=/usr/$LIBDIR DESTDIR=$TMPROOT install
|
||||||
-e "s/lib64mng/libmng/g" Makefile >/tmp/Makefile~
|
|
||||||
mv /tmp/Makefile~ Makefile
|
|
||||||
fi
|
|
||||||
make -j $NUMCPU \
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
|
||||||
LDFLAGS="-L/usr/lib64" &&
|
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
#in $TMPROOT noch einiges korrigieren
|
#in $TMPROOT noch einiges korrigieren
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
install -dv -m755 $TMPROOT/usr/share/man/man{3,5} &&
|
||||||
|
install -v -m644 doc/man/*.3 $TMPROOT/usr/share/man/man3 &&
|
||||||
|
install -v -m644 doc/man/*.5 $TMPROOT/usr/share/man/man5 &&
|
||||||
|
install -dv -m755 $TMPROOT/usr/share/doc/libmng-1.0.10 &&
|
||||||
|
install -v -m644 doc/*.{png,txt} $TMPROOT/usr/share/doc/libmng-1.0.10
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -92,6 +93,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -82,10 +82,12 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
ClearHostSysNameing32 $TMPROOT
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,6 +97,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -80,6 +80,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-gnu-ld &&
|
--with-gnu-ld &&
|
||||||
@ -95,6 +96,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -78,10 +78,12 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
ClearHostSysNameing32 $TMPROOT
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +93,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--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: libsidplay
|
||||||
#Quelle der Source Archive: http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/linux.html
|
#Quelle der Source Archive: http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/linux.html
|
||||||
#Kurzbeschreibung: Library für sidplay und xsidplay, Programme zum Abspielen von c64 Musik
|
#Kurzbeschreibung: Library für sidplay und xsidplay, Programme zum Abspielen von c64 Musik
|
||||||
#
|
#
|
||||||
@ -78,6 +78,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
@ -91,6 +92,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
@ -82,6 +82,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-smi \
|
--enable-smi \
|
||||||
@ -98,6 +99,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -80,6 +80,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-gnu-ld &&
|
--with-gnu-ld &&
|
||||||
@ -97,6 +98,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -81,6 +81,7 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARET32 \
|
./configure --host=$TARET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@ -97,6 +98,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARET \
|
./configure --host=$TARET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
|
@ -78,6 +78,19 @@ premk() {
|
|||||||
echo "Nothing to do for premk()"
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
./configure --target=$TARGET32 \
|
||||||
|
--prefix=/usr \
|
||||||
|
--disable-Werror \
|
||||||
|
--without-readline \
|
||||||
|
--enable-device-mapper
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make clean
|
||||||
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||||
@ -87,6 +100,8 @@ mk() {
|
|||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--disable-Werror \
|
||||||
|
--without-readline \
|
||||||
--enable-device-mapper
|
--enable-device-mapper
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
@ -80,10 +80,12 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET32 \
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/usr &&
|
--prefix=/usr &&
|
||||||
make &&
|
make &&
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/usr/bin/pcre-config{,-32}
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,6 +96,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr &&
|
--prefix=/usr &&
|
||||||
@ -106,12 +109,21 @@ mk() {
|
|||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||||
cd $TMPROOT/usr/lib
|
for i in $TMPROOT/usr/lib $TMPROOT/usr/lib64; do
|
||||||
MAJOR=`ls -l libpcre.so |awk '{ print $10 }'|awk -F"." '{ print $3 }'`
|
if [ -d $i ]; then
|
||||||
MIDDLE=`ls -l libpcre.so |awk '{ print $10 }'|awk -F"." '{ print $4 }'`
|
cd $i
|
||||||
MINOR=`ls -l libpcre.so |awk '{ print $10 }'|awk -F"." '{ print $5 }'`
|
MAJOR=`ls -l libpcre.so |awk '{ print $10 }'|awk -F"." '{ print $3 }'`
|
||||||
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so
|
MIDDLE=`ls -l libpcre.so |awk '{ print $10 }'|awk -F"." '{ print $4 }'`
|
||||||
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so.$MAJOR
|
MINOR=`ls -l libpcre.so |awk '{ print $10 }'|awk -F"." '{ print $5 }'`
|
||||||
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so.$MAJOR.$MIDDLE
|
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so
|
||||||
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so.$MAJOR.$MIDDLE.$MINOR
|
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so.$MAJOR
|
||||||
|
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so.$MAJOR.$MIDDLE
|
||||||
|
ln -s libpcre.so.$MAJOR.$MIDDLE.$MINOR libpcreposix.so.$MAJOR.$MIDDLE.$MINOR
|
||||||
|
cd -
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/pcre-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/pcre-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
@ -79,50 +79,67 @@ SRCPATH=Tools/lib
|
|||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/{include,lib,man,bin,share}
|
mkdir -p $TMPROOT/usr/{include,lib,man,bin,share}
|
||||||
mkdir $TMPROOT/etc
|
mkdir $TMPROOT/etc
|
||||||
|
sed -i -e "s/^INSTALLMODULE/#INSTALLMODULE/" Makefile.cfg
|
||||||
|
cp Makefile.cfg{,.orig}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
# Make install Optionen eintragen
|
# Make install Optionen eintragen
|
||||||
|
sed -e "s%^prefix.*$%prefix = /usr%" Makefile.cfg.orig >Makefile.cfg
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
make CC="gcc $BUILDOPTIONS32" \
|
make CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
-k install
|
install
|
||||||
sed -e "s%TOPDIR=%TOPDIR=$TMPROOT%" Makefile.cfg | \
|
cp Makefile.cfg.orig Makefile.cfg
|
||||||
sed -e "s%^prefix.*$%prefix = \$\(TOPDIR\)/usr%" >Makefile.cfg.tmp
|
sed -e "s%TOPDIR=%TOPDIR=$TMPROOT%" Makefile.cfg.orig | \
|
||||||
mv Makefile.cfg.tmp Makefile.cfg
|
sed -e "s%^prefix.*$%prefix = \$\(TOPDIR\)/usr%" >Makefile.cfg
|
||||||
make -j $NUMCPU \
|
make -j $NUMCPU \
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
-k install
|
install
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
|
mv Makefile.cfg.orig Makefile.cfg
|
||||||
make distclean
|
make distclean
|
||||||
|
cp Makefile.cfg{,.orig}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
# Make install Optionen eintragen
|
# Make install Optionen eintragen
|
||||||
|
sed -e "s%^prefix.*$%prefix = /usr%" Makefile.cfg.orig >Makefile.cfg
|
||||||
|
make CC="gcc $BUILDOPTIONS" \
|
||||||
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
install
|
||||||
|
cp Makefile.cfg.orig Makefile.cfg
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
sed -e "s%/lib$%/lib64%" Makefile.cfg >Makefile.cfg.tmp
|
sed -i -e "s%/lib$%/lib64%" Makefile.cfg
|
||||||
mv Makefile.cfg.tmp Makefile.cfg
|
|
||||||
else
|
|
||||||
sed -e "s%TOPDIR=%TOPDIR=$TMPROOT%" Makefile.cfg | \
|
|
||||||
sed -e "s%^prefix.*$%prefix = \$\(TOPDIR\)/usr%" >Makefile.cfg.tmp
|
|
||||||
mv Makefile.cfg.tmp Makefile.cfg
|
|
||||||
fi
|
fi
|
||||||
|
sed -i -e "s%TOPDIR=%TOPDIR=$TMPROOT%" Makefile.cfg
|
||||||
|
sed -i -e "s%^prefix.*$%prefix = \$\(TOPDIR\)/usr%" Makefile.cfg
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
make -j $NUMCPU \
|
make -j $NUMCPU \
|
||||||
-k \
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
install
|
install
|
||||||
|
make -j $NUMCPU CC="gcc $BUILDOPTIONS" \
|
||||||
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
demoprogs
|
||||||
|
find demos -perm +100 -exec cp {} $TMPROOT/usr/bin \;
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mv /etc/vga $TMPROOT/etc/
|
if [ ! -d $TMPROOT/usr/share/man ]; then
|
||||||
mv /usr/include/vga* $TMPROOT/usr/include
|
mkdir -p $TMPROOT/usr/share/man
|
||||||
mv /usr/lib/libvga* $TMPROOT/usr/lib
|
fi
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
tar -C $TMPROOT/usr/man -cf - .|tar -C $TMPROOT/usr/share/man -xvf -
|
||||||
|
rm -r $TMPROOT/usr/man
|
||||||
CheckError "postmk() failed !" 1
|
CheckError "postmk() failed !" 1
|
||||||
cd /usr/bin
|
cd /usr/bin
|
||||||
rm cc
|
rm cc
|
||||||
ln gcc cc
|
ln gcc cc
|
||||||
cd -
|
cd -
|
||||||
|
if [ ! -d $TMPROOT/lib/modules ]; then
|
||||||
|
mkdir -p $TMPROOT/lib/modules
|
||||||
|
fi
|
||||||
|
tar -C kernel -cf - svgalib_helper|tar -C $TMPROOT/lib/modules -xvf -
|
||||||
}
|
}
|
||||||
|
@ -80,12 +80,14 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make distclean
|
make distclean
|
||||||
ClearHostSysNameing32 $TMPROOT
|
ClearHostSysNameing32 $TMPROOT
|
||||||
|
mv $TMPROOT/usr/bin/taglib-config{,-32}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
@ -94,6 +96,7 @@ mk() {
|
|||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
@ -103,4 +106,8 @@ mk() {
|
|||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
ClearHostSysNameing $TMPROOT
|
ClearHostSysNameing $TMPROOT
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/taglib-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/taglib-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user