Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
@ -38,86 +38,106 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
16 Basesys/linux-headers
|
16 Basesys/linux-headers
|
||||||
16 Basesys/glibc
|
16 Basesys/man-pages
|
||||||
|
16 Basesys/man-pages-de
|
||||||
|
16 Basesys/eglibc
|
||||||
16 Basesys/adjust
|
16 Basesys/adjust
|
||||||
|
16 Basesys/gmp
|
||||||
|
16 Basesys/mpfr
|
||||||
|
16 Basesys/mpc
|
||||||
|
16 Basesys/ppl
|
||||||
|
16 Basesys/cloog-ppl
|
||||||
|
16 Basesys/zlib
|
||||||
16 Basesys/binutils
|
16 Basesys/binutils
|
||||||
|
16 Basesys/zip
|
||||||
16 Basesys/gcc
|
16 Basesys/gcc
|
||||||
|
16 Basesys/multiarch_wrapper
|
||||||
|
16 Basesys/sed
|
||||||
|
16 Basesys/ncurses
|
||||||
|
16 Basesys/pkgconfig
|
||||||
|
16 Basesys/util-linux
|
||||||
|
16 Basesys/e2fsprogs
|
||||||
16 Basesys/coreutils
|
16 Basesys/coreutils
|
||||||
16 Basesys/m4
|
16 Basesys/m4
|
||||||
16 Basesys/bison
|
16 Basesys/bison
|
||||||
16 Basesys/gawk
|
16 Basesys/procps
|
||||||
16 Basesys/ncurses
|
|
||||||
16 Basesys/procinfo
|
|
||||||
16 Basesys/sed
|
|
||||||
16 Basesys/libtool
|
16 Basesys/libtool
|
||||||
|
16 Basesys/flex
|
||||||
|
16 Basesys/iproute2
|
||||||
16 Basesys/perl
|
16 Basesys/perl
|
||||||
16 Basesys/readline
|
16 Basesys/readline
|
||||||
16 Basesys/gmp
|
|
||||||
16 Basesys/zlib
|
|
||||||
16 Basesys/autoconf
|
16 Basesys/autoconf
|
||||||
16 Basesys/automake
|
16 Basesys/automake
|
||||||
16 Basesys/bash
|
16 Basesys/bash
|
||||||
16 Basesys/bzip2
|
16 Basesys/bzip2
|
||||||
16 Basesys/diffutils
|
16 Basesys/diffutils
|
||||||
16 Basesys/ed
|
|
||||||
16 Basesys/e2fsprogs
|
|
||||||
16 Basesys/reiserfsprogs
|
|
||||||
16 Basesys/jfsutils
|
|
||||||
16 Basesys/file
|
16 Basesys/file
|
||||||
16 Basesys/findutils
|
16 Basesys/findutils
|
||||||
16 Basesys/flex
|
16 Basesys/gawk
|
||||||
16 Basesys/gettext
|
16 Basesys/gettext
|
||||||
16 Basesys/grep
|
16 Basesys/grep
|
||||||
16 Basesys/groff
|
16 Basesys/groff
|
||||||
16 Basesys/gzip
|
16 Basesys/gzip
|
||||||
16 Basesys/vim
|
16 Basesys/iputils
|
||||||
16 Basesys/zlib
|
|
||||||
16 Basesys/subversion
|
|
||||||
16 Basesys/vim
|
|
||||||
16 Basesys/ViitorMan
|
|
||||||
16 Basesys/procps
|
|
||||||
16 Basesys/Linux-PAM
|
|
||||||
16 Basesys/inetutils
|
|
||||||
16 Basesys/iproute2
|
|
||||||
16 Basesys/net-tools
|
|
||||||
16 Basesys/portmap
|
|
||||||
16 Basesys/xinetd
|
|
||||||
16 Basesys/kbd
|
16 Basesys/kbd
|
||||||
16 Basesys/device-mapper
|
|
||||||
16 Basesys/LVM
|
|
||||||
16 Basesys/less
|
16 Basesys/less
|
||||||
16 Basesys/make
|
16 Basesys/make
|
||||||
|
16 Basesys/xz
|
||||||
16 Basesys/man
|
16 Basesys/man
|
||||||
16 Basesys/man-pages
|
|
||||||
16 Basesys/man-pages-de
|
|
||||||
16 Basesys/mktemp
|
|
||||||
16 Basesys/module-init-tools
|
16 Basesys/module-init-tools
|
||||||
16 Basesys/patch
|
16 Basesys/patch
|
||||||
16 Basesys/psmisc
|
16 Basesys/psmisc
|
||||||
|
16 Basesys/vim
|
||||||
|
16 Basesys/subversion
|
||||||
|
22 Basesys/pkgconfig
|
||||||
|
22 Basesys/procps
|
||||||
|
22 Basesys/iproute2
|
||||||
|
22 Basesys/vim
|
||||||
|
16 Basesys/Linux-PAM
|
||||||
16 Basesys/cracklib
|
16 Basesys/cracklib
|
||||||
|
16 Basesys/net-tools
|
||||||
16 Basesys/shadow
|
16 Basesys/shadow
|
||||||
16 Basesys/sysklogd
|
16 Basesys/rsyslog
|
||||||
16 Basesys/sysvinit
|
16 Basesys/expat
|
||||||
|
16 Basesys/libxml2
|
||||||
|
16 Basesys/dbus
|
||||||
|
16 Basesys/libnih
|
||||||
|
16 Basesys/upstart
|
||||||
|
#16 Basesys/sysvinit
|
||||||
16 Basesys/tar
|
16 Basesys/tar
|
||||||
16 Basesys/util-linux
|
16 Basesys/texinfo
|
||||||
|
16 Basesys/udev
|
||||||
|
16 Basesys/ViitorMan
|
||||||
|
16 Basesys/yasm
|
||||||
|
16 Basesys/bin86
|
||||||
|
16 Basesys/unzip
|
||||||
|
16 Basesys/procinfo-ng
|
||||||
|
16 Basesys/ed
|
||||||
|
16 Basesys/reiserfsprogs
|
||||||
|
16 Basesys/libaal
|
||||||
|
16 Basesys/reiser4progs
|
||||||
|
16 Basesys/jfsutils
|
||||||
|
16 Basesys/inetutils
|
||||||
|
16 Basesys/portmap
|
||||||
|
16 Basesys/xinetd
|
||||||
|
16 Basesys/LVM
|
||||||
16 Basesys/xfsprogs
|
16 Basesys/xfsprogs
|
||||||
16 Basesys/attr
|
16 Basesys/attr
|
||||||
16 Basesys/acl
|
16 Basesys/acl
|
||||||
16 Basesys/fcron
|
16 Basesys/dmapi
|
||||||
16 Basesys/texinfo
|
|
||||||
16 Basesys/udev
|
|
||||||
16 Basesys/hotplug
|
|
||||||
16 Basesys/firmwarehotplug
|
|
||||||
16 Basesys/yasm
|
|
||||||
16 Basesys/bin86
|
|
||||||
16 Basesys/lilo
|
16 Basesys/lilo
|
||||||
|
16 Basesys/fcron
|
||||||
|
16 Basesys/hotplug
|
||||||
|
16 Basesys/sdcc
|
||||||
|
16 Basesys/firmwarehotplug
|
||||||
16 Basesys/fbset
|
16 Basesys/fbset
|
||||||
16 Basesys/which
|
16 Basesys/which
|
||||||
16 Basesys/tcsh
|
16 Basesys/tcsh
|
||||||
16 Basesys/linux
|
16 Basesys/linux
|
||||||
16 Basesys/cpio
|
16 Basesys/cpio
|
||||||
16 Basesys/dialog
|
16 Basesys/dialog
|
||||||
16 Basesys/dhcp
|
16 Basesys/dhcpcd
|
||||||
16 Basesys/gpplib
|
16 Basesys/gpplib
|
||||||
|
22 Basesys/xfsprogs
|
||||||
16 Basesys/config
|
16 Basesys/config
|
||||||
16 Basesys/cdboot
|
16 Basesys/cdboot
|
||||||
|
@ -78,48 +78,95 @@ SRCPATH=Base/System
|
|||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/sbin
|
mkdir -p $TMPROOT/sbin
|
||||||
mkdir -p $TMPROOT/usr/share/man/man8
|
mkdir -p $TMPROOT/usr/share/man/man8
|
||||||
bunzip2 -c $LFSSOURCE/$SRCPATH/MAKEDEV*.bz >$TMPROOT/sbin/MAKEDEV
|
#bunzip2 -c $LFSSOURCE/$SRCPATH/MAKEDEV*.bz >$TMPROOT/sbin/MAKEDEV
|
||||||
chmod 755 $TMPROOT/sbin/MAKEDEV
|
#chmod 755 $TMPROOT/sbin/MAKEDEV
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
CFLAGS="-m32" \
|
||||||
|
./configure --target=$TARGET32 \
|
||||||
|
--prefix=/ \
|
||||||
|
--libdir=/lib \
|
||||||
|
--enable-lvm1_fallback \
|
||||||
|
--enable-ocf \
|
||||||
|
--enable-udev_sync \
|
||||||
|
--enable-udev_rules \
|
||||||
|
--disable-selinux
|
||||||
|
make -j $NUMCPU
|
||||||
|
make DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/include $TMPROOT/usr
|
||||||
|
if [ ! -d $TMPROOT/usr/lib/pkgconfig ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/lib/pkgconfig
|
||||||
|
fi
|
||||||
|
cat >$TMPROOT/usr/lib/pkgconfig/devmapper.pc <<EOF
|
||||||
|
prefix=/
|
||||||
|
exec_prefix=\${prefix}
|
||||||
|
libdir=\${exec_prefix}/lib
|
||||||
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: uuid
|
||||||
|
Description: Universally unique id library
|
||||||
|
Version: 1.02
|
||||||
|
Requires:
|
||||||
|
Cflags: -I\${includedir}
|
||||||
|
Libs: -L\${libdir} -ldevmapper
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
# Hier die ./configure --host=$HOSTSYS-Optionen eintragen.
|
|
||||||
# Den \ nicht vergessen !
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
./configure
|
./configure --prefix=/ \
|
||||||
|
--libdir=/$LIBDIR \
|
||||||
CheckError "Configurescript failed !" 1
|
--enable-lvm1_fallback \
|
||||||
|
--enable-ocf \
|
||||||
# Make-Optionen eintragen
|
--enable-udev_sync \
|
||||||
|
--enable-udev_rules \
|
||||||
|
--disable-selinux
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
make DESTDIR=$TMPROOT install
|
||||||
|
|
||||||
# Make install Optionen eintragen
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
|
||||||
CheckError "Make install process failed !" 1
|
|
||||||
|
|
||||||
cd scripts/lvm2create_initrd
|
cd scripts/lvm2create_initrd
|
||||||
make manpage
|
make manpage
|
||||||
sed -e "s/\/lib\/lvm-200\/lvm/\/sbin\/lvm/g;s/\/bin\/busybox/\/opt\/initrd\/bin\/busybox/g;s/tail -1/tail -n -1/g;s/\/dev\/MAKEDEV/\/sbin\/MAKEDEV/g;s/consoleonly//g" lvm2create_initrd > $TMPROOT/sbin/lvm2create_initrd
|
sed -e "s@/lib/lvm-200/lvm@/sbin/lvm@g;s@/bin/busybox@/opt/initrd/bin/busybox@g;s@tail -1@tail -n -1@g;s@/dev/MAKEDEV@/sbin/MAKEDEV@g;s@consoleonly@@g" lvm2create_initrd > $TMPROOT/sbin/lvm2create_initrd
|
||||||
chmod 0755 $TMPROOT/sbin/lvm2create_initrd
|
chmod 0755 $TMPROOT/sbin/lvm2create_initrd
|
||||||
cp lvm2create_initrd.8 $TMPROOT/usr/share/man/man8/
|
cp lvm2create_initrd.8 $TMPROOT/usr/share/man/man8/
|
||||||
chmod 0444 $TMPROOT/usr/share/man/man8/lvm2create_initrd.8
|
chmod 0444 $TMPROOT/usr/share/man/man8/lvm2create_initrd.8
|
||||||
|
mv $TMPROOT/include $TMPROOT/usr
|
||||||
|
rm $TMPROOT/lib/libdevmapper.so
|
||||||
|
if [ ! -d $TMPROOT/usr/${LIBDIR}/pkgconfig ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/${LIBDIR}/pkgconfig
|
||||||
|
fi
|
||||||
|
cat > $TMPROOT/usr/${LIBDIR}/pkgconfig/devmapper.pc <<EOF
|
||||||
|
prefix=/
|
||||||
|
exec_prefix=\${prefix}
|
||||||
|
libdir=\${exec_prefix}/${LIBDIR}
|
||||||
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: uuid
|
||||||
|
Description: Universally unique id library
|
||||||
|
Version: 1.02
|
||||||
|
Requires:
|
||||||
|
Cflags: -I\${includedir}
|
||||||
|
Libs: -L\${libdir} -ldevmapper
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
cd $TMPROOT
|
|
||||||
CheckError "change to $TMPROOT failed"
|
CheckError "change to $TMPROOT failed"
|
||||||
mkdir -p usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
mv usr/man usr/share
|
if [ -d $TMPROOT/share ]; then
|
||||||
mkdir -p etc/sysconfig/LVM/lvmtab.d etc/sysconfig/LVM/lvmconf
|
tar -C $TMPROOT -cf - share/man|tar -C $TMPROOT/usr -xf -
|
||||||
touch etc/sysconfig/LVM/lvmtab
|
rm -r $TMPROOT/share
|
||||||
#cd $TMPROOT/sbin
|
fi
|
||||||
#for k in *; do
|
mkdir -p $TMPROOT/etc/lvm/archive \
|
||||||
#NAME=`ls -l $k`
|
$TMPROOT/etc/lvm/backup \
|
||||||
#if echo $NAME|grep sbin/lvm; then
|
$TMPROOT/etc/lvm/cache
|
||||||
#rm $k
|
touch $TMPROOT/etc/lvm/lvm.conf
|
||||||
#ln -s lvm $k
|
cd $TMPROOT/${LIBDIR}
|
||||||
#fi
|
ln -s libdevmapper.so.* libdevmapper.so
|
||||||
#done
|
cd -
|
||||||
}
|
}
|
||||||
|
@ -67,13 +67,10 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
if [ ! -f /bin/pwd ]; then
|
|
||||||
ln -s /tools/bin/pwd /bin/pwd
|
|
||||||
fi
|
|
||||||
mkdir ../build-pam
|
mkdir ../build-pam
|
||||||
cd ../build-pam
|
cd ../build-pam
|
||||||
}
|
}
|
||||||
@ -84,7 +81,7 @@ mk32() {
|
|||||||
--includedir=/usr/include/security \
|
--includedir=/usr/include/security \
|
||||||
--datadir=/usr/share \
|
--datadir=/usr/share \
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
make
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
cd ../Linux-PAM*
|
cd ../Linux-PAM*
|
||||||
rm -r ../build-pam
|
rm -r ../build-pam
|
||||||
@ -93,22 +90,20 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
../Linux-PAM*/configure --prefix=/ \
|
||||||
ADDOPTIONS="--libdir=/lib64"
|
--libdir=/${LIBDIR} \
|
||||||
fi
|
|
||||||
../Linux-PAM*/configure --host=$TARGET \
|
|
||||||
--prefix=/ \
|
|
||||||
$ADDOPTIONS \
|
|
||||||
--includedir=/usr/include/security \
|
--includedir=/usr/include/security \
|
||||||
--datadir=/usr/share \
|
--datadir=/usr/share \
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
make
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
if [ -f /bin/pwd ]; then
|
if [ -d $TMPROOT/share ]; then
|
||||||
rm /bin/pwd
|
mkdir -p $TMPROOT/usr
|
||||||
|
mv $TMPROOT/share/* $TMPROOT/usr/share
|
||||||
|
rm -r $TMPROOT/share
|
||||||
fi
|
fi
|
||||||
for i in acct auth passwd session; do
|
for i in acct auth passwd session; do
|
||||||
ln -s pam_unix.so $TMPROOT/lib/security/pam_unix_$i.so
|
ln -s pam_unix.so $TMPROOT/lib/security/pam_unix_$i.so
|
||||||
@ -116,7 +111,7 @@ postmk() {
|
|||||||
ln -s pam_unix.so $TMPROOT/lib64/security/pam_unix_$i.so
|
ln -s pam_unix.so $TMPROOT/lib64/security/pam_unix_$i.so
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
GetSVN Viitor_pam $TMPROOT
|
GetGit Viitor_pam $TMPROOT
|
||||||
cd ../Linux-PAM
|
cd ../Linux-PAM
|
||||||
rm -r ../build-pam
|
rm -r ../build-pam
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
GetSVN Viitor_man $TMPROOT
|
GetGit Viitor_man $TMPROOT
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -69,60 +69,96 @@ SRCPATH=Base/System
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
if [ ! -d $TMPROOT/lib ]; then
|
if [ ! -d $TMPROOT/lib ]; then
|
||||||
mkdir -p $TMPROOT/lib $TMPROOT/usr/lib $TMPROOT/usr/include/acl
|
mkdir -p $TMPROOT/lib $TMPROOT/usr/lib
|
||||||
fi
|
|
||||||
if [ ! -f /usr/sbin/libattr.so ]; then
|
|
||||||
cd /usr/sbin
|
|
||||||
ln -s ../lib/libattr.so.1 libattr.so
|
|
||||||
cd -
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc ${BUILDOPTIONS32} -fPIC -I/usr/include" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS32} -fPIC -I/usr/include" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --host=$TARGET \
|
||||||
|
--prefix=/ \
|
||||||
|
--libdir=/usr/lib \
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
make -j $NUMCPU USE_ARCH=$UARCH
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install-dev
|
||||||
|
rm $TMPROOT/usr/lib/libacl.a
|
||||||
|
cp libacl/.libs/libacl.a $TMPROOT/usr/lib
|
||||||
|
ln -sf ../usr/lib/libacl.a $TMPROOT/lib/libacl.a
|
||||||
|
ln -sf ../usr/lib/libacl.la $TMPROOT/lib/libacl.la
|
||||||
|
sed -i -e "s%libdir=.*$%libdir=\'/usr/lib\'%" \
|
||||||
|
-e "s%/usr/sbin/libattr.la%/lib/libattr.la%" $TMPROOT/usr/lib/libacl.la
|
||||||
|
cp libacl/.libs/libacl.so.1.* $TMPROOT/usr/lib
|
||||||
|
LIBNAME=`ls libacl/.libs/libacl.so.1.*`
|
||||||
|
LIBNAME=`basename $LIBNAME`
|
||||||
|
ln -s $LIBNAME $TMPROOT/usr/lib/libacl.so
|
||||||
|
ln -s $LIBNAME $TMPROOT/usr/lib/libacl.so.1
|
||||||
|
#cd ..
|
||||||
|
#rm -r acl*
|
||||||
|
#UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/acl_*.tar.*
|
||||||
|
#cd acl*
|
||||||
|
make distclean
|
||||||
|
autoconf
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
PKGLIBDIR="lib64"
|
|
||||||
mkdir -p $TMPROOT/lib64 $TMPROOT/usr/lib64
|
mkdir -p $TMPROOT/lib64 $TMPROOT/usr/lib64
|
||||||
else
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib"
|
|
||||||
PKGLIBDIR="lib"
|
|
||||||
fi
|
fi
|
||||||
|
CC="gcc ${BUILDOPTIONS} -fPIC -I/usr/include" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS} -fPIC -I/usr/include" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
sed -e "s%LIBTOOL.*$%LIBTOOL = /usr/bin/libtool --tag help%" \
|
make -j $NUMCPU USE_ARCH=$UARCH
|
||||||
include/builddefs >/tmp/builddefs
|
|
||||||
mv /tmp/builddefs include/builddefs
|
|
||||||
make -j $NUMCPU
|
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs install
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/acl \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs install-dev
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/acl \
|
||||||
rm $TMPROOT/usr/$PKGLIBDIR/libacl.a
|
USE_ARCH=$UARCH install-dev
|
||||||
cp libacl/.libs/libacl.{so,a} $TMPROOT/usr/$PKGLIBDIR
|
rm $TMPROOT/usr/${LIBDIR}/libacl.a
|
||||||
ln -sf ../usr/lib/libacl.a $TMPROOT/$PKGLIBDIR/libacl.a
|
cp libacl/.libs/libacl.a $TMPROOT/usr/${LIBDIR}
|
||||||
ln -sf ../usr/lib/libacl.la $TMPROOT/$PKGLIBDIR/libacl.la
|
ln -sf ../usr/${LIBDIR}/libacl.a $TMPROOT/${LIBDIR}/libacl.a
|
||||||
ln libacl.so.1 $TMPROOT/usr/$PKGLIBDIR/libacl.so
|
ln -sf ../usr/${LIBDIR}/libacl.la $TMPROOT/${LIBDIR}/libacl.la
|
||||||
sed -e "s%libdir=.*$%libdir=\'/usr/$PKGLIBDIR\'%" $TMPROOT/usr/$PKGLIBDIR/libacl.la |\
|
sed -i -e "s%libdir=.*$%libdir=\'/usr/${LIBDIR}\'%" \
|
||||||
sed -e "s%/usr/sbin/libattr.la%/$PKGLIBDIR/libattr.la%" >/tmp/libacl.la
|
-e "s%/usr/sbin/libattr.la%/${LIBDIR}/libattr.la%" $TMPROOT/usr/${LIBDIR}/libacl.la
|
||||||
mv /tmp/libacl.la $TMPROOT/usr/$PKGLIBDIR/libacl.la
|
cp libacl/.libs/libacl.so.1.* $TMPROOT/usr/${LIBDIR}
|
||||||
|
LIBNAME=`ls libacl/.libs/libacl.so.1.*`
|
||||||
|
LIBNAME=`basename $LIBNAME`
|
||||||
|
ln -s $LIBNAME $TMPROOT/usr/${LIBDIR}/libacl.so
|
||||||
|
ln -s $LIBNAME $TMPROOT/usr/${LIBDIR}/libacl.so.1
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
cd $TMPROOT/usr/include
|
echo "Nothing to do for postmk()"
|
||||||
ln -s xfs/acl .
|
|
||||||
mkdir sys
|
|
||||||
cd sys
|
|
||||||
ln -s ../xfs/sys/acl.h acl.h
|
|
||||||
}
|
}
|
||||||
|
@ -74,60 +74,107 @@ premk() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk32() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
PKGLIBDIR="lib64"
|
USE_ARCH=$UARCH \
|
||||||
mkdir -p $TMPROOT/usr/lib64 $TMPROOT/lib64
|
|
||||||
else
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib"
|
|
||||||
PKGLIBDIR="lib"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
|
||||||
CXX="gcc ${BUILDOPTIONS}" \
|
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--build=$TARGET \
|
--build=$TARGET \
|
||||||
--target=$TARGET \
|
--target=$TARGET \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
$ADDOPTIONS \
|
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
sed -e "s%LIBTOOL.*$%LIBTOOL = /usr/bin/libtool --tag help%" \
|
make -j $NUMCPU USE_ARCH=$UARCH
|
||||||
include/builddefs >/tmp/builddefs
|
|
||||||
mv /tmp/builddefs include/builddefs
|
|
||||||
make -j $NUMCPU
|
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs install
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs install-lib
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install-lib
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs install-dev
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
rm $TMPROOT/usr/$PKGLIBDIR/libattr.{a,la}
|
USE_ARCH=$UARCH install-dev
|
||||||
cp libattr/.libs/libattr.{so,a}* $TMPROOT/usr/$PKGLIBDIR
|
rm $TMPROOT/usr/lib/libattr.{a,la}
|
||||||
cp /libexec/libattr.la $TMPROOT/usr/$PKGLIBDIR
|
cp libattr/.libs/libattr.{so,a}* $TMPROOT/usr/lib
|
||||||
ln -sf ../usr/$PKGLIBDIR/libattr.a $TMPROOT/$PKGLIBDIR/libattr.a
|
cp /libexec/libattr.la $TMPROOT/usr/lib
|
||||||
ln -sf ../usr/$PKGLIBDIR/libattr.la $TMPROOT/$PKGLIBDIR/libattr.la
|
ln -sf ../usr/lib/libattr.a $TMPROOT/lib/libattr.a
|
||||||
ln -sf ../../$PKGLIBDIR/libattr.so $TMPROOT/usr/$PKGLIBDIR/libattr.so
|
ln -sf ../usr/lib/libattr.la $TMPROOT/lib/libattr.la
|
||||||
rm $TMPROOT/$PKGLIBDIR/libattr.so
|
ln -sf ../../lib/libattr.so $TMPROOT/usr/lib/libattr.so
|
||||||
ln -s ../usr/$PKGLIBDIR/libattr.so.1.1.0 $TMPROOT/$PKGLIBDIR/libattr.so
|
rm $TMPROOT/lib/libattr.so
|
||||||
sed -e "s/libdir=.*$/libdir=\'\/$PKGLIBDIR\'/" $TMPROOT/$PKGLIBDIR/libattr.la >/tmp/libattr.la
|
ln -s ../usr/lib/libattr.so.1.1.0 $TMPROOT/lib/libattr.so
|
||||||
mv /tmp/libattr.la $TMPROOT/$PKGLIBDIR/libattr.la
|
sed -e "s/libdir=.*$/libdir=\'\/lib/" $TMPROOT/lib/libattr.la >/tmp/libattr.la
|
||||||
rm $TMPROOT/usr/$PKGLIBDIR/libattr.so
|
mv /tmp/libattr.la $TMPROOT/lib/libattr.la
|
||||||
ln -s libattr.so.1.1.0 $TMPROOT/usr/$PKGLIBDIR/libattr.so
|
rm $TMPROOT/usr/lib/libattr.so
|
||||||
|
ln -s libattr.so.1.1.0 $TMPROOT/usr/lib/libattr.so
|
||||||
|
cd ..
|
||||||
|
rm -r attr*
|
||||||
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/attr_*.tar.*
|
||||||
|
cd attr*
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/lib64 $TMPROOT/lib64
|
||||||
|
fi
|
||||||
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
|
./configure --host=$TARGET \
|
||||||
|
--build=$TARGET \
|
||||||
|
--target=$TARGET \
|
||||||
|
--prefix=/ \
|
||||||
|
--libdir=/usr/$LIBDIR \
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
make -j $NUMCPU USE_ARCH=$UARCH
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install-lib
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include/attr \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install-dev
|
||||||
|
rm $TMPROOT/usr/$LIBDIR/libattr.{a,la}
|
||||||
|
cp libattr/.libs/libattr.{so,a}* $TMPROOT/usr/$LIBDIR
|
||||||
|
cp /libexec/libattr.la $TMPROOT/usr/$LIBDIR
|
||||||
|
ln -sf ../usr/$LIBDIR/libattr.a $TMPROOT/$LIBDIR/libattr.a
|
||||||
|
ln -sf ../usr/$LIBDIR/libattr.la $TMPROOT/$LIBDIR/libattr.la
|
||||||
|
ln -sf ../../$LIBDIR/libattr.so $TMPROOT/usr/$LIBDIR/libattr.so
|
||||||
|
rm $TMPROOT/$LIBDIR/libattr.so
|
||||||
|
ln -s ../usr/$LIBDIR/libattr.so.1.1.0 $TMPROOT/$LIBDIR/libattr.so
|
||||||
|
sed -e "s/libdir=.*$/libdir=\'\/$LIBDIR\'/" $TMPROOT/$LIBDIR/libattr.la >/tmp/libattr.la
|
||||||
|
mv /tmp/libattr.la $TMPROOT/$LIBDIR/libattr.la
|
||||||
|
rm $TMPROOT/usr/$LIBDIR/libattr.so
|
||||||
|
ln -s libattr.so.1.1.0 $TMPROOT/usr/$LIBDIR/libattr.so
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -75,9 +75,9 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr
|
||||||
--prefix=/usr
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck VERBOSE=yes
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,10 +75,8 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr
|
||||||
--prefix=/usr
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
MakeCheck -j $NUMCPU check
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,4 +88,5 @@ postmk() {
|
|||||||
export NAME
|
export NAME
|
||||||
mv $NAME aclocal
|
mv $NAME aclocal
|
||||||
ln -s aclocal $NAME
|
ln -s aclocal $NAME
|
||||||
|
ln -s aclocal $TMPROOT/usr/bin/aclocal-1.9
|
||||||
}
|
}
|
||||||
|
@ -72,20 +72,19 @@ SRCPATH=Base/System
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-3.1|" \
|
sed -i "/ac_cv_rl_libdir/s@/lib@&64@" configure
|
||||||
makefile.in
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--without-bash-malloc \
|
--without-bash-malloc \
|
||||||
--with-installed-readline
|
--with-installed-readline
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr bindir=$TMPROOT/bin install
|
make htmldir=$TMPROOT/usr/share/doc/bash-4.0 \
|
||||||
|
DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
# kümmern
|
# kümmern
|
||||||
|
|
||||||
#Module zur Erstellung des Packetes:
|
#Module zur Erstellung des Packetes:
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/binutils
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#gnu Compiler tools wie assembler, linker usw.
|
#gnu Compiler tools wie assembler, linker usw.
|
||||||
#
|
#
|
||||||
@ -70,31 +70,27 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/Utilities
|
SRCPATH=Base/Utilities
|
||||||
(( MKPKG = $MKPKG | 128 ))
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-2*
|
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts_multilib-1.patch*
|
|
||||||
mkdir ../build-binutils
|
mkdir ../build-binutils
|
||||||
cd ../build-binutils
|
cd ../build-binutils
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
ADDCONFIGURE="--libdir=/usr/lib64"
|
LDFLAGS="-Wl,-rpath-link,/lib64:/lib ${BUILDOPTIONS}" \
|
||||||
fi
|
../binutils*/configure --prefix=/usr \
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
--libdir=/usr/${LIBDIR} \
|
||||||
../binutils*/configure --host=$TARGET \
|
|
||||||
--prefix=/usr \
|
|
||||||
$ADDCONFIGURE \
|
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-64-bit-bfd
|
--enable-64-bit-bfd
|
||||||
make -j $NUMCPU configure-host
|
make -j $NUMCPU configure-host
|
||||||
make -j $NUMCPU tooldir=/usr
|
make -j $NUMCPU tooldir=/usr
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU tooldir=/usr DESTDIR=$TMPROOT install
|
make -j $NUMCPU tooldir=/usr DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
mkdir -p $TMPROOT/usr/include
|
||||||
cd ../binutils*
|
cd ../binutils*
|
||||||
cp include/libiberty.h $TMPROOT/usr/include
|
cp include/libiberty.h $TMPROOT/usr/include
|
||||||
rm -r ../build-binutils
|
rm -r ../build-binutils
|
||||||
|
@ -73,23 +73,23 @@ premk() {
|
|||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
|
./configure --prefix=/usr &&
|
||||||
|
make -j $NUMCPU &&
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
||||||
|
make distclean
|
||||||
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}"
|
CC="gcc ${BUILDOPTIONS}"
|
||||||
./configure --host=$TARGET \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--prefix=/usr &&
|
--prefix=/usr &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
MakeCheck -j $NUMCPU check &&
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
cd $TMPROOT/usr/bin
|
cd $TMPROOT/usr/bin
|
||||||
echo '#!/bin/sh' > yacc
|
|
||||||
echo '#Begin /usr/bin/yacc' >>yacc
|
|
||||||
echo '' >>yacc
|
|
||||||
echo '/usr/bin/bison -y $@' >>yacc
|
|
||||||
echo '' >>yacc
|
|
||||||
echo '#End /usr/bin/yacc' >>yacc
|
|
||||||
chmod 755 yacc
|
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: bzip2
|
#Module zur Erstellung des Packetes: bzip2
|
||||||
#Quelle der Source Archive: ftp://sources.redhat.com/pub/bzip2/
|
#Quelle der Source Archive: http://www.bzip.org/
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#bzip2 Komprimierungs und Dekomprimierungs tools
|
#bzip2 Komprimierungs und Dekomprimierungs tools
|
||||||
#
|
#
|
||||||
@ -72,60 +72,53 @@ SRCPATH=Base/Utilities
|
|||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share/man
|
mkdir -p $TMPROOT/usr/share/man
|
||||||
ln -s $TMPROOT/usr/share/man $TMPROOT/usr/man
|
ln -s $TMPROOT/usr/share/man $TMPROOT/usr/man
|
||||||
|
sed -i -e 's:ln -s -f $(PREFIX)/bin/:ln -s :' Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
make -f Makefile-libbz2_so \
|
make -j $NUMCPU -f Makefile-libbz2_so \
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
CXX="g++ ${BUILDOPTIONS32}"
|
CXX="g++ ${BUILDOPTIONS32}"
|
||||||
make CC="gcc ${BUILDOPTIONS32}" CXX="g++ ${BUILDOPTIONS32}" libbz2.a
|
make -j $NUMCPU clean
|
||||||
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS32}" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
|
libbz2.a
|
||||||
mkdir -p $TMPROOT/usr/lib $TMPROOT/lib
|
mkdir -p $TMPROOT/usr/lib $TMPROOT/lib
|
||||||
cp -v libbz2.a $TMPROOT/usr/lib
|
cp -v libbz2.a $TMPROOT/usr/lib
|
||||||
cp -av libbz2.so* $TMPROOT/lib
|
cp -av libbz2.so* $TMPROOT/lib
|
||||||
ln -sv ../../libbz2.so.1.0 $TMPROOT/usr/lib/libbz2.so
|
ln -sv ../../lib/libbz2.so.1.0 $TMPROOT/usr/lib/libbz2.so
|
||||||
make clean
|
make clean
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
SrcPatch $MAKEDIR/bzip2* $LFSSOURCE/$SRCPATH/bzip2-*-install_docs-1.patch*
|
|
||||||
SrcPatch $MAKEDIR/bzip2* $LFSSOURCE/$SRCPATH/bzip2-*-remove_tempfile-1.patch*
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
sed -i 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile
|
sed -i 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile
|
||||||
fi
|
fi
|
||||||
make -j $NUMCPU -f Makefile-libbz2_so \
|
make -j $NUMCPU -f Makefile-libbz2_so \
|
||||||
CC="gcc -fPIC ${BUILDOPTIONS}" \
|
CC="gcc -fPIC ${BUILDOPTIONS}" \
|
||||||
CXX="gcc -fPIC ${BUILDOPTIONS}"
|
CXX="g++ -fPIC ${BUILDOPTIONS}"
|
||||||
make -j $NUMCPU clean
|
make -j $NUMCPU clean
|
||||||
make -j $NUMCPU CC="gcc -fPIC ${BUILDOPTIONS}" \
|
make -j $NUMCPU CC="gcc -fPIC ${BUILDOPTIONS}" \
|
||||||
CXX="gcc -fPIC ${BUILDOPTIONS}"
|
CXX="g++ -fPIC ${BUILDOPTIONS}"
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU PREFIX=/usr install
|
||||||
make PREFIX=$TMPROOT/usr install
|
make PREFIX=$TMPROOT/usr install
|
||||||
rm $TMPROOT/usr/man
|
rm $TMPROOT/usr/man
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/bin $TMPROOT/usr/share/man/man1 $TMPROOT/lib
|
mkdir -p $TMPROOT/bin $TMPROOT/usr/share/man/man1 $TMPROOT/lib
|
||||||
WDIR=`pwd`
|
|
||||||
cp bzip2-shared $TMPROOT/bin/bzip2
|
cp bzip2-shared $TMPROOT/bin/bzip2
|
||||||
ln -sf libbz2.so.1.0 libbz2.so
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
mkdir $TMPROOT/lib64
|
mkdir $TMPROOT/lib64
|
||||||
cp -a libbz2.so* libbz2.a $TMPROOT/lib64
|
|
||||||
ln -sf ../../lib/libbz2.so $TMPROOT/usr/lib64/libbz2.so
|
|
||||||
else
|
|
||||||
cp -a libbz2.so* libbz2.a $TMPROOT/lib
|
|
||||||
ln -sf ../../lib/libbz2.so $TMPROOT/usr/lib/libbz2.so
|
|
||||||
fi
|
fi
|
||||||
cd $TMPROOT/usr/bin
|
cp -a libbz2.so* libbz2.a $TMPROOT/${LIBDIR}
|
||||||
rm bunzip2 bzcat bzip2
|
ln -sf ../../${LIBDIR}/libbz2.so.1.0 $TMPROOT/usr/${LIBDIR}/libbz2.so
|
||||||
mv bzip2recover bzless bzmore $TMPROOT/bin
|
rm $TMPROOT/usr/bin/{bunzip2,bzcat,bzip2}
|
||||||
cd $TMPROOT/bin
|
mv $TMPROOT/usr/bin/{bzip2recover,bzless,bzmore} $TMPROOT/bin
|
||||||
ln -sf bzip2 bunzip2
|
ln -sf bzip2 $TMPROOT/bin/bunzip2
|
||||||
ln -sf bzip2 bzcat
|
ln -sf bzip2 $TMPROOT/bin/bzcat
|
||||||
cd $TMPROOT/usr/share/man/man1
|
ln -s bzip2.1 $TMPROOT/usr/share/man/man1/bunzip2.1
|
||||||
ln -s bzip2.1 bunzip2.1
|
ln -s bzip2.1 $TMPROOT/usr/share/man/man1/bzcat.1
|
||||||
ln -s bzip2.1 bzcat.1
|
ln -s bzip2.1 $TMPROOT/usr/share/man/man1/bzip2recover.1
|
||||||
ln -s bzip2.1 bzip2recover.1
|
|
||||||
cd $WDIR
|
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ premk() {
|
|||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
GetSVN Viitor_cdboot $TMPROOT
|
GetGit Viitor_cdboot $TMPROOT
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#dieses Framework wird im CVS Repository
|
#dieses Framework wird im CVS Repository
|
||||||
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
#
|
#
|
||||||
#Lage dieser Datei im Archiv: $HeadURL$
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/BaseBuild/toolchain/cloog-ppl $
|
||||||
#
|
#
|
||||||
#(c) 2003 Harald Kueller, Germany
|
#(c) 2003 Harald Kueller, Germany
|
||||||
#This program is free software; you can redistribute it and/or
|
#This program is free software; you can redistribute it and/or
|
||||||
@ -56,75 +56,70 @@
|
|||||||
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: pdflib
|
#Module zur Erstellung des Packetes: cloog-ppl
|
||||||
#Quelle der Source Archive: www.pdflib.com/bibel
|
#Quelle der Source Archive: http://cloog.org
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Support Library für das Acrobat Document Format PDF
|
#Polyhedra support Funktionen.
|
||||||
#
|
|
||||||
#Letzte Änderung von: $Author$
|
|
||||||
#Datum der letzten Änderung: $Date$
|
|
||||||
#Version der Datei: $Revision$
|
|
||||||
#
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2011-02-25 12:22:50 +0100 (Fr, 25. Feb 2011) $
|
||||||
|
#Version der Datei: $Rev: 5996 $
|
||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=X11/lib
|
SRCPATH=Base/Lib
|
||||||
SRCDIR=PDFlib
|
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/X11R7/bin
|
|
||||||
echo "Nothing to do for premk()"
|
echo "Nothing to do for premk()"
|
||||||
CheckError "premk() failed !" 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
LDFLAGS="-Wl,-rpath-link,/lib ${BUILDOPTIONS32}" \
|
||||||
./configure --target=$TARGET32 \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr/X11R7 \
|
--host=${TARGET32} \
|
||||||
--with-gnu-ld \
|
--enable-shared \
|
||||||
--enable-php \
|
--with-gmp \
|
||||||
--enable-cxx \
|
--with-ppl
|
||||||
--with-perl=/usr/bin/perl \
|
|
||||||
--with-py=/usr/bin/python \
|
|
||||||
--with-tcl=/usr/X11R7/bin/tclsh
|
|
||||||
CheckError "Configurescript failed !" 1
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
|
# Make-Optionen eintragen
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr/X11R7 install
|
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
|
# Make install Optionen eintragen
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
LDFLAGS="-Wl,-rpath-link,/${LIBDIR} ${BUILDOPTIONS}" \
|
||||||
fi
|
./configure --prefix=/usr \
|
||||||
CC="gcc $BUILDOPTIONS" \
|
--libdir=/usr/${LIBDIR} \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
--enable-shared \
|
||||||
./configure --host=$TARGET \
|
--with-gmp \
|
||||||
--build=$TARGET \
|
--with-ppl
|
||||||
--target=$TARGET \
|
|
||||||
--prefix=/usr/X11R7 \
|
|
||||||
$ADDOPTIONS \
|
|
||||||
--with-gnu-ld \
|
|
||||||
--enable-php \
|
|
||||||
--enable-cxx \
|
|
||||||
--with-perl=/usr/bin/perl \
|
|
||||||
--with-py=/usr/bin/python \
|
|
||||||
--with-tcl=/usr/X11R7/bin/tclsh
|
|
||||||
CheckError "Configurescript failed !" 1
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
|
# Make-Optionen eintragen
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr/X11R7 install
|
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
|
# Make install Optionen eintragen
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
echo "Nothing to do for postmk()"
|
||||||
CheckError "postmk() failed !" 1
|
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
#dieses Framework wird im CVS Repository
|
#dieses Framework wird im SVN Repository
|
||||||
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
#svn://www.compuextreme.de/Viitor/V962/Viitor_config
|
||||||
#
|
#
|
||||||
#Lage dieser Datei im Archiv: $HeadURL$
|
#Lage dieser Datei im Archiv: $HeadURL$
|
||||||
#
|
#
|
||||||
@ -57,7 +57,7 @@
|
|||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: config
|
#Module zur Erstellung des Packetes: config
|
||||||
#Quelle der Source Archive: :pserver:cvs@cvs.tramp-bbs.de:/pub/CVS
|
#Quelle der Source Archive: svn://svn.compuextreme.de/Viitor/V962/Viitor_config
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Wichtige Configurationshilfen/files für ViitorLinux
|
#Wichtige Configurationshilfen/files für ViitorLinux
|
||||||
#
|
#
|
||||||
@ -89,7 +89,7 @@ premk() {
|
|||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
GetSVN Viitor_config $TMPROOT
|
GetGit Viitor_config $TMPROOT
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
|
@ -58,8 +58,8 @@
|
|||||||
# 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: coreutils
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/coreutils
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Eine Sammlung der wichtigsten UNIX/Shell tools
|
#Eine Sammlung der wichtigsten UNIX/Shell tools
|
||||||
#wie ls, cut, ln uvm.
|
#wie ls, cut, ln uvm.
|
||||||
@ -78,18 +78,29 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr
|
--enable-no-install-program=kill,uptime \
|
||||||
|
--enable-install-program=hostname
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
if [ "$CHECK" == "true" ]; then
|
||||||
|
echo "dummy1:x:1000:" >> /etc/group
|
||||||
|
echo "dummy2:x:1001:dummy" >> /etc/group
|
||||||
|
echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd
|
||||||
|
MakeCheck NON_ROOT_USERNAME=dummy check-root
|
||||||
|
chown -Rv dummy config.log {gnulib-tests,lib,src}/.deps
|
||||||
|
src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"
|
||||||
|
sed -i '/dummy/d' /etc/passwd /etc/group
|
||||||
|
fi
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir $TMPROOT/bin
|
mkdir $TMPROOT/bin
|
||||||
mv $TMPROOT/usr/bin/{basename,cat,chgrp,chmod,chown,cp,date} $TMPROOT/bin
|
mv $TMPROOT/usr/bin/{cat,chgrp,chmod,chown,cp,date} $TMPROOT/bin
|
||||||
mv $TMPROOT/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} $TMPROOT/bin
|
mv $TMPROOT/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} $TMPROOT/bin
|
||||||
mv $TMPROOT/usr/bin/{rm,rmdir,shred,sync,sleep,stty,test} $TMPROOT/bin
|
mv $TMPROOT/usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} $TMPROOT/bin
|
||||||
mv $TMPROOT/usr/bin/{touch,true,uname,vdir} $TMPROOT/bin
|
mv $TMPROOT/usr/bin/{basename,head,install,nice} $TMPROOT/bin
|
||||||
|
mv $TMPROOT/usr/bin/{readlink,sleep,sync,test,touch} $TMPROOT/bin
|
||||||
ln -s ../usr/bin/pwd $TMPROOT/bin/pwd
|
ln -s ../usr/bin/pwd $TMPROOT/bin/pwd
|
||||||
mkdir -p $TMPROOT/usr/{sbin,share}
|
mkdir -p $TMPROOT/usr/{sbin,share}
|
||||||
mkdir $TMPROOT/sbin
|
mkdir $TMPROOT/sbin
|
||||||
|
@ -71,11 +71,7 @@
|
|||||||
SRCPATH=Base/Utilities
|
SRCPATH=Base/Utilities
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s/char \*strdup ();/\/\/char *strdup();/" userspec.c \
|
echo "Nothing to do for premk()"
|
||||||
>/tmp/userspec.c
|
|
||||||
mv /tmp/userspec.c userspec.c
|
|
||||||
sed -e "78 d" rmt.c >/tmp/rmt.c
|
|
||||||
mv /tmp/rmt.c rmt.c
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
@ -88,12 +84,7 @@ mk() {
|
|||||||
--sbindir=/sbin \
|
--sbindir=/sbin \
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU refix=$TMPROOT/usr bindir=$TMPROOT/usr/bin \
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
sbindir=$TMPROOT/sbin mandir=$TMPROOT/usr/share/man install
|
|
||||||
if [ ! -d $TMPROOT/usr/share/man/man1 ]; then
|
|
||||||
mkdir $TMPROOT/usr/share/man/man1
|
|
||||||
fi
|
|
||||||
cp *.1 $TMPROOT/usr/share/man/man1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: cracklib
|
#Module zur Erstellung des Packetes: cracklib
|
||||||
#Quelle der Source Archive: http://www.ja.net/CERT/Software/cracklib/
|
#Quelle der Source Archive: http://sourceforge.net/projects/cracklib/
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Cracklib ermöglicht es passwoerter auf sicherheit zu überprüfen
|
#Cracklib ermöglicht es passwoerter auf sicherheit zu überprüfen
|
||||||
#Hierbei wird auf Entsprechende Buchstabenkombinationen gecheckt,
|
#Hierbei wird auf Entsprechende Buchstabenkombinationen gecheckt,
|
||||||
@ -72,7 +72,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
@ -56,12 +56,10 @@
|
|||||||
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: arts
|
#Module zur Erstellung des Packetes: dbus
|
||||||
#Quelle der Source Archive: www.kde.org
|
#Quelle der Source Archive: http://dbus.freedesktop.org/releases
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Audio Server - zum Playback meherer Paralleler Audiostreams.
|
#Gnome Windowmanager
|
||||||
#Dieser Audioserver wird für das Abspielen von audiosounds im
|
|
||||||
#Kommon Desktop Environment (kde) verwendet.
|
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author$
|
||||||
#Datum der letzten Änderung: $Date$
|
#Datum der letzten Änderung: $Date$
|
||||||
@ -70,55 +68,75 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=X11/MultiMedia
|
SRCPATH=Base/System
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 256 ))
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
X11R7_Fix
|
# sed -i "1i\#include <syslog.h>" dbus/dbus-sysdeps-util-unix.c &&
|
||||||
export STQTDIR=$QTDIR
|
mkdir ../Build-dbus
|
||||||
|
cd ../Build-dbus
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
export QTDIR=`echo $STQTDIR|sed -e "s/lib64/lib/"`
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
USE_ARCH=32 \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
../dbus*/configure --prefix=/usr \
|
||||||
LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
--sysconfdir=/etc \
|
||||||
./configure --target=$TARGET32 \
|
--libdir=/lib \
|
||||||
--prefix=/opt/kde
|
--libexecdir=/usr/lib/dbus-1.0 \
|
||||||
for i in `find . -name "Makefile"`; do
|
--localstatedir=/var &&
|
||||||
sed -e "s%/usr/man%\$(DESTDIR)/\$(prefix)/man%" $i >/tmp/Makefile
|
|
||||||
mv /tmp/Makefile $i
|
|
||||||
done
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/opt/kde install &&
|
make -j $NUMCPU install &&
|
||||||
CheckError "Make install process failed !" 1
|
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
||||||
ClearHostSysNameing32 $TMPROOT
|
cd ../dbus* &&
|
||||||
make distclean
|
rm -r ../Build-dbus &&
|
||||||
|
mkdir ../Build-dbus &&
|
||||||
|
cd ../Build-dbus
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
export LDFLAGS="-L/lib64 -L/usr/lib64 -L/usr/X11R7/lib64 -L/usr/lib64/qt/lib"
|
|
||||||
fi
|
|
||||||
export QTDIR=$STQTDIR
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
../dbus*/configure --prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=/$LIBDIR \
|
||||||
--prefix=/opt/kde
|
--sysconfdir=/etc \
|
||||||
for i in `find . -name "Makefile"`; do
|
--libexecdir=/usr/$LIBDIR/dbus-1.0 \
|
||||||
sed -e "s%/usr/man%\$(DESTDIR)/\$(prefix)/man%" $i >/tmp/Makefile
|
--localstatedir=/var &&
|
||||||
mv /tmp/Makefile $i
|
|
||||||
done
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/opt/kde install &&
|
make -j $NUMCPU install &&
|
||||||
CheckError "Make install process failed !" 1
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
install -v -m755 -d $TMPROOT/usr/share/doc/dbus-1.4.6
|
||||||
|
install -v -m644 doc/{TODO,*,{dtd,xml,xsl,txt,c}} \
|
||||||
|
/usr/share/doc/dbus-1.4.6
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
cd ../dbus*
|
||||||
|
rm -r ../Build-dbus
|
||||||
ClearHostSysNameing $TMPROOT
|
ClearHostSysNameing $TMPROOT
|
||||||
|
GetGit Viitor_dbus $TMPROOT
|
||||||
|
cd $TMPROOT/etc/sysconfig/dbus-1
|
||||||
|
sed -i "/<standard_session_servicedirs \/>/a\ <servicedir>/usr/share/dbus-1/services</servicedir>" session.conf
|
||||||
|
sed -i "/<standard_system_servicedirs\/>/a\ <servicedir>/usr/share/dbus-1/services</servicedir>" system.conf
|
||||||
|
if [ ! -d $TMPROOT/usr/lib ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/lib
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib/pkgconfig $TMPROOT/usr/lib
|
||||||
|
ln -s /lib/libdbus-1.so.3.5.4 $TMPROOT/usr/lib/libdbus-1.so
|
||||||
|
ln -s /lib/libdbus-1.so.3.5.4 $TMPROOT/usr/lib/libdbus-1.so.3
|
||||||
|
ln -s /lib/libdbus-1.so.3.5.4 $TMPROOT/usr/lib/libdbus-1.so.3.5.4
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
if [ ! -d $TMPROOT/usr/lib64 ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/lib64
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib64/pkgconfig $TMPROOT/usr/lib64
|
||||||
|
ln -s /lib64/libdbus-1.so.3.5.4 $TMPROOT/usr/lib64/libdbus-1.so
|
||||||
|
ln -s /lib64/libdbus-1.so.3.5.4 $TMPROOT/usr/lib64/libdbus-1.so.3
|
||||||
|
ln -s /lib64/libdbus-1.so.3.5.4 $TMPROOT/usr/lib64/libdbus-1.so.3.5.4
|
||||||
|
fi
|
||||||
}
|
}
|
91
BaseBuild/Basesys/dhcpcd
Normal file
91
BaseBuild/Basesys/dhcpcd
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
#!/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: $Source: $
|
||||||
|
#
|
||||||
|
#(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: portmap
|
||||||
|
#Quelle der Source Archive: www.freshmeat.net
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#rpc daemon
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2008-05-02 15:13:24 +0200 (Fr, 02. Mai 2008) $
|
||||||
|
#Version der Datei: $Revision: 4220 $
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/Net
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc $BUILDOPTIONS" \
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--sbindir=/sbin \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--dbdir=/var/${LIBDIR}/dhcpcd \
|
||||||
|
--libexecdir=/usr/${LIBDIR}/dhcpcd
|
||||||
|
make -j $NUMCPU
|
||||||
|
make DESTDIR=$TMPROOT install
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
echo "Nothing to do for postmk()"
|
||||||
|
}
|
@ -75,10 +75,10 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr
|
||||||
--prefix=/usr
|
sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' config.h
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
137
BaseBuild/Basesys/dmapi
Normal file
137
BaseBuild/Basesys/dmapi
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/BaseBuild/Basesys/acl $
|
||||||
|
#
|
||||||
|
#(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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: dmapi
|
||||||
|
#Quelle der Source Archive: ftp://oss.sgi.com/projects/xfs/cmd_tars/
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#xfs additional system
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2010-03-05 22:50:07 +0100 (Fr, 05. Mär 2010) $
|
||||||
|
#Version der Datei: $Revision: 5450 $
|
||||||
|
|
||||||
|
SRCPATH=Base/System
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
if [ ! -d $TMPROOT/lib ]; then
|
||||||
|
mkdir -p $TMPROOT/lib $TMPROOT/usr/lib
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc ${BUILDOPTIONS32} -fPIC -I/usr/include" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS32} -fPIC -I/usr/include" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --host=$TARGET \
|
||||||
|
--prefix=/ \
|
||||||
|
--libdir=/usr/lib \
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
make -j $NUMCPU USE_ARCH=$UARCH
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/dmapi \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/dmapi \
|
||||||
|
USE_ARCH=$UARCH install-dev
|
||||||
|
make distclean
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mkdir -p $TMPROOT/lib64 $TMPROOT/usr/lib64
|
||||||
|
fi
|
||||||
|
CC="gcc ${BUILDOPTIONS} -fPIC -I/usr/include" \
|
||||||
|
CXX="g++ ${BUILDOPTIONS} -fPIC -I/usr/include" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --host=$TARGET \
|
||||||
|
--prefix=/ \
|
||||||
|
--libdir=/usr/${LIBDIR} \
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
make -j $NUMCPU USE_ARCH=$UARCH
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/dmapi \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
|
PKG_INC_DIR=$TMPROOT/usr/include \
|
||||||
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
|
PKG_DOC_DIR=$TMPROOT/usr/share/doc/dmapi \
|
||||||
|
USE_ARCH=$UARCH install-dev
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
echo "Nothing to do for postmk()"
|
||||||
|
}
|
@ -70,52 +70,57 @@ SRCPATH=Base/System
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share/info
|
mkdir -p $TMPROOT/usr/share/info
|
||||||
cd $TMPROOT/usr
|
ln -s share/info $TMPROOT/usr/info
|
||||||
ln -s share/info info
|
mkdir build
|
||||||
cd -
|
cd build
|
||||||
mkdir ../build-e2fsprogs
|
|
||||||
cd ../build-e2fsprogs
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
../e2fsprogs*/configure --prefix=/usr \
|
LDFLAGS="-luuid -lblkid" \
|
||||||
|
../configure --prefix=/usr \
|
||||||
--with-root-prefix="" \
|
--with-root-prefix="" \
|
||||||
--enable-elf-shlibs \
|
--enable-elf-shlibs \
|
||||||
-disable-evms
|
--disable-libblkid \
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS32}" libs
|
--disable-libuuid \
|
||||||
make -j $NUMCPU install
|
--disable-fsck \
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
--disable-uuidd
|
||||||
|
make -j $NUMCPU libs
|
||||||
|
make -j $NUMCPU install-libs
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install-libs
|
make -j $NUMCPU DESTDIR=$TMPROOT install-libs
|
||||||
cd ../e2fsprogs*
|
if [ ! -d $TMPROOT/usr/lib ]; then
|
||||||
rm -r ../build-e2fsprogs
|
mkdir -p $TMPROOT/usr/lib
|
||||||
mkdir ../build-e2fsprogs
|
fi
|
||||||
cd ../build-e2fsprogs
|
mv $TMPROOT/lib/pkgconfig $TMPROOT/usr/lib
|
||||||
|
cd ..
|
||||||
|
rm -r build
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
cd ../e2fsprogs*
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' configure
|
sed -i '/libdir.*=.*\/lib/s@/lib@/lib64@g' ../configure
|
||||||
fi
|
fi
|
||||||
cd -
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
gcc="gcc ${BUILDOPTIONS}" \
|
LDFLAGS="-luuid -lblkid" \
|
||||||
../e2fsprogs*/configure --host=$TARGET \
|
../configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
--libdir=/$LIBDIR \
|
||||||
--with-root-prefix="" \
|
--with-root-prefix="" \
|
||||||
--enable-elf-shlibs \
|
--enable-elf-shlibs \
|
||||||
--disable-evms
|
--disable-libblkid \
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}"
|
--disable-libuuid
|
||||||
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install-libs
|
make -j $NUMCPU DESTDIR=$TMPROOT install-libs
|
||||||
install-info $TMPROOT/usr/share/info/libext2fs.info \
|
if [ ! -d $TMPROOT/usr/$LIBDIR ]; then
|
||||||
$TMPROOT/usr/share/info/dir
|
mkdir -p $TMPROOT/usr/$LIBDIR
|
||||||
rm $TMPROOT/usr/info
|
fi
|
||||||
|
mv $TMPROOT/$LIBDIR/pkgconfig $TMPROOT/usr/$LIBDIR
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
rm -r $MAKEDIR/build-e2fsprogs
|
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,4 @@ postmk() {
|
|||||||
cd $TMPROOT
|
cd $TMPROOT
|
||||||
mv usr/bin/{ed,red} bin
|
mv usr/bin/{ed,red} bin
|
||||||
rm -r usr/bin
|
rm -r usr/bin
|
||||||
mkdir -p $TMPROOT/usr/share
|
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
|
||||||
}
|
}
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
# 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: glibc
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/glibc
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Die GNU libc des OpenSource Linux System
|
#Die GNU libc des OpenSource Linux System
|
||||||
#wird von parktisch allen programmen benoetigt
|
#wird von parktisch allen programmen benoetigt
|
||||||
@ -69,66 +69,76 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
(( MKPKG = $MKPKG | 128 ))
|
(( MKPKG = $MKPKG | 128 ))
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
ARCH=`echo $TARGET|cut -d"-" -f 1`
|
unset LINKER
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-localedef_segfault*
|
mkdir -v ../build-eglibc
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-branch_update-2*
|
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-blowfish*
|
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-dl_execstack_PaX*
|
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-iconv_unnest-1*
|
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-pt_pax-1*
|
|
||||||
SrcPatch $MAKEDIR/glibc* $LFSSOURCE/$SRCPATH/glibc-*-strlcpy_strlcat-1*
|
|
||||||
mkdir ../build-glibc
|
|
||||||
cd ../build-glibc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
|
LINKER=$(readelf -l $(file /tools/lib/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
|
||||||
|
mv scripts/test-installation.pl{,.orig}
|
||||||
|
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
|
||||||
|
scripts/test-installation.pl
|
||||||
|
cd ../build-eglibc
|
||||||
|
ARCH=`echo $TARGET32|cut -d"-" -f 1`
|
||||||
CC="gcc -m32" \
|
CC="gcc -m32" \
|
||||||
CXX="g++ -m32" \
|
CXX="g++ -m32" \
|
||||||
../glibc*/configure --prefix=/usr \
|
CFLAGS="-march=$ARCH -mtune=generic -g -O2" \
|
||||||
|
../eglibc*/configure --prefix=/usr \
|
||||||
--host=${TARGET32} \
|
--host=${TARGET32} \
|
||||||
--disable-profile \
|
--disable-profile \
|
||||||
--enable-add-ons \
|
--enable-add-ons \
|
||||||
--enable-kernel=2.6.0 \
|
--enable-kernel=2.6.0 \
|
||||||
--libexecdir=/usr/lib/glibc
|
--libexecdir=/usr/lib/eglibc
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
sed -i '/cross-compiling/s@ifeq@ifneq@g' ../eglibc-*/localedata/Makefile
|
||||||
|
cp -v ../eglibc-*/iconvdata/gconv-modules iconvdata
|
||||||
|
MakeCheck -k check |tee /tmp/genpkg/eglibc-check-log.32 2>&1
|
||||||
|
touch /etc/ld.so.conf
|
||||||
make -j $NUMCPU install_root=$TMPROOT install
|
make -j $NUMCPU install_root=$TMPROOT install
|
||||||
cd ../glibc*
|
cd ../eglibc*
|
||||||
rm -r ../build-glibc/
|
rm -r ../build-eglibc/
|
||||||
mkdir ../build-glibc
|
mv scripts/test-installation.pl.orig scripts/test-installation.pl
|
||||||
cd ../build-glibc
|
mkdir ../build-eglibc
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
LINKER=$(readelf -l $(file /tools/${LIBDIR}/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
|
||||||
|
sed -i "s|libs -o|libs -L/usr/${LIBDIR} -Wl,-dynamic-linker=${LINKER} -o|" \
|
||||||
|
scripts/test-installation.pl
|
||||||
|
cd ../build-eglibc
|
||||||
if [ $MK64BIT == "true" ]; then
|
if [ $MK64BIT == "true" ]; then
|
||||||
echo "slibdir=/lib64" >> configparms
|
echo "slibdir=/lib64" >> configparms
|
||||||
ADDCONFIGURE="--libdir=/usr/lib64 --libexecdir=/usr/lib64/glibc"
|
|
||||||
if echo $ARCH|grep -q sparc; then
|
if echo $ARCH|grep -q sparc; then
|
||||||
echo "Special doings for sparc ?"
|
echo "Special doings for sparc ?"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
ADDCONFIGURE="--libexecdir=/usr/lib/glibc"
|
BUILDOPTIONS=${BUILDOPTIONS}" -march=i486"
|
||||||
fi
|
fi
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
../glibc*/configure --prefix=/usr \
|
CFLAGS="-mtune=generic -g -O2" \
|
||||||
--host=${TARGET} \
|
../eglibc*/configure --prefix=/usr \
|
||||||
$ADDCONFIGURE \
|
$ADDCONFIGURE \
|
||||||
--disable-profile \
|
--disable-profile \
|
||||||
--enable-add-ons \
|
--enable-add-ons \
|
||||||
--enable-kernel=2.6.0
|
--enable-kernel=2.6.0 \
|
||||||
|
--libexecdir=/usr/${LIBDIR}/eglibc \
|
||||||
|
--libdir=/usr/${LIBDIR}
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
cp -v ../eglibc-*/iconvdata/gconv-modules iconvdata
|
||||||
|
MakeCheck -k check |tee /tmp/genpkg/eglibc-check-log 2>&1
|
||||||
make -j $NUMCPU install_root=$TMPROOT install
|
make -j $NUMCPU install_root=$TMPROOT install
|
||||||
make -j $NUMCPU install_root=$TMPROOT localedata/install-locales
|
make -j $NUMCPU install_root=$TMPROOT localedata/install-locales
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
cd ../glibc*
|
cd ../eglibc*
|
||||||
rm -r ../build-glibc
|
rm -r ../build-eglibc
|
||||||
tar -C /tools/share/zoneinfo -cf - .|\
|
mkdir -p $TMPROOT/var/db/nscd
|
||||||
tar -C $TMPROOT/usr/share/zoneinfo -xf -
|
mkdir -p $TMPROOT/var/run/nscd
|
||||||
}
|
}
|
@ -68,14 +68,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zu Basis Source Tree eintragen!
|
#Pfad zu Basis Source Tree eintragen!
|
||||||
SRCPATH=Tools/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
#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() {
|
||||||
mkdir $TMPROOT/usr/include -p
|
mkdir -p $TMPROOT/usr/include
|
||||||
if [ -d /usr/man ]; then
|
if [ -d /usr/man ]; then
|
||||||
mv /usr/man /usr/man.store
|
mv /usr/man /usr/man.store
|
||||||
fi
|
fi
|
||||||
@ -98,16 +98,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=/usr/lib64
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--includedir=/usr/include &&
|
--includedir=/usr/include &&
|
||||||
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
@ -125,4 +122,8 @@ postmk() {
|
|||||||
if [ -d /usr/man.store ]; then
|
if [ -d /usr/man.store ]; then
|
||||||
mv /usr/man.store /usr/man
|
mv /usr/man.store /usr/man
|
||||||
fi
|
fi
|
||||||
|
if [ $MK64BIT == "true" ]; then
|
||||||
|
cd /usr/lib64
|
||||||
|
ln -s libexpat.so.1.* libexpat.so
|
||||||
|
fi
|
||||||
}
|
}
|
@ -77,33 +77,35 @@ mk() {
|
|||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
|
--prefix=/usr \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--sysconfdir=/etc \
|
||||||
--with-spooldir=/var/spool/cron \
|
--with-spooldir=/var/spool/cron \
|
||||||
--with-username=root \
|
--with-username=root \
|
||||||
--with-groupname=root \
|
--with-groupname=root \
|
||||||
--without-sendmail \
|
--without-sendmail \
|
||||||
--with-cflags="$CFLAGS"
|
--with-cflags="$BUILDOPTIONS"
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
yes "n"|make -j $NUMCPU prefix=$TMPROOT/usr \
|
yes "n"|make DESTDIR=$TMPROOT install
|
||||||
exec_prefix=$TMPROOT/usr \
|
|
||||||
FCRONTABS=$TMPROOT/var/spool/cron \
|
|
||||||
ETC=$TMPROOT/etc install
|
|
||||||
for i in 1 3 5; do
|
for i in 1 3 5; do
|
||||||
if [ ! -d $TMPROOT/usr/share/man/man$i ]; then
|
if [ ! -d $TMPROOT/usr/share/man/man$i ]; then
|
||||||
mkdir -p $TMPROOT/usr/share/man/man$i
|
mkdir -p $TMPROOT/usr/share/man/man$i
|
||||||
fi
|
fi
|
||||||
cp doc/man/*.$i $TMPROOT/usr/share/man/man$i
|
cp doc/man/*.$i $TMPROOT/usr/share/man/man$i
|
||||||
done
|
done
|
||||||
|
mkdir $TMPROOT/etc/pam.d
|
||||||
|
cp files/fcron.pam $TMPROOT/etc/pam.d/fcron
|
||||||
|
cp files/fcrontab.pam $TMPROOT/etc/pam.d/fcrontab
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_cron $TMPROOT
|
GetGit Viitor_cron $TMPROOT
|
||||||
cd $TMPROOT/usr/bin
|
cd $TMPROOT/usr/bin
|
||||||
ln -s fcrontab crontab
|
ln -s fcrontab crontab
|
||||||
cd $TMPROOT/usr/sbin
|
cd $TMPROOT/usr/sbin
|
||||||
ln -s fcron cron
|
ln -s fcron cron
|
||||||
cd $TMPROOT/etc
|
cd $TMPROOT/etc
|
||||||
mkdir pam.d
|
chmod 6755 $TMPROOT/usr/bin/fcrondyn
|
||||||
grep "^fcron " pam.conf|sed -e "s/^fcron *//" >pam.d/fcron
|
chmod 2750 $TMPROOT/usr/bin/fcronsighup
|
||||||
grep "^fcrontab " pam.conf|sed -e "s/^fcrontab *//" >pam.d/fcrontab
|
chmod 6755 $TMPROOT/usr/bin/fcrontab
|
||||||
rm pam.conf
|
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,8 @@
|
|||||||
|
|
||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 128 ))
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/bin $TMPROOT/usr/share/misc \
|
mkdir -p $TMPROOT/usr/bin $TMPROOT/usr/share/misc \
|
||||||
$TMPROOT/usr/share/man/man1 $TMPROOT/usr/share/man/man4
|
$TMPROOT/usr/share/man/man1 $TMPROOT/usr/share/man/man4
|
||||||
@ -91,13 +93,9 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
../file*/configure --host=$TARGET \
|
../file*/configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
--libdir=/usr/${LIBDIR} \
|
||||||
$ADDOPTIONS \
|
|
||||||
--datadir=/usr/share/misc
|
--datadir=/usr/share/misc
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
@ -77,26 +77,16 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libexecdir=/usr/lib64/locate \
|
|
||||||
--localstatedir=/var/lib64/locate"
|
|
||||||
LIBEXECPATH="/usr/lib64/locate"
|
|
||||||
LOCALSTATE="/var/lib64/locate"
|
|
||||||
else
|
|
||||||
ADDOPTIONS="--libexecdir=/usr/lib/locate \
|
|
||||||
--localstatedir=/var/lib/locate"
|
|
||||||
LIBEXECPATH="/usr/lib/locate"
|
|
||||||
LOCALSTATE="/var/lib/locate"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --libexecdir=/usr/$LIBDIR/locate \
|
||||||
$ADDOPTIONS
|
--localstatedir=/var/$LIBDIR/locate \
|
||||||
--prefix=/usr \
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr \
|
make -j $NUMCPU prefix=$TMPROOT/usr \
|
||||||
libexecdir=$TMPROOT/$LIBEXECPATH \
|
libexecdir=$TMPROOT/usr/$LIBDIR/locate \
|
||||||
localstatedir=$TMPROOT/$LOCALSTATE install
|
localstatedir=$TMPROOT/var/$LIBDIR/locate install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -77,8 +77,8 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
make -j $NUMCPU
|
make -k -j $NUMCPU
|
||||||
make DESTDIR=$TMPROOT install
|
make -k DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -72,16 +72,16 @@ SRCPATH=Base/Development
|
|||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
mkdir -p $TMPROOT/usr/man/man1
|
mkdir -p $TMPROOT/usr/man/man1
|
||||||
mkdir -p $TMPROOT/usr/lib
|
|
||||||
mkdir ../build-flex
|
mkdir ../build-flex
|
||||||
cd ../build-flex
|
cd ../build-flex
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
|
mkdir -p $TMPROOT/usr/lib
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
../flex*/configure --prefix=/usr
|
../flex*/configure --prefix=/usr
|
||||||
make -j $NUMCPU libfl.a
|
make -j $NUMCPU libfl.a libfl_pic.a
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU prefix=$TMPROOT/usr install-libLIBRARIES
|
||||||
cd ../flex*
|
cd ../flex*
|
||||||
rm -r ../build-flex
|
rm -r ../build-flex
|
||||||
mkdir ../build-flex
|
mkdir ../build-flex
|
||||||
@ -89,17 +89,12 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
mkdir -p $TMPROOT/usr/${LIBDIR}
|
||||||
$ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
mkdir -p $TMPROOT/usr/lib64
|
|
||||||
INSTOPT="libdir=$TMPROOT/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
../flex*/configure --host=$TARGET \
|
../flex*/configure --libdir=/usr/${LIBDIR} \
|
||||||
$ADDOPTIONS \
|
|
||||||
--prefix=/usr &&
|
--prefix=/usr &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr $INSTOPT install
|
make -j $NUMCPU prefix=$TMPROOT/usr libdir=$TMPROOT/usr/${LIBDIR} install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -76,13 +76,8 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libexecdir=/usr/lib64"
|
|
||||||
else
|
|
||||||
ADDOPTIONS="--libexecdir=/usr/lib"
|
|
||||||
fi
|
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libexecdir=/usr/${LIBDIR} \
|
||||||
--prefix=/usr &&
|
--prefix=/usr &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
@ -98,5 +93,7 @@ postmk() {
|
|||||||
ln -sf ../../bin/gawk $TMPROOT/usr/bin/iawk
|
ln -sf ../../bin/gawk $TMPROOT/usr/bin/iawk
|
||||||
ln -sf ../../bin/gawk $TMPROOT/usr/bin/pgawk
|
ln -sf ../../bin/gawk $TMPROOT/usr/bin/pgawk
|
||||||
ln -sf ../../bin/gawk $TMPROOT/usr/bin/pawk
|
ln -sf ../../bin/gawk $TMPROOT/usr/bin/pawk
|
||||||
|
ln -sf ../../bin/gawk $TMPROOT/usr/bin/gawk-3.1.8
|
||||||
|
ln $TMPROOT/usr/bin/pgawk $TMPROOT/usr/bin/pgawk-3.1.8
|
||||||
rm -r $TMPROOT/usr/man
|
rm -r $TMPROOT/usr/man
|
||||||
}
|
}
|
||||||
|
@ -58,8 +58,8 @@
|
|||||||
# 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: gcc
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: ftp.gnu.org
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Gnu C, C++, Fortran, Java uvm. Compiler suite
|
#Gnu C, C++, Fortran, Java uvm. Compiler suite
|
||||||
#
|
#
|
||||||
@ -73,25 +73,22 @@ SRCPATH=Base/Development
|
|||||||
(( MKPKG = $MKPKG | 128 ))
|
(( MKPKG = $MKPKG | 128 ))
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
SrcPatch $MAKEDIR/gcc* $LFSSOURCE/$SRCPATH/gcc-*-PR20425-1.patch*
|
|
||||||
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
|
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
|
||||||
sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in
|
|
||||||
mkdir ../build-gcc
|
mkdir ../build-gcc
|
||||||
cd ../build-gcc
|
cd ../build-gcc
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDCONFIGURE="--libdir=/usr/lib64 --libexecdir=/usr/lib64"
|
RPATH="/lib64:/lib"
|
||||||
LIBDIR=lib64
|
|
||||||
else
|
else
|
||||||
ADDCONFIGURE="--libexecdir=/usr/lib"
|
RPATH="/lib"
|
||||||
fi
|
fi
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc -Wl,-rpath-link,${RPATH} -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
CXX="gcc ${BUILDOPTIONS}" \
|
CXX="g++ -Wl,-rpath-link,${RPATH} -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
../gcc*/configure --host=$TARGET \
|
../gcc*/configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
--libdir=/usr/${LIBDIR} \
|
||||||
$ADDCONFIGURE \
|
--libexecdir=/usr/${LIBDIR} \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-threads=posix \
|
--enable-threads=posix \
|
||||||
--enable-__cxa_atexit \
|
--enable-__cxa_atexit \
|
||||||
@ -99,7 +96,11 @@ mk() {
|
|||||||
--enable-long-long \
|
--enable-long-long \
|
||||||
--enable-clocale=gnu \
|
--enable-clocale=gnu \
|
||||||
--disable-libstdcxx-pch
|
--disable-libstdcxx-pch
|
||||||
make -j $NUMCPU bootstrap
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU -k check
|
||||||
|
if [ "$CHECK" == "true" ]; then
|
||||||
|
../gcc*/contrib/test_summary
|
||||||
|
fi
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,4 +112,5 @@ postmk() {
|
|||||||
ln -sv gcc $TMPROOT/usr/bin/cc
|
ln -sv gcc $TMPROOT/usr/bin/cc
|
||||||
cd ../gcc*
|
cd ../gcc*
|
||||||
rm -r ../build-gcc
|
rm -r ../build-gcc
|
||||||
|
cp $TMPROOT/usr/lib/libgcc_s.so.1 $TMPROOT/lib
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]
|
|
||||||
mkdir ../build-gettext
|
mkdir ../build-gettext
|
||||||
cd ../build-gettext
|
cd ../build-gettext
|
||||||
}
|
}
|
||||||
@ -79,8 +78,8 @@ mk32() {
|
|||||||
CXX="g++ ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
../gettext*/configure --prefix=/usr
|
../gettext*/configure --prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make install
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
cd ../gettext*
|
cd ../gettext*
|
||||||
rm -r ../build-gettext
|
rm -r ../build-gettext
|
||||||
mkdir ../build-gettext
|
mkdir ../build-gettext
|
||||||
@ -88,15 +87,13 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
fi
|
|
||||||
../gettext*/configure --host=$TARGET \
|
../gettext*/configure --host=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make install
|
||||||
|
make DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -68,23 +68,32 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
|
mv config{fsf,}.guess
|
||||||
|
mv config{fsf,}.sub
|
||||||
mkdir ../build-gmp
|
mkdir ../build-gmp
|
||||||
cd ../build-gmp
|
cd ../build-gmp
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CPPFLAGS=-fexceptions \
|
||||||
CXX="gcc ${BUILDOPTIONS32}" \
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
../gmp*/configure --prefix=/
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/lib ${BUILDOPTIONS32}" \
|
||||||
|
ABI=32 \
|
||||||
|
../gmp*/configure --prefix=/usr \
|
||||||
|
--enable-cxx \
|
||||||
|
--enable-mpbsd
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck check
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv -v $TMPROOT/usr/include/gmp{,-32}.h
|
||||||
cd ../gmp*
|
cd ../gmp*
|
||||||
rm -r ../build-gmp
|
rm -r ../build-gmp
|
||||||
mkdir ../build-gmp
|
mkdir ../build-gmp
|
||||||
@ -92,14 +101,14 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CPPFLAGS=-fexceptions \
|
||||||
ADDOPTIONS="--libdir=/lib64"
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
fi
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
LDFLAGS="-Wl,-rpath-link,/$LIBDIR ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
../gmp*/configure --libdir=/usr/${LIBDIR} \
|
||||||
../gmp*/configure --host=$TARGET \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--enable-cxx \
|
||||||
--prefix=/
|
--enable-mpbsd
|
||||||
|
|
||||||
CheckError "Configurescript failed !" 1
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
@ -107,6 +116,7 @@ mk() {
|
|||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
||||||
|
|
||||||
|
MakeCheck check
|
||||||
# Make install Optionen eintragen
|
# Make install Optionen eintragen
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
@ -114,8 +124,25 @@ mk() {
|
|||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
mv $TMPROOT/include $TMPROOT/usr
|
mv $TMPROOT/usr/info $TMPROOT/usr/share/info
|
||||||
mv $TMPROOT/info $TMPROOT/usr/share/info
|
|
||||||
cd ../gmp*
|
cd ../gmp*
|
||||||
rm -r ../build-gmp
|
rm -r ../build-gmp
|
||||||
|
if [ $MK64BIT == "true" ]; then
|
||||||
|
mv -v $TMPROOT/usr/include/gmp{,-64}.h
|
||||||
|
cat > $TMPROOT/usr/include/gmp.h << "EOF"
|
||||||
|
/* gmp.h - Stub Header */
|
||||||
|
#ifndef __STUB__GMP_H__
|
||||||
|
#define __STUB__GMP_H__
|
||||||
|
#if defined(__x86_64__) || \
|
||||||
|
defined(__sparc64__) || \
|
||||||
|
defined(__arch64__) || \
|
||||||
|
defined(__s390x__)
|
||||||
|
# include "gmp-64.h"
|
||||||
|
#else
|
||||||
|
# include "gmp-32.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __STUB__GMP_H__ */
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
@ -68,12 +68,12 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
#MKPKG Flags setzen -> Automatische Installation wird unterdrückt
|
#MKPKG Flags setzen -> Automatische Installation wird unterdrückt
|
||||||
(( MKPKG = $MKPKG | 16 ))
|
(( MKPKG = $MKPKG | 16 ))
|
||||||
(( MKPKG = $MKPKG | 4 ))
|
(( MKPKG = $MKPKG | 4 ))
|
||||||
|
|
||||||
VERSION=0.4.0.0
|
VERSION=0.4.5.2
|
||||||
if [ -f $LFSSOURCE/$SRCPATH/gpplib-[0-9]*.tar.bz2 ]; then
|
if [ -f $LFSSOURCE/$SRCPATH/gpplib-[0-9]*.tar.bz2 ]; then
|
||||||
rm $LFSSOURCE/$SRCPATH/gpplib-[0-9]*.tar.bz2
|
rm $LFSSOURCE/$SRCPATH/gpplib-[0-9]*.tar.bz2
|
||||||
fi
|
fi
|
||||||
@ -93,14 +93,13 @@ mk() {
|
|||||||
cd /usr/src
|
cd /usr/src
|
||||||
mkdir gpplib
|
mkdir gpplib
|
||||||
cd gpplib
|
cd gpplib
|
||||||
tar -jxvf $DISTTARGET/Base/Development/gcc-[0-9]*.tbz
|
extractvarchive $DISTTARGET/Base/Development/gcc-[0-9]*.vpg bin.tar| \
|
||||||
tar -xvf bin.tar
|
tar -xvf -
|
||||||
rm {bin,man,dev}.{tar,md5,frg,drg}
|
|
||||||
rm -r usr/bin usr/include usr/info usr/man usr/share
|
rm -r usr/bin usr/include usr/info usr/man usr/share
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
rm usr/lib64/gcc
|
rm -r usr/lib64/gcc
|
||||||
else
|
else
|
||||||
rm usr/lib/gcc
|
rm -r usr/lib/gcc
|
||||||
fi
|
fi
|
||||||
find . -name "*.a" -exec rm {} \;
|
find . -name "*.a" -exec rm {} \;
|
||||||
find . -name "*.la" -exec rm {} \;
|
find . -name "*.la" -exec rm {} \;
|
||||||
|
@ -71,21 +71,20 @@
|
|||||||
SRCPATH=Base/Utilities
|
SRCPATH=Base/Utilities
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
echo "Nothing to do for premk()"
|
rm /bin/grep
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
--bindir=/bin \
|
||||||
--bindir=/bin &&
|
--without-included-regex &&
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
ln -sf grep $TMPROOT/bin/egrep
|
|
||||||
ln -sf grep $TMPROOT/bin/fgrep
|
|
||||||
}
|
}
|
||||||
|
@ -74,20 +74,19 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
PAGE=A4 \
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
fi
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
PAGE=A4 CC="gcc ${BUILDOPTIONS}" \
|
./configure --prefix=/usr \
|
||||||
./configure --host=$TARGET \
|
--libdir=/usr/${LIBDIR}
|
||||||
$ADDOPTIONS \
|
make -j $NUMCPU
|
||||||
--prefix=/usr
|
|
||||||
make -k -j $NUMCPU
|
|
||||||
make
|
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU prefix=$TMPROOT/usr install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
if [ -d $TMPROOT/usr/man ]; then
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||||
|
fi
|
||||||
ln -sf soelim $TMPROOT/usr/bin/zsoelim
|
ln -sf soelim $TMPROOT/usr/bin/zsoelim
|
||||||
ln -sf eqn $TMPROOT/usr/bin/geqn
|
ln -sf eqn $TMPROOT/usr/bin/geqn
|
||||||
ln -sf tbl $TMPROOT/usr/bin/gtbl
|
ln -sf tbl $TMPROOT/usr/bin/gtbl
|
||||||
|
@ -75,25 +75,25 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--build=$TARGET \
|
--bindir=/bin
|
||||||
--target=$TARGET \
|
|
||||||
--prefix=/usr
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
MakeCheck check
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mv $TMPROOT/usr/bin/gzip $TMPROOT/bin
|
|
||||||
rm $TMPROOT/usr/bin/{gunzip,zcat}
|
|
||||||
for i in gzexe zcmp zdiff zforce zgrep zmore znew; do
|
for i in gzexe zcmp zdiff zforce zgrep zmore znew; do
|
||||||
sed -e "s%$TMPROOT%%" $TMPROOT/usr/bin/$i >/tmp/$i
|
sed -e "s%$TMPROOT%%" $TMPROOT/bin/$i >/tmp/$i
|
||||||
mv /tmp/$i $TMPROOT/usr/bin/$i
|
mv /tmp/$i $TMPROOT/bin/$i
|
||||||
chmod 755 $TMPROOT/usr/bin/$i
|
chmod 755 $TMPROOT/bin/$i
|
||||||
done
|
done
|
||||||
ln -s gzip $TMPROOT/bin/gunzip
|
if [ ! -d $TMPROOT/usr/bin ]; then
|
||||||
ln -s gzip $TMPROOT/bin/zcat
|
mkdir -p $TMPROOT/usr/bin
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/bin/z{egrep,cmp,diff,fgrep,force,grep,less,more,new} $TMPROOT/usr/bin
|
||||||
ln -s gzip $TMPROOT/bin/compress
|
ln -s gzip $TMPROOT/bin/compress
|
||||||
ln -s gunzip $TMPROOT/bin/uncompress
|
if [ -d $TMPROOT/usr/man ]; then
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
@ -84,13 +84,6 @@ mk() {
|
|||||||
cp -rp etc/hotplug* $TMPROOT/etc
|
cp -rp etc/hotplug* $TMPROOT/etc
|
||||||
cp -rp etc/rc.d/init.d/hotplug $TMPROOT/etc/init.d
|
cp -rp etc/rc.d/init.d/hotplug $TMPROOT/etc/init.d
|
||||||
cp sbin/hotplug $TMPROOT/sbin
|
cp sbin/hotplug $TMPROOT/sbin
|
||||||
mkdir $TMPROOT/etc/init.d/rc{0,1,2,3,4,5,6}.d
|
|
||||||
cd $TMPROOT/etc/init.d
|
|
||||||
for i in 1 2 3 4 5; do
|
|
||||||
cd rc$i.d
|
|
||||||
ln -s ../hotplug S04hotplug
|
|
||||||
cd ..
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -90,8 +90,7 @@ premk() {
|
|||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--libexecdir=/usr/sbin \
|
--libexecdir=/usr/sbin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
@ -100,6 +99,9 @@ mk() {
|
|||||||
--disable-whois \
|
--disable-whois \
|
||||||
--disable-servers \
|
--disable-servers \
|
||||||
--disable-ifconfig \
|
--disable-ifconfig \
|
||||||
|
--disable-ping \
|
||||||
|
--disable-ping6 \
|
||||||
|
--disable-hostname \
|
||||||
--with-pam
|
--with-pam
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
@ -112,18 +114,12 @@ postmk() {
|
|||||||
mkdir $TMPROOT/bin
|
mkdir $TMPROOT/bin
|
||||||
fi
|
fi
|
||||||
mv $TMPROOT/usr/bin/ping $TMPROOT/bin
|
mv $TMPROOT/usr/bin/ping $TMPROOT/bin
|
||||||
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/lfs-utils*.tar.bz2
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/iana-etc*.tar.bz2
|
||||||
cd $MAKEDIR/lfs-utils*
|
cd $MAKEDIR/iana-etc*
|
||||||
mkdir $TMPROOT/etc
|
|
||||||
cp etc/{services,protocols} $TMPROOT/etc
|
|
||||||
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/netkit-base*.tar.bz2
|
|
||||||
cd $MAKEDIR/netkit-base*
|
|
||||||
rm -r ../lfs-utils*
|
|
||||||
./configure
|
|
||||||
make
|
make
|
||||||
mkdir $TMPROOT/usr/sbin
|
mkdir $TMPROOT/etc
|
||||||
cp inetd/inetd $TMPROOT/usr/sbin
|
cp {services,protocols} $TMPROOT/etc
|
||||||
cd ..
|
|
||||||
rm -r netkit-base*
|
|
||||||
ClearHostSysNameing $TMPROOT
|
ClearHostSysNameing $TMPROOT
|
||||||
|
cd $MAKEDIR/inetutils*
|
||||||
|
rm -r $MAKEDIR/iana-etc*
|
||||||
}
|
}
|
||||||
|
@ -80,14 +80,24 @@ premk() {
|
|||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}" SBINDIR=sbin
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}" \
|
||||||
cp ip/ip ip/ifcfg $TMPROOT/sbin
|
DESTDIR=/ \
|
||||||
cp ip/{routef,routel,rtacct,rtmon,rtpr} tc/tc $TMPROOT/usr/sbin
|
LIBDIR=/usr/${LIBDIR} \
|
||||||
cp -rp etc $TMPROOT
|
VARLIB=/var/${LIBDIR} \
|
||||||
|
DOCDIR=/usr/share/doc/iproute2 \
|
||||||
|
MANDIR=/usr/share/man
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT \
|
||||||
|
LIBDIR=/usr/${LIBDIR} \
|
||||||
|
VARLIB=/var/${LIBDIR} \
|
||||||
|
SBINDIR=/sbin \
|
||||||
|
DOCDIR=/usr/share/doc/iproute2 \
|
||||||
|
MANDIR=/usr/share/man 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() {
|
||||||
GetSVN Viitor_iproute $TMPROOT
|
if [ -d /var/install/subversion* ]; then
|
||||||
|
GetGit Viitor_iproute $TMPROOT
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
93
BaseBuild/Basesys/iputils
Normal file
93
BaseBuild/Basesys/iputils
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://www.compuextreme.de/Viitor/V962/ViitorMake/BaseBuild/Basesys/grep $
|
||||||
|
#
|
||||||
|
#(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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: iputils
|
||||||
|
#Quelle der Source Archive: http://www.skbuff.net/iputils/
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#Einige der Basis Networking tools (ping, arping, clockdiff, rdisc
|
||||||
|
#tracepath traceroute
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2008-05-02 13:13:24 +0000 (Fr, 02 Mai 2008) $
|
||||||
|
#Version der Datei: $Revision: 4220 $
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/Net
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}" \
|
||||||
|
IPV4_TARGETS="tracepath ping clockdiff" \
|
||||||
|
IPV6_TARGETS="tracepath6 traceroute6"
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
mkdir -p $TMPROOT/bin
|
||||||
|
mkdir -p $TMPROOT/usr/bin
|
||||||
|
mkdir -p $TMPROOT/usr/share/man/man8
|
||||||
|
install -v m755 ping $TMPROOT/bin
|
||||||
|
install -v m755 clockdiff $TMPROOT/usr/bin
|
||||||
|
install -v m755 rdisc $TMPROOT/usr/bin
|
||||||
|
install -v m755 tracepath $TMPROOT/usr/bin
|
||||||
|
install -v m755 trace{path,route}6 $TMPROOT/usr/bin
|
||||||
|
install -v m755 doc/*.8 $TMPROOT/usr/share/man/man8
|
||||||
|
chmod 4755 $TMPROOT/bin/ping
|
||||||
|
}
|
@ -59,7 +59,7 @@
|
|||||||
# kümmern
|
# kümmern
|
||||||
|
|
||||||
#Module zur Erstellung des Packetes: jfsutils
|
#Module zur Erstellung des Packetes: jfsutils
|
||||||
#Quelle der Source Archive: http://oss.software.ibm.com/
|
#Quelle der Source Archive: http://jfs.sourceforge.net/
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Tools zum Anlegen, Reparieren und Prüfen von jfs filesystemen
|
#Tools zum Anlegen, Reparieren und Prüfen von jfs filesystemen
|
||||||
#
|
#
|
||||||
|
@ -70,35 +70,20 @@ SRCPATH=Base/System
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
if ! grep root /etc/passwd; then
|
|
||||||
cp /etc/passwd /tmp/passwd
|
|
||||||
echo "root::0:0:Administrator:/root:/bin/bash" >/etc/passwd
|
|
||||||
cat /tmp/passwd >>/etc/passwd
|
|
||||||
rm /tmp/passwd
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--datadir=/lib64/kbd"
|
|
||||||
else
|
|
||||||
ADDOPTIONS="--datadir=/lib/kbd"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure $ADDOPTIONS &&
|
./configure --datadir=/${LIBDIR}/kbd \
|
||||||
|
--prefix=/usr &&
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}"
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}"
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mv $TMPROOT/share $TMPROOT/usr/share
|
mv $TMPROOT/share $TMPROOT/usr/
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
LIBDIR=lib64
|
|
||||||
else
|
|
||||||
LIBDIR=lib
|
|
||||||
fi
|
|
||||||
rm $TMPROOT/$LIBDIR/kbd/keymaps/i386/qwerty/defkeymap.map.gz
|
rm $TMPROOT/$LIBDIR/kbd/keymaps/i386/qwerty/defkeymap.map.gz
|
||||||
ln -s i386/qwertz/de-latin1.map.gz $TMPROOT/$LIBDIR/kbd/keymaps/defkeymap.map.gz
|
gzip -d -c $TMPROOT/$LIBDIR/kbd/keymaps/i386/qwertz/de-latin1.map.gz >$TMPROOT/$LIBDIR/kbd/keymaps/defkeymap.kmap
|
||||||
mkdir -p $TMPROOT/bin
|
mkdir -p $TMPROOT/bin
|
||||||
mv $TMROOT/usr/bin/{kbd_mode,openvt,setfont} $TMPROOT/bin
|
mv $TMROOT/usr/bin/{kbd_mode,dumpkeys,loadkeys,openvt,setfont} $TMPROOT/bin
|
||||||
}
|
}
|
||||||
|
@ -77,12 +77,12 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sysconfdir=/etc &&
|
--sysconfdir=/etc &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr bindir=$TMPROOT/bin sysconfdir=/etc install
|
#make -j $NUMCPU prefix=$TMPROOT/usr bindir=$TMPROOT/bin sysconfdir=/etc install
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
116
BaseBuild/Basesys/libaal
Normal file
116
BaseBuild/Basesys/libaal
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
#!/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: libaal
|
||||||
|
#Quelle der Source Archive: ftp://ftp.kernel.org/pub/linux/utils/fs/reiser4/libaal
|
||||||
|
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
||||||
|
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
||||||
|
#nicht!
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
# Support Library fuer das reiser4fs
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: $
|
||||||
|
#Datum der letzten Änderung: $Date: $
|
||||||
|
#Version der Datei: $Revision: $
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=32 \
|
||||||
|
./configure --prefix=/ \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--includedir=/usr/include
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make distclean
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc $BUILDOPTIONS" \
|
||||||
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
LDFLAGS="-L/$LIBDIR" \
|
||||||
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
|
--prefix=/ \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--includedir=/usr/include
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
if [ ! -d $TMPROOT/usr/lib ]; then
|
||||||
|
mkdir $TMPROOT/usr/lib
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib/pkgconfig $TMPROOT/usr/lib/
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
if [ ! -d $TMPROOT/usr/lib64 ]; then
|
||||||
|
mkdir $TMPROOT/usr/lib64
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib64/pkgconfig $TMPROOT/usr/lib64
|
||||||
|
fi
|
||||||
|
}
|
116
BaseBuild/Basesys/libnih
Normal file
116
BaseBuild/Basesys/libnih
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
#!/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: libnih
|
||||||
|
#Quelle der Source Archive: https://launchpad.net/libnih
|
||||||
|
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
||||||
|
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
||||||
|
#nicht!
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
# Support funktionen für upstart startup daemon
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: $
|
||||||
|
#Datum der letzten Änderung: $Date: $
|
||||||
|
#Version der Datei: $Revision: $
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=32 \
|
||||||
|
./configure --prefix=/ \
|
||||||
|
--sharedstatedir=/usr/share \
|
||||||
|
--includedir=/usr/include \
|
||||||
|
--datarootdir=/usr/share
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make distclean
|
||||||
|
if [ ! -d $TMPROOT/usr/lib ]; then
|
||||||
|
mkdir $TMPROOT/usr/lib
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib/pkgconfig $TMPROOT/usr/lib/
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc $BUILDOPTIONS" \
|
||||||
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
LDFLAGS="-L/$LIBDIR" \
|
||||||
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
|
--prefix=/ \
|
||||||
|
--sharedstatedir=/usr/share \
|
||||||
|
--includedir=/usr/include \
|
||||||
|
--datarootdir=/usr/share
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
if [ ! -d $TMPROOT/usr/${LIBDIR} ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/${LIBDIR}
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib/pkgconfig $TMPROOT/usr/${LIBDIR}
|
||||||
|
}
|
@ -75,11 +75,15 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
|
echo "lt_cv_sys_dlsearch_path='/lib /usr/lib /usr/local/lib /opt/lib'" > config.cache
|
||||||
CC="gcc ${BUILDOPTIONS32}"\
|
CC="gcc ${BUILDOPTIONS32}"\
|
||||||
../libtool*/configure --host=$TARGET32 \
|
../libtool*/configure --prefix=/usr \
|
||||||
--prefix=/usr
|
--cache-file=config.cache
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU LDEMULATION=elf_i386 check
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
sed -i "s/\/tools\/bin\/grep/\/bin\/grep/" $TMPROOT/usr/bin/libtool
|
||||||
|
mv -v $TMPROOT/usr/bin/libtool{,-32}
|
||||||
cd ../libtool*
|
cd ../libtool*
|
||||||
rm -r ../build-libtool
|
rm -r ../build-libtool
|
||||||
mkdir ../build-libtool
|
mkdir ../build-libtool
|
||||||
@ -87,24 +91,22 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
echo "lt_cv_sys_dlsearch_path='/lib64 /usr/lib64 /usr/local/lib64 /opt/lib64'" > config.cache
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}"\
|
CC="gcc ${BUILDOPTIONS}"\
|
||||||
../libtool*/configure --host=$TARGET \
|
../libtool*/configure --libdir=/usr/${LIBDIR} \
|
||||||
$ADDOPTIONS \
|
--prefix=/usr \
|
||||||
--prefix=/usr
|
--cache-file=config.cache
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
sed -i "s/\/tools\/bin\/grep/\/bin\/grep/" $TMPROOT/usr/bin/libtool
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/libtool{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/libtool
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
cd $TMPROOT
|
|
||||||
sed -e "s/$TARGET-//g" usr/bin/libtool >/tmp/libtool$$
|
|
||||||
mv /tmp/libtool$$ usr/bin/libtool
|
|
||||||
rm /tmp/libtool$$
|
|
||||||
chmod 755 usr/bin/libtool
|
|
||||||
cd -
|
|
||||||
cd ../libtool*
|
cd ../libtool*
|
||||||
rm -r ../build-libtool
|
rm -r ../build-libtool
|
||||||
}
|
}
|
||||||
|
@ -59,10 +59,10 @@
|
|||||||
# 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:mpeg2dec
|
#Module zur Erstellung des Packetes: libxml2
|
||||||
#Quelle der Source Archive:http:/libmpeg2.sourceforge.org
|
#Quelle der Source Archive: ftp://ftp.xmlsoft.org/
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#mpeg2 file decoder library and tools
|
#2. Version der Funktionssammlung zur Bearbeitung des XML Formates.
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author$
|
||||||
#Datum der letzten Änderung: $Date$
|
#Datum der letzten Änderung: $Date$
|
||||||
@ -70,8 +70,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zu Basis Source Tree eintragen!
|
SRCPATH=Base/Lib
|
||||||
SRCPATH=X11/MultiMedia
|
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
@ -84,29 +83,41 @@ premk() {
|
|||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr &&
|
--prefix=/usr \
|
||||||
|
--without-python &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv -v $TMPROOT/usr/bin/xml2-config{,-32}
|
||||||
|
mv $TMPROOT/usr/bin/xmlcatalog{,.32}
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#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" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--prefix=/usr \
|
||||||
--prefix=/usr &&
|
--libdir=/usr/${LIBDIR} &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv -v $TMPROOT/usr/bin/xml2-config{,-64}
|
||||||
|
ln -s multiarch_wrapper $TMPROOT/usr/bin/xml2-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#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()"
|
mkdir -p $TMPROOT/usr/share
|
||||||
|
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||||
|
cd $TMPROOT/usr/include
|
||||||
|
ln -s libxml2/libxml libxml
|
||||||
|
if [ -f $TMPROOT/usr/bin/xmlcatalog.32 ]; then
|
||||||
|
mv -v $TMPROOT/usr/bin/xmlcatalog.32 $TMPROOT/usr/bin/xmlcatalog
|
||||||
|
fi
|
||||||
}
|
}
|
@ -79,11 +79,11 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
|
||||||
make CC="gcc ${BUILDOPTIONS}" -j $NUMCPU
|
make CC="gcc ${BUILDOPTIONS}" -j $NUMCPU all
|
||||||
make -j $NUMCPU ROOT=$TMPROOT install
|
make -j $NUMCPU ROOT=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_lilo $TMPROOT
|
GetGit Viitor_lilo $TMPROOT
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||||
}
|
}
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
# 128 : Patchen unterbinden
|
# 128 : Patchen unterbinden
|
||||||
|
# 256 : Installation mit Overwrite option starten
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: linux
|
#Module zur Erstellung des Packetes: linux
|
||||||
#Quelle der Source Archive: ftp://ftp.kernel.org/pub/linux/kernel/v2.4
|
#Quelle der Source Archive: ftp://ftp.kernel.org/pub/linux/kernel/v2.4
|
||||||
@ -69,6 +70,7 @@
|
|||||||
|
|
||||||
SRCPATH=Base/Kernel
|
SRCPATH=Base/Kernel
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 256 ))
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
#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
|
||||||
@ -81,11 +83,10 @@ premk() {
|
|||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk() {
|
mk() {
|
||||||
cd $MAKEDIR/linux
|
|
||||||
chown -R 0:0 .
|
chown -R 0:0 .
|
||||||
make mrproper
|
make -j $NUMCPU distclean
|
||||||
cd ..
|
cd ..
|
||||||
tar -cf - linux|tar -xC $TMPROOT/usr/src -vf -
|
tar -cf - linux*|tar -xC $TMPROOT/usr/src -vf -
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
|
@ -88,27 +88,8 @@ mk() {
|
|||||||
if [ "$ARCH" == "athlon" ]; then
|
if [ "$ARCH" == "athlon" ]; then
|
||||||
ARCH="i386"
|
ARCH="i386"
|
||||||
fi
|
fi
|
||||||
mkdir -p $TMPROOT/usr/include/{asm,asm-generic,linux,net,mtd,scsi,sound}
|
install -dv $TMPROOT/usr/include
|
||||||
cp -av include/asm-generic/* $TMPROOT/usr/include/asm-generic
|
tar -C $ARCH -cf - .|tar -C $TMPROOT/usr -xvf -
|
||||||
cp -av include/linux/* $TMPROOT/usr/include/linux
|
|
||||||
cp -av include/mtd/* $TMPROOT/usr/include/mtd
|
|
||||||
cp -av include/net/* $TMPROOT/usr/include/net
|
|
||||||
cp -av include/scsi/* $TMPROOT/usr/include/scsi
|
|
||||||
cp -av include/sound/* $TMPROOT/usr/include/sound
|
|
||||||
if [ $ARCH == "x86_64" ]; then
|
|
||||||
install -dv $TMPROOT/usr/include/asm-i386
|
|
||||||
cp -av include/asm-i386/* $TMPROOT/usr/include/asm-i386
|
|
||||||
else
|
|
||||||
install -dv $TMPROOT/usr/include/asm-`echo $ARCH|sed -e "s/_//"|sed -e "s/64//"`
|
|
||||||
cp -av include/asm-`echo $ARCH|sed -e "s/_//"|sed -e "s/64//"`/* $TMPROOT/usr/include/asm-`echo $ARCH|sed -e "s/_//"|sed -e "s/64//"`
|
|
||||||
fi
|
|
||||||
install -dv $TMPROOT/usr/include/asm-$ARCH
|
|
||||||
if echo $TARGET|grep -q 64; then
|
|
||||||
cp -av include/asm-$ARCH/* $TMPROOT/usr/include/asm-$ARCH
|
|
||||||
cp -av include/asm-$ARCH-biarch/* $TMPROOT/usr/include/asm
|
|
||||||
else
|
|
||||||
cp -av include/asm-$ARCH/* $TMPROOT/usr/include/asm
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
|
@ -75,8 +75,7 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr
|
||||||
--prefix=/usr
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr exec_prefix=$TMPROOT/usr install
|
make -j $NUMCPU prefix=$TMPROOT/usr exec_prefix=$TMPROOT/usr install
|
||||||
}
|
}
|
||||||
|
@ -76,10 +76,10 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,15 +73,16 @@ premk() {
|
|||||||
mkdir $TMPROOT/usr $TMPROOT/usr/bin $TMPROOT/usr/sbin
|
mkdir $TMPROOT/usr $TMPROOT/usr/bin $TMPROOT/usr/sbin
|
||||||
sed -i 's@-is@&R@g' configure
|
sed -i 's@-is@&R@g' configure
|
||||||
sed -i 's@MANPATH./usr/man@#@g' src/man.conf.in
|
sed -i 's@MANPATH./usr/man@#@g' src/man.conf.in
|
||||||
|
sed -i 's@MANPATH./usr/local/man@#@g' src/man.conf.in
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure -default -confdir=/etc &&
|
./configure -confdir=/etc &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU PREFIX=$TMPROOT install
|
make -j $NUMCPU PREFIX=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
sed -i -e "s/\(^NROFF.*-T\)utf8/\1latin1/" $TMPROOT/etc/man.conf
|
||||||
}
|
}
|
||||||
|
@ -69,12 +69,12 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share/man
|
mkdir -p $TMPROOT/usr/share/man
|
||||||
mkdir $TMPROOT/usr/share/man/man{1,2,3,4,5,6,7,8}
|
mkdir $TMPROOT/usr/share/man/man{1,2,3,4,5,6,7,8}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
make MANDIR=$TMPROOT/usr/share/man install
|
make MANDIR=$TMPROOT/usr/share/man install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -71,12 +71,12 @@ SRCPATH=Base/System
|
|||||||
SRCDIR="manpages-de*"
|
SRCDIR="manpages-de*"
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share/man
|
mkdir -p $TMPROOT/usr/share/man
|
||||||
mkdir $TMPROOT/usr/share/man/man{1,2,3,4,5,6,7,8}
|
mkdir $TMPROOT/usr/share/man/man{1,2,3,4,5,6,7,8}
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
make MANDIR=$TMPROOT/usr/share/man install
|
make MANDIR=$TMPROOT/usr/share/man install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: make
|
#Module zur Erstellung des Packetes: mktemp
|
||||||
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/make
|
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/make
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Erstellt tmp file namen. wird von diversen Scripts (debian) verwendet
|
#Erstellt tmp file namen. wird von diversen Scripts (debian) verwendet
|
||||||
|
@ -72,18 +72,28 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
|
if [ "$CHECK" == "true" ]; then
|
||||||
|
sed -i "s/\(make\)\( all\)/\1 DOCBOOKTOMAN=true\2/" tests/runtests &&
|
||||||
|
./tests/runtests
|
||||||
|
else
|
||||||
echo "Nothing to do for premk()"
|
echo "Nothing to do for premk()"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/ \
|
--bindir=/bin \
|
||||||
--enable-zlib
|
--sbindir=/sbin \
|
||||||
make -j $NUMCPU
|
--enable-zlib-dynamic
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT INSTALL=install install
|
make -j $NUMCPU DOCBOOKTOMAN=true
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
if [ -d $TMPROOT/share ]; then
|
||||||
|
mkdir -p $TMPROOT/usr
|
||||||
|
mv $TMPROOT/share $TMPROOT/usr/
|
||||||
|
fi
|
||||||
|
ln -s /bin/lsmod $TMPROOT/sbin/lsmod
|
||||||
}
|
}
|
||||||
|
119
BaseBuild/Basesys/mpc
Normal file
119
BaseBuild/Basesys/mpc
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/BaseBuild/toolchain/mpc $
|
||||||
|
#
|
||||||
|
#(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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: mpc
|
||||||
|
#Quelle der Source Archive: http://www.multiprecision.org/
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#Library zur Berechnung von Komplexen Zahlen mit hoher präzition und
|
||||||
|
#korrekter rundung
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2011-02-25 12:22:50 +0100 (Fr, 25. Feb 2011) $
|
||||||
|
#Version der Datei: $Rev: 5996 $
|
||||||
|
#
|
||||||
|
|
||||||
|
#Pfad zum Basis-Sourcetree :
|
||||||
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/lib ${BUILDOPTIONS32}" \
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--host=${TARGET32}
|
||||||
|
|
||||||
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
|
# Make-Optionen eintragen
|
||||||
|
make -j $NUMCPU
|
||||||
|
CheckError "Makeprocess failed !" 1
|
||||||
|
|
||||||
|
# Make install Optionen eintragen
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
CheckError "Make install process failed !" 1
|
||||||
|
|
||||||
|
make distclean
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/${LIBDIR} ${BUILDOPTIONS}" \
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/${LIBDIR}
|
||||||
|
|
||||||
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
|
# Make-Optionen eintragen
|
||||||
|
make -j $NUMCPU
|
||||||
|
CheckError "Makeprocess failed !" 1
|
||||||
|
|
||||||
|
# Make install Optionen eintragen
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
CheckError "Make install process failed !" 1
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
echo "Nothing to do for postmk()"
|
||||||
|
}
|
119
BaseBuild/Basesys/mpfr
Normal file
119
BaseBuild/Basesys/mpfr
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://www.compuextreme.de/Viitor/V962/ViitorMake/BaseBuild/Basesys/gmp $
|
||||||
|
#
|
||||||
|
#(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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: mpfr
|
||||||
|
#Quelle der Source Archive: http://www.mpfr.og
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#Library zur hochperformanten floating Point Berechnung mit korrekter Rundung
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2008-05-02 13:13:24 +0000 (Fr, 02 Mai 2008) $
|
||||||
|
#Version der Datei: $Revision: 4220 $
|
||||||
|
#
|
||||||
|
|
||||||
|
#Pfad zum Basis-Sourcetree :
|
||||||
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
mkdir ../build-mpfr
|
||||||
|
cd ../build-mpfr
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/lib ${BUILDOPTIONS32}" \
|
||||||
|
../mpfr*/configure --host=$TARGET32 \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-shared
|
||||||
|
make -j $NUMCPU
|
||||||
|
MakeCheck check
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
cd ../mpfr*
|
||||||
|
rm -r ../build-mpfr
|
||||||
|
mkdir ../build-mpfr
|
||||||
|
cd ../build-mpfr
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/${LIBDIR} ${BUILDOPTIONS}" \
|
||||||
|
../mpfr*/configure --prefix=/usr \
|
||||||
|
--libdir=/usr/${LIBDIR}\
|
||||||
|
--enable-shared \
|
||||||
|
|
||||||
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
|
# Make-Optionen eintragen
|
||||||
|
make -j $NUMCPU
|
||||||
|
CheckError "Makeprocess failed !" 1
|
||||||
|
|
||||||
|
MakeCheck check
|
||||||
|
# Make install Optionen eintragen
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
CheckError "Make install process failed !" 1
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
cd ../mpfr*
|
||||||
|
rm -r ../build-mpfr
|
||||||
|
}
|
@ -60,55 +60,82 @@
|
|||||||
|
|
||||||
#Module zur Erstellung des Packetes:
|
#Module zur Erstellung des Packetes:
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive:
|
||||||
|
#ACHTUNG: Beschreibung nicht in der gleichen Zeile beginnen!
|
||||||
|
#Neue Zeile anfangen. sonste funktioniert die metadaten erzeugung
|
||||||
|
#nicht!
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author: $
|
||||||
#Datum der letzten Änderung: $Date$
|
#Datum der letzten Änderung: $Date: $
|
||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision: $
|
||||||
#
|
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=X11/Gnome
|
SRCPATH=Base/System
|
||||||
|
VERSION=0.1
|
||||||
|
touch $LFSSOURCE/$SRCPATH/multiarch_wrapper-$VERSION.tar.bz2
|
||||||
|
|
||||||
|
(( MKPKG = ${MKPKG} | 4 ))
|
||||||
|
(( MKPKG = ${MKPKG} | 64 ))
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s/have_utils=no/have_utils=yes/" configure >/tmp/configure
|
mkdir -p $TMPROOT/usr/bin
|
||||||
mv /tmp/configure configure
|
cat > /tmp/multiarch_wrapper.c << "EOF"
|
||||||
chmod 755 configure
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifndef DEF_SUFFIX
|
||||||
|
# define DEF_SUFFIX "64"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
char *filename;
|
||||||
|
char *suffix;
|
||||||
|
|
||||||
|
if(!(suffix = getenv("USE_ARCH")))
|
||||||
|
if(!(suffix = getenv("BUILDENV")))
|
||||||
|
suffix = DEF_SUFFIX;
|
||||||
|
|
||||||
|
if (asprintf(&filename, "%s-%s", argv[0], suffix) < 0) {
|
||||||
|
perror(argv[0]);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int status = EXIT_FAILURE;
|
||||||
|
pid_t pid = fork();
|
||||||
|
|
||||||
|
if (pid == 0) {
|
||||||
|
execvp(filename, argv);
|
||||||
|
perror(filename);
|
||||||
|
} else if (pid < 0) {
|
||||||
|
perror(argv[0]);
|
||||||
|
} else {
|
||||||
|
if (waitpid(pid, &status, 0) != pid) {
|
||||||
|
status = EXIT_FAILURE;
|
||||||
|
perror(argv[0]);
|
||||||
|
} else {
|
||||||
|
status = WEXITSTATUS(status);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
free(filename);
|
||||||
|
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
./configure --target=$TARGET \
|
gcc ${BUILDOPTIONS} /tmp/multiarch_wrapper.c -o $TMPROOT/usr/bin/multiarch_wrapper
|
||||||
--prefix=/opt/gnome \
|
|
||||||
--libexecdir=/opt/gnome/bin
|
|
||||||
for i in `find . -name "Makefile"`; do
|
|
||||||
sed -e "s%/icon-name-mapping%/opt/gnome/bin/icon-name-mapping%" $i >/tmp/Makefile
|
|
||||||
mv /tmp/Makefile $i
|
|
||||||
done
|
|
||||||
make -j $NUMCPU
|
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
if [ ! -d $TMPROOT/opt/gnome/lib/pkgconfig ]; then
|
rm -f /tmp/multiarch_wrapper.c
|
||||||
mkdir -p $TMPROOT/opt/gnome/lib/pkgconfig
|
|
||||||
fi
|
|
||||||
cd $TMPROOT/opt/gnome/lib/pkgconfig
|
|
||||||
cat >gnome-icon-theme.pc << EOF
|
|
||||||
prefix=/opt/gnome
|
|
||||||
exec_prefix=${prefix}
|
|
||||||
libdir=${exec_prefix}/lib
|
|
||||||
includedir=${prefix}/include
|
|
||||||
|
|
||||||
Name: gnome-icon-theme-2.15
|
|
||||||
Description: Gnome ICON Themes
|
|
||||||
Requires: gtk+-2.0 libgnomeui-2.0
|
|
||||||
Version: 2.15.2
|
|
||||||
Libs:
|
|
||||||
Cflags
|
|
||||||
EOF
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
mkdir -p $TMPROOT/opt/gnome/lib64/pkgconfig
|
|
||||||
sed -e "s/lib$/lib64$/" $TMPROOT/opt/gnome/lib/pkgconfig/gnome-icon-theme.pc >$TMPROOT/opt/gnome/lib64/pkgconfig/gnome-icon-theme.pc
|
|
||||||
fi
|
|
||||||
}
|
}
|
@ -69,24 +69,34 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/lib
|
(( MKPKG = $MKPKG | 128 ))
|
||||||
|
|
||||||
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
|
SrcPatch $MAKEDIR/ncurses* $LFSSOURCE/$SRCPATH/ncurses-*-branch_update-*.patch*
|
||||||
mkdir $TMPROOT/usr $TMPROOT/usr/lib $TMPROOT/usr/share $TMPROOT/lib
|
mkdir $TMPROOT/usr $TMPROOT/usr/lib $TMPROOT/usr/share $TMPROOT/lib
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mkdir $TMROOT/usr/lib64 $TMPROOT/lib64
|
||||||
|
fi
|
||||||
mkdir ../build-ncurses
|
mkdir ../build-ncurses
|
||||||
cd ../build-ncurses
|
cd ../build-ncurses
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32} -fPIC" \
|
||||||
CXX="g++ ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32} -fPIC" \
|
||||||
../ncurses*/configure --prefix=/usr \
|
../ncurses*/configure --prefix=/usr \
|
||||||
--libdir=/lib \
|
--libdir=/lib \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
--without-debug
|
--without-debug \
|
||||||
make
|
--enable-widec \
|
||||||
|
--with-manpage-format=normal
|
||||||
|
make -j $NUMCPU
|
||||||
make install
|
make install
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
mv -v /usr/bin/ncursesw5-config{,-32}
|
||||||
|
mv -v $TMPROOT/usr/bin/ncursesw5-config{,-32}
|
||||||
cd ../ncurses*
|
cd ../ncurses*
|
||||||
rm -r ../build-ncurses
|
rm -r ../build-ncurses
|
||||||
mkdir ../build-ncurses
|
mkdir ../build-ncurses
|
||||||
@ -94,40 +104,106 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=/lib64"
|
|
||||||
else
|
|
||||||
ADDOPTIONS="--libdir=/lib"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
||||||
CXX="g++ ${BUILDOPTIONS} -fPIC" \
|
CXX="g++ ${BUILDOPTIONS} -fPIC" \
|
||||||
../ncurses*/configure --prefix=/usr \
|
../ncurses*/configure --prefix=/usr \
|
||||||
$ADDOPTIONS \
|
--libdir=/${LIBDIR} \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
--without-debug
|
--without-debug \
|
||||||
make
|
--enable-widec \
|
||||||
|
--with-manpage-format=normal
|
||||||
|
make -j $NUMCPU
|
||||||
make install
|
make install
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mv -v /usr/bin/ncursesw5-config{,-64}
|
||||||
|
mv -v $TMPROOT/usr/bin/ncursesw5-config{,-64}
|
||||||
|
ln -svf ncursesw5-config-32 $TMPROOT/usr/bin/ncurses5-config-32
|
||||||
|
ln -svf ncursesw5-config-64 $TMPROOT/usr/bin/ncurses5-config-64
|
||||||
|
ln -svf multiarch_wrapper /usr/bin/ncursesw5-config
|
||||||
|
ln -svf multiarch_wrapper $TMPROOT/usr/bin/ncurses5-config
|
||||||
|
ln -svf multiarch_wrapper $TMPROOT/usr/bin/ncursesw5-config
|
||||||
|
else
|
||||||
|
ln -svf ncursesw5-config $TMPROOT/usr/bin/ncurses5-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
rm -v $TMPROOT/lib/lib{ncurses,menu,panel,form,curses}.so
|
#korrekt the files in build System for 32 Bit
|
||||||
mkdir -p $TMPROOT/usr/lib
|
mv -v /lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib
|
||||||
ln -svf ../../lib/libncurses.so.5 $TMPROOT/usr/lib/libcurses.so
|
rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so
|
||||||
ln -svf ../../lib/libncurses.so.5 $TMPROOT/usr/lib/libncurses.so
|
ln -svf ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
|
||||||
ln -svf ../../lib/libmenu.so.5 $TMPROOT/usr/lib/libmenu.so
|
ln -svf ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so
|
||||||
ln -svf ../../lib/libpanel.so.5 $TMPROOT/usr/lib/libpanel.so
|
ln -svf ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so
|
||||||
ln -svf ../../lib/libform.so.5 $TMPROOT/usr/lib/libform.so
|
ln -svf ../../lib/libformw.so.5 /usr/lib/libformw.so
|
||||||
chmod -v 755 $TMPROOT/lib/lib{panel,menu,panel,form,ncurses}.so.5.5
|
for lib in curses ncurses form panel menu ; do
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
|
||||||
mkdir -p $TMPROOT/usr/lib64
|
ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
|
||||||
rm -v $TMPROOT/lib64/lib{ncurses,menu,panel,form,curses}.so
|
done
|
||||||
ln -svf ../../lib64/libncurses.so.5 $TMPROOT/usr/lib64/libcurses.so
|
ln -sfv libcurses.so /usr/lib/libcursesw.so
|
||||||
ln -svf ../../lib64/libncurses.so.5 $TMPROOT/usr/lib64/libncurses.so
|
ln -sfv libncurses.so /usr/lib/libcurses.so
|
||||||
ln -svf ../../lib64/libmenu.so.5 $TMPROOT/usr/lib64/libmenu.so
|
ln -sfv libncursesw.a /usr/lib/libcursesw.a
|
||||||
ln -svf ../../lib64/libpanel.so.5 $TMPROOT/usr/lib64/libpanel.so
|
ln -sfv libncurses.a /usr/lib/libcurses.a
|
||||||
ln -svf ../../lib64/libform.so.5 $TMPROOT/usr/lib64/libform.so
|
ln -sfv libncurses++w.a /usr/lib/libncurses++.a
|
||||||
chmod -v 755 $TMPROOT/lib/lib{panel,menu,panel,form,ncurses}.so.5.5
|
ln -sfv ../../usr/share/terminfo /usr/lib/terminfo
|
||||||
|
#korrekt the files in $TMPROOT for 32 bit
|
||||||
|
mv -v $TMPROOT/lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a $TMPROOT/usr/lib
|
||||||
|
rm -v $TMPROOT/lib/lib{ncursesw,menuw,panelw,formw}.so
|
||||||
|
ln -svf ../../lib/libncursesw.so.5 $TMPROOT/usr/lib/libncursesw.so
|
||||||
|
ln -svf ../../lib/libmenuw.so.5 $TMPROOT/usr/lib/libmenuw.so
|
||||||
|
ln -svf ../../lib/libpanelw.so.5 $TMPROOT/usr/lib/libpanelw.so
|
||||||
|
ln -svf ../../lib/libformw.so.5 $TMPROOT/usr/lib/libformw.so
|
||||||
|
for lib in curses ncurses form panel menu ; do
|
||||||
|
echo "INPUT(-l${lib}w)" > $TMPROOT/usr/lib/lib${lib}.so
|
||||||
|
ln -sfv lib${lib}w.a $TMPROOT/usr/lib/lib${lib}.a
|
||||||
|
done
|
||||||
|
ln -sfv libcurses.so $TMPROOT/usr/lib/libcursesw.so
|
||||||
|
ln -sfv libncurses.so $TMPROOT/usr/lib/libcurses.so
|
||||||
|
ln -sfv libncursesw.a $TMPROOT/usr/lib/libcursesw.a
|
||||||
|
ln -sfv libncurses.a $TMPROOT/usr/lib/libcurses.a
|
||||||
|
ln -sfv libncurses++w.a $TMPROOT/usr/lib/libncurses++.a
|
||||||
|
ln -sfv ../../usr/share/terminfo $TMPROOT/usr/lib/terminfo
|
||||||
|
if [ $MK64BIT == "true" ]; then
|
||||||
|
#Korrekt the files in Build System for 64 Bit
|
||||||
|
mv -v /lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib64
|
||||||
|
rm -v /lib64/lib{ncursesw,menuw,panelw,formw,cursesw}.so
|
||||||
|
ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libcursesw.so
|
||||||
|
ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libncursesw.so
|
||||||
|
ln -svf ../../lib64/libmenuw.so.5 /usr/lib64/libmenuw.so
|
||||||
|
ln -svf ../../lib64/libpanelw.so.5 /usr/lib64/libpanelw.so
|
||||||
|
ln -svf ../../lib64/libformw.so.5 /usr/lib64/libformw.so
|
||||||
|
for lib in curses ncurses form panel menu ; do
|
||||||
|
echo "INPUT(-l${lib}w)" > /usr/lib64/lib${lib}.so
|
||||||
|
ln -sfv lib${lib}w.a /usr/lib64/lib${lib}.a
|
||||||
|
done
|
||||||
|
ln -sfv libcurses.so /usr/lib64/libcursesw.so
|
||||||
|
ln -sfv libncurses.so /usr/lib64/libcurses.so
|
||||||
|
ln -sfv libncursesw.a /usr/lib64/libcursesw.a
|
||||||
|
ln -sfv libncurses.a /usr/lib64/libcurses.a
|
||||||
|
ln -sfv libncurses++w.a /usr/lib64/libncurses++.a
|
||||||
|
#ln -sfv ncursesw5-config-64 /usr/bin/ncurses5-config-64
|
||||||
|
#ln -sfv ncursesw5-config /usr/bin/ncurses5-config
|
||||||
|
ln -sfv ../../usr/share/terminfo /usr/lib64/terminfo
|
||||||
|
#Korrekt the files in $TMPROOT for 64 Bit
|
||||||
|
mv -v $TMPROOT/lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a $TMPROOT/usr/lib64
|
||||||
|
rm -v $TMPROOT/lib64/lib{ncursesw,menuw,panelw,formw,cursesw}.so
|
||||||
|
ln -svf ../../lib64/libncursesw.so.5 $TMPROOT/usr/lib64/libcursesw.so
|
||||||
|
ln -svf ../../lib64/libncursesw.so.5 $TMPROOT/usr/lib64/libncursesw.so
|
||||||
|
ln -svf ../../lib64/libmenuw.so.5 $TMPROOT/usr/lib64/libmenuw.so
|
||||||
|
ln -svf ../../lib64/libpanelw.so.5 $TMPROOT/usr/lib64/libpanelw.so
|
||||||
|
ln -svf ../../lib64/libformw.so.5 $TMPROOT/usr/lib64/libformw.so
|
||||||
|
for lib in curses ncurses form panel menu ; do
|
||||||
|
echo "INPUT(-l${lib}w)" > $TMPROOT/usr/lib64/lib${lib}.so
|
||||||
|
ln -sfv lib${lib}w.a $TMPROOT/usr/lib64/lib${lib}.a
|
||||||
|
done
|
||||||
|
ln -sfv libcurses.so $TMPROOT/usr/lib64/libcursesw.so
|
||||||
|
ln -sfv libncurses.so $TMPROOT/usr/lib64/libcurses.so
|
||||||
|
ln -sfv libncursesw.a $TMPROOT/usr/lib64/libcursesw.a
|
||||||
|
ln -sfv libncurses.a $TMPROOT/usr/lib64/libcurses.a
|
||||||
|
ln -sfv libncurses++w.a $TMPROOT/usr/lib64/libncurses++.a
|
||||||
|
#ln -sfv ncursesw5-config-64 $TMPROOT/usr/bin/ncurses5-config-64
|
||||||
|
#ln -sfv ncursesw5-config $TMPROOT/usr/bin/ncurses5-config
|
||||||
|
ln -sfv ../../usr/share/terminfo $TMPROOT/usr/lib64/terminfo
|
||||||
fi
|
fi
|
||||||
cd ../ncurses*
|
cd ../ncurses*
|
||||||
rm -r ../build-ncurses
|
rm -r ../build-ncurses
|
||||||
|
@ -88,6 +88,7 @@ mk() {
|
|||||||
yes ""|make config
|
yes ""|make config
|
||||||
make
|
make
|
||||||
make BASEDIR=$TMPROOT update
|
make BASEDIR=$TMPROOT update
|
||||||
|
rm $TMPROOT/bin/hostname
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -74,10 +74,9 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr &&
|
||||||
--prefix=/usr &&
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -72,35 +72,65 @@ SRCPATH=Base/Development
|
|||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
if [ "$MK64BIT" == "true" ];then
|
mkdir -p $TMPROOT/usr/bin
|
||||||
SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-Configure_multilib-1.patch*
|
sed -i -e '/^BUILD_ZLIB/s/True/False/' \
|
||||||
SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-libc_lib64-1.patch*
|
-e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
|
||||||
fi
|
-e '/^LIB/s,\./zlib-src,/usr/lib,' \
|
||||||
echo 'installstyle="lib64/perl5"' >>hints/linux.sh
|
cpan/Compress-Raw-Zlib/config.in
|
||||||
|
if [ ! -f /etc/hosts ]; then
|
||||||
echo "127.0.0.1 localhost $(hostname)" >/etc/hosts
|
echo "127.0.0.1 localhost $(hostname)" >/etc/hosts
|
||||||
sed -e "s/^ccflags=.*$/ccflags=\'-fPIC \'/" Configure >/tmp/Configure
|
fi
|
||||||
mv /tmp/Configure .
|
|
||||||
chmod 755 Configure
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk32() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="-Dlibpath=\"/usr/local/lib64 /lib64 /usr/lib64\""
|
|
||||||
else
|
|
||||||
ADDOPTIONS="-Dlibpath=\"/usr/local/lib /lib /usr/lib\""
|
|
||||||
fi
|
|
||||||
./configure.gnu --prefix=/usr \
|
./configure.gnu --prefix=/usr \
|
||||||
|
-Dvendorprefix=/usr \
|
||||||
-Dman1dir=/usr/share/man/man1 \
|
-Dman1dir=/usr/share/man/man1 \
|
||||||
-Dman3dir=/usr/share/man/man3 \
|
-Dman3dir=/usr/share/man/man3 \
|
||||||
-Dpager="/bin/less -isR" \
|
-Dpager="/bin/less -isR" \
|
||||||
$ADDOPTIONS \
|
-Dcc="gcc -m32" \
|
||||||
-Dcc="gcc ${BUILDOPTIONS} -fPIC" \
|
-Dusethreads \
|
||||||
-Dusethreads
|
-Duseshrplib
|
||||||
make CC="gcc $BUILDOPTIONS -fPIC " -j $NUMCPU
|
make -j $NUMCPU
|
||||||
MakeCheck -j $NUMCPU test
|
make -j $NUMCPU install
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/usr/bin/perl{,-32}
|
||||||
|
mv $TMPROOT/usr/bin/perl5.12.2{,-32}
|
||||||
|
rm -r $MAKEDIR/perl-*
|
||||||
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/perl-*.tar*
|
||||||
|
cd $MAKEDIR/perl*
|
||||||
|
sed -i -e '/^BUILD_ZLIB/s/True/False/' \
|
||||||
|
-e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
|
||||||
|
-e '/^LIB/s,\./zlib-src,/usr/lib,' \
|
||||||
|
cpan/Compress-Raw-Zlib/config.in
|
||||||
|
SrcPatch $MAKEDIR/perl* $LFSSOURCE/$SRCPATH/perl-*-Configure_multilib-?.patch.*
|
||||||
|
sed -i "/libc/s@/lib@/lib64@" hints/linux.sh
|
||||||
|
echo 'installstyle="lib64/perl5"' >>hints/linux.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
./configure.gnu --prefix=/usr \
|
||||||
|
-Dvendorprefix=/usr \
|
||||||
|
-Dman1dir=/usr/share/man/man1 \
|
||||||
|
-Dman3dir=/usr/share/man/man3 \
|
||||||
|
-Dpager="/bin/less -isR" \
|
||||||
|
-Dlibpath="/usr/local/$LIBDIR /$LIBDIR /usr/$LIBDIR" \
|
||||||
|
-Dcc="gcc -m${UARCH}" \
|
||||||
|
-Dusethreads \
|
||||||
|
-Duseshrplib
|
||||||
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU test
|
||||||
|
make install
|
||||||
|
make DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for premk() "
|
if [ ${MK64BIT} == "true" ]; then
|
||||||
|
mv $TMPROOT/usr/bin/perl{,-64}
|
||||||
|
mv $TMPROOT/usr/bin/perl5.12.2{,-64}
|
||||||
|
ln -sv /usr/bin/multiarch_wrapper $TMPROOT/usr/bin/perl
|
||||||
|
ln -sv /usr/bin/multiarch_wrapper $TMPROOT/usr/bin/perl5.12.2
|
||||||
|
else
|
||||||
|
echo "Nothing to do for postmk() "
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
@ -76,27 +76,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Tools/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
echo "Nothing to do for premk()"
|
mkdir ../Build-pkgconfig
|
||||||
CheckError "premk() failed !" 1
|
cd ../Build-pkgconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
# Hier die ./configure --build=$HOSTSYS --target=$HOSTSYS-Optionen eintragen.
|
USE_ARCH=$UARCH \
|
||||||
# Den \ nicht vergessen !
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --build=$TARGET \
|
../pkgconfig*/configure --prefix=/usr \
|
||||||
--target=$TARGET \
|
--with-pc-path=/usr/share/pkgconfig
|
||||||
--prefix=/usr
|
|
||||||
|
|
||||||
CheckError "Configurescript failed !" 1
|
|
||||||
|
|
||||||
# Make-Optionen eintragen
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
||||||
|
|
||||||
@ -106,7 +101,15 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_pkgconfig $TMPROOT
|
cd ../pkgconfig*
|
||||||
|
rm -r ../Build-pkgconfig
|
||||||
|
if [ -d /var/install/subversion* ]; then
|
||||||
|
GetGit Viitor_pkgconfig $TMPROOT
|
||||||
|
fi
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share/man
|
mv $TMPROOT/usr/man $TMPROOT/usr/share/man
|
||||||
|
ln -s pkg-config $TMPROOT/usr/bin/pkgconfig
|
||||||
|
if [ ! -d /var/install/pkgconfig* ]; then
|
||||||
|
echo "export PKG_CONFIG_PATH=\"/usr/lib/pkgconfig\"" >>/root/.bash_profile
|
||||||
|
fi
|
||||||
}
|
}
|
@ -85,5 +85,5 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_rpc $TMPROOT
|
GetGit Viitor_rpc $TMPROOT
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#dieses Framework wird im CVS Repository
|
#dieses Framework wird im CVS Repository
|
||||||
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
#
|
#
|
||||||
#Lage dieser Datei im Archiv: $HeadURL$
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/BaseBuild/toolchain/ppl $
|
||||||
#
|
#
|
||||||
#(c) 2003 Harald Kueller, Germany
|
#(c) 2003 Harald Kueller, Germany
|
||||||
#This program is free software; you can redistribute it and/or
|
#This program is free software; you can redistribute it and/or
|
||||||
@ -56,99 +56,94 @@
|
|||||||
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
# frisch installierten Packet verwendet (wie z.B. postgresql)
|
||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: gimp
|
#Module zur Erstellung des Packetes: ppl
|
||||||
#Quelle der Source Archive: www.gimp.org
|
#Quelle der Source Archive: http://www.cs.unipr.it/ppl
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Gnu Image Manipulation Programm - das wohl derzeit
|
#Parma Polyhedra Library
|
||||||
#mächtigste BildBearbeitungs Programm unter UNIX
|
#Numerische Abstractionen speziell für die analyse und abstraktion
|
||||||
#
|
#von komplexen Systemen
|
||||||
#Letzte Änderung von: $Author$
|
|
||||||
#Datum der letzten Änderung: $Date$
|
|
||||||
#Version der Datei: $Revision$
|
|
||||||
#
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2011-02-25 12:22:50 +0100 (Fr, 25. Feb 2011) $
|
||||||
|
#Version der Datei: $Rev: 5996 $
|
||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=X11/Grafik
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
if [ -d /usr/man ]; then
|
sed -i "s/__GMP_BITS_PER_MP_LIMB/GMP_LIMB_BITS/g" configure
|
||||||
mv /usr/man /usr/man.store
|
|
||||||
fi
|
|
||||||
X11R7_Fix
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CPPFLAGS=-fexceptions \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
./configure --target=$TARGET32 \
|
LDFLAGS="-Wl,-rpath-link,/lib ${BUILDOPTIONS32}" \
|
||||||
--prefix=/usr/X11R7 \
|
./configure --prefix=/usr \
|
||||||
--with-python \
|
--host=${TARGET32} \
|
||||||
--enable-nls \
|
--enable-shared \
|
||||||
--with-pdbgen \
|
--disable-optimization
|
||||||
--disable-print \
|
CheckError "Configurescript failed !" 1
|
||||||
--enable-perl
|
# Make-Optionen eintragen
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
||||||
make -j $NUMCPU install
|
|
||||||
sed -e "s%q\[/usr/X11R7\]%q\[$TMPROOT/usr/X11R7\]%" plug-ins/perl/config.pl >/tmp/config.pl
|
MakeCheck -j $NUMCPU check
|
||||||
mv /tmp/config.pl plug-ins/perl/config.pl
|
# Make install Optionen eintragen
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CleanTextFiles
|
|
||||||
if [ -d /usr/man ]; then
|
|
||||||
if [ ! -d $TMPROOT/usr/share ]; then
|
|
||||||
mkdir -p $TMPROOT/usr/share
|
|
||||||
fi
|
|
||||||
mv /usr/man $TMPROOT/usr/share/man
|
|
||||||
fi
|
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
|
mv -v $TMPROOT/usr/bin/ppl-config{,-32}
|
||||||
|
mv -v $TMPROOT/usr/include/ppl{,-32}.hh
|
||||||
make distclean
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CPPFLAGS=-fexceptions \
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
fi
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
CC="gcc $BUILDOPTIONS" \
|
LDFLAGS="-Wl,-rpath-link,/${LIBDIR} ${BUILDOPTIONS}" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
./configure --prefix=/usr \
|
||||||
./configure --target=$TARGET \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--prefix=/usr/X11R7 \
|
--enable-shared \
|
||||||
$ADDOPTIONS \
|
--disable-optimization
|
||||||
--with-python \
|
CheckError "Configurescript failed !" 1
|
||||||
--enable-nls \
|
|
||||||
--with-pdbgen \
|
# Make-Optionen eintragen
|
||||||
--disable-print \
|
|
||||||
--enable-perl
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
||||||
make -j $NUMCPU install
|
|
||||||
sed -e "s%q\[/usr/X11R7\]%q\[$TMPROOT/usr/X11R7\]%" plug-ins/perl/config.pl >/tmp/config.pl
|
MakeCheck -j $NUMCPU check
|
||||||
mv /tmp/config.pl plug-ins/perl/config.pl
|
# Make install Optionen eintragen
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CleanTextFiles
|
|
||||||
if [ -d /usr/man ]; then
|
|
||||||
if [ ! -d $TMPROOT/usr/share ]; then
|
|
||||||
mkdir -p $TMPROOT/usr/share
|
|
||||||
fi
|
|
||||||
mv /usr/man $TMPROOT/usr/share/man
|
|
||||||
fi
|
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
LIBDIR=lib64
|
mv -v $TMPROOT/usr/bin/ppl-config{,-64}
|
||||||
else
|
ln -svf multiarch_wrapper $TMPROOT/usr/bin/ppl-config
|
||||||
LIBDIR=lib
|
mv -v $TMPROOT/usr/include/ppl{,-64}.hh
|
||||||
fi
|
cat > $TMPROOT/usr/include/ppl.hh << "EOF"
|
||||||
chmod 755 $TMPROOT/usr/X11R7/bin/*
|
/* ppl.hh - Stub Header */
|
||||||
chmod 755 $TMPROOT/usr/X11R7/$LIBDIR/gimp/*/plug-ins/*
|
#ifndef __STUB__PPL_HH__
|
||||||
if [ -d /usr/man.store ]; then
|
#define __STUB__PPL_HH__
|
||||||
mv /usr/man.store /usr/man
|
|
||||||
|
#if defined(__x86_64__) || \
|
||||||
|
defined(__sparc64__) || \
|
||||||
|
defined(__arch64__) || \
|
||||||
|
defined(__powerpc64__) || \
|
||||||
|
defined (__s390x__)
|
||||||
|
# include "ppl-64.h"
|
||||||
|
#else
|
||||||
|
# include "ppl-32.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __STUB__PPL_HH__ */
|
||||||
|
EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
@ -70,15 +70,18 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s/CFLAGS = -O2/CFLAGS = $BUILDOPTIONS/" Makefile >Makefile2
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
make -j $NUMCPU LDLIBS=-lncurses
|
CC="gcc $BUILDOPTIONS" \
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
echo "Nothing to do for postmk()"
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
|
||||||
}
|
}
|
@ -69,31 +69,32 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s/-O3/$CFLAGS/" Makefile >Makefile2
|
sed -i -r '/^-include/s/\*(.*)/proc\1 ps\1/' Makefile
|
||||||
mv Makefile2 Makefile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS32}"
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS32}" m64=""
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install lib64=lib
|
make -j $NUMCPU DESTDIR=$TMPROOT install lib64=lib
|
||||||
make clean
|
make clean
|
||||||
echo "cleaned up"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}" m64=""
|
||||||
ADDOPTIONS="lib64=lib64"
|
make -j $NUMCPU DESTDIR=$TMPROOT install lib64=${LIBDIR}
|
||||||
fi
|
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}"
|
|
||||||
make -j $NUMCPU XSCP='' DESTDIR=$TMPROOT install $ADDOPTIONS
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_procps $TMPROOT
|
if [ -f /usr/bin/svn ]; then
|
||||||
|
GetGit Viitor_procps $TMPROOT
|
||||||
|
fi
|
||||||
cd $TMPROOT
|
cd $TMPROOT
|
||||||
cd bin
|
cd bin
|
||||||
ln kill skill
|
ln kill skill
|
||||||
ln kill snice
|
ln kill snice
|
||||||
cd ../usr/bin
|
cd ../usr/bin
|
||||||
rm skill snice
|
rm skill snice
|
||||||
|
mv $TMPROOT/usr/bin/pgrep $TMPROOT/bin
|
||||||
|
mv $TMPROOT/usr/bin/pkill $TMPROOT/bin
|
||||||
|
ln -s /bin/pgrep $TMPROOT/usr/bin/pgrep
|
||||||
|
ln -s /bin/pkill $TMPROOT/usr/bin/pkill
|
||||||
}
|
}
|
||||||
|
@ -74,8 +74,7 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=""
|
--exec-prefix=""
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
@ -68,27 +68,36 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zu Basis Source Tree eintragen!
|
#Pfad zu Basis Source Tree eintragen!
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
#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() {
|
||||||
SrcPatch $MAKEDIR/readline* $LFSSOURCE/$SRCPATH/readline-*-fixes-3.patch*
|
|
||||||
mkdir ../build-readline
|
mkdir ../build-readline
|
||||||
cd ../build-readline
|
cd ../build-readline
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32} -fPIC" \
|
||||||
CXX="g++ ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32} -fPIC" \
|
||||||
../readline*/configure --prefix=/usr \
|
../readline*/configure --prefix=/usr \
|
||||||
--libdir=/lib
|
--libdir=/lib
|
||||||
make -j $NUMCPU SHLIB_XLDFLAGS=-lncurses
|
make -j $NUMCPU SHLIB_LIBS=-lncurses
|
||||||
make -j $NUMCPU install
|
make install
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make install-doc
|
||||||
|
make DESTDIR=$TMPROOT install
|
||||||
|
make DESTDIR=$TMPROOT install-doc
|
||||||
|
mv -v /lib/lib{readline,history}.a /usr/lib
|
||||||
|
rm -v /lib/lib{readline,history}.so
|
||||||
|
ln -svf ../../lib/libreadline.so.6 /usr/lib/libreadline.so
|
||||||
|
ln -svf ../../lib/libhistory.so.6 /usr/lib/libhistory.so
|
||||||
|
mv -v $TMPROOT/lib/lib{readline,history}.a $TMPROOT/usr/lib
|
||||||
|
rm -v $TMPROOT/lib/lib{readline,history}.so
|
||||||
|
ln -svf ../../lib/libreadline.so.6 $TMPROOT/usr/lib/libreadline.so
|
||||||
|
ln -svf ../../lib/libhistory.so.6 $TMPROOT/usr/lib/libhistory.so
|
||||||
cd ../readline*
|
cd ../readline*
|
||||||
rm -r ../build-readline
|
rm -r ../build-readline
|
||||||
mkdir ../build-readline
|
mkdir ../build-readline
|
||||||
@ -96,37 +105,28 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
||||||
ADDOPTIONS="--libdir=/lib64"
|
CXX="g++ ${BUILDOPTIONS} -fPIC" \
|
||||||
else
|
../readline*/configure --libdir=/${LIBDIR} \
|
||||||
ADDOPTIONS="--libdir=/lib"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
|
||||||
../readline*/configure --host=$TARGET \
|
|
||||||
$ADDOPTIONS \
|
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
make -j $NUMCPU SHLIB_XLDFLAGS=-lncurses &&
|
make -j $NUMCPU SHLIB_LIBS=-lncurses &&
|
||||||
make -j $NUMCPU install &&
|
make install &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make install-doc &&
|
||||||
|
make DESTDIR=$TMPROOT install &&
|
||||||
|
make DESTDIR=$TMPROOT install-doc
|
||||||
|
mv -v /$LIBDIR/lib{readline,history}.a /usr/$LIBDIR
|
||||||
|
rm -v /$LIBDIR/lib{readline,history}.so
|
||||||
|
ln -svf ../../$LIBDIR/libreadline.so.6 /usr/$LIBDIR/libreadline.so
|
||||||
|
ln -svf ../../$LIBDIR/libhistory.so.6 /usr/$LIBDIR/libhistory.so
|
||||||
|
mv -v $TMPROOT/$LIBDIR/lib{readline,history}.a $TMPROOT/usr/$LIBDIR
|
||||||
|
rm -v $TMPROOT/$LIBDIR/lib{readline,history}.so
|
||||||
|
ln -svf ../../$LIBDIR/libreadline.so.6 $TMPROOT/usr/$LIBDIR/libreadline.so
|
||||||
|
ln -svf ../../$LIBDIR/libhistory.so.6 $TMPROOT/usr/$LIBDIR/libhistory.so
|
||||||
}
|
}
|
||||||
|
|
||||||
#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() {
|
||||||
chmod -v 755 $TMPROOT/lib/lib{readline,history}.so*
|
|
||||||
mkdir -p $TMPROOT/usr/{lib,include}
|
|
||||||
rm -v $TMPROOT/lib/lib{readline,history}.so
|
|
||||||
ln -svf ../../lib/libreadline.so.5 $TMPROOT/usr/lib/libreadline.so
|
|
||||||
ln -svf ../../lib/libhistory.so.5 $TMPROOT/usr/lib/libhistory.so
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
chmod -v 755 $TMPROOT/lib64/lib{readline,history}.so*
|
|
||||||
mkdir -p $TMPROOT/usr/lib64
|
|
||||||
mv -v $TMPROOT/lib64/lib{readline,history}.a /usr/lib64
|
|
||||||
rm -v $TMPROOT/lib64/lib{readline,history}.so
|
|
||||||
ln -svf ../../lib64/libreadline.so.5 $TMPROOT/usr/lib64/libreadline.so
|
|
||||||
ln -svf ../../lib64/libhistory.so.5 $TMPROOT/usr/lib64/libhistory.so
|
|
||||||
fi
|
|
||||||
cp -av /usr/include/readline/* $TMPROOT/usr/include/readline
|
cp -av /usr/include/readline/* $TMPROOT/usr/include/readline
|
||||||
cd ../readline*
|
cd ../readline*
|
||||||
rm -r ../build-readline
|
rm -r ../build-readline
|
||||||
|
88
BaseBuild/Basesys/reiser4progs
Normal file
88
BaseBuild/Basesys/reiser4progs
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: reiserfsprogs
|
||||||
|
#Quelle der Source Archive: http://www.kernel.org/pub/linux/utils/fs/reiserfs/
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#Tools zur Verwaltung und Erzeugung des reiserfs Filesystems
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Revision$
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/System
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for pemk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
|
./configure --host=$TARGET \
|
||||||
|
--prefix=/ \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--includedir=/usr/include
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
mv $TMPROOT/share/* $TMPROOT/usr/share
|
||||||
|
rm -r $TMPROOT/share
|
||||||
|
}
|
@ -57,7 +57,7 @@
|
|||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: reiserfsprogs
|
#Module zur Erstellung des Packetes: reiserfsprogs
|
||||||
#Quelle der Source Archive: ftp://ftp.namesys.com/pub/reiserfsprogs
|
#Quelle der Source Archive: http://www.kernel.org/pub/linux/utils/fs/reiserfs/
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Tools zur Verwaltung und Erzeugung des reiserfs Filesystems
|
#Tools zur Verwaltung und Erzeugung des reiserfs Filesystems
|
||||||
#
|
#
|
||||||
|
@ -72,15 +72,17 @@ premk() {
|
|||||||
mkdir -p $TMPROOT/usr/share/man/man8 \
|
mkdir -p $TMPROOT/usr/share/man/man8 \
|
||||||
$TMPROOT/usr/share/man/man5 \
|
$TMPROOT/usr/share/man/man5 \
|
||||||
$TMPROOT/usr/sbin
|
$TMPROOT/usr/sbin
|
||||||
# InstallOldKernelh 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
make -j $NUMCPU CC="gcc ${BUILDOPTIONS}"
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
make -j $NUMCPU BINDIR=$TMPROOT/usr/sbin \
|
./configure --prefix=/usr \
|
||||||
MANDIR=$TMPROOT/usr/share/man install
|
--sbindir=/sbin \
|
||||||
|
--libdir=/usr/${LIBDIR}
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_sysklogd $TMPROOT
|
GetGit Viitor_sysklogd $TMPROOT
|
||||||
}
|
}
|
86
BaseBuild/Basesys/sdcc
Normal file
86
BaseBuild/Basesys/sdcc
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V963/ViitorMake/BaseBuild/Basesys/patch $
|
||||||
|
#
|
||||||
|
#(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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: patch
|
||||||
|
#Quelle der Source Archive: ftp://ftp.gnu.org/gnu/patch
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#Das Patch tool aus dem gnu project. Dient zum Updaten von Sourcepacketen.
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2011-03-03 16:56:49 +0100 (Do, 03. Mär 2011) $
|
||||||
|
#Version der Datei: $Revision: 6021 $
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/Development
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--disable-pic-port \
|
||||||
|
--disable-pic16-port &&
|
||||||
|
make -j $NUMCPU &&
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
echo "Nothing to do for postmk()"
|
||||||
|
}
|
@ -75,12 +75,13 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--enable-html
|
--enable-html
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU html
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make -j $NUMCPU -C doc DESTDIR=$TMPROOT install-html
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -69,106 +69,111 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
touch /usr/bin/passwd /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
# touch /usr/bin/passwd /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
||||||
chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
# chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
||||||
mkdir ../build-shadow
|
mkdir ../build-shadow
|
||||||
cd ../build-shadow
|
cd ../build-shadow
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
CXX="gcc ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
../shadow*/configure --prefix=/usr \
|
../shadow*/configure --sysconfdir=/etc \
|
||||||
--libdir=/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--enable-shared \
|
|
||||||
--with-libpam \
|
--with-libpam \
|
||||||
--without-audit \
|
--without-audit \
|
||||||
--without-selinux
|
--without-selinux \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-shared \
|
||||||
|
--with-libcrack
|
||||||
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
||||||
sed -e '/groups/d' man/Makefile
|
find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;
|
||||||
|
find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
if [ ! -d $TMPROOT/lib ]; then
|
||||||
|
mkdir $TMPROOT/lib
|
||||||
|
fi
|
||||||
|
cp lib/.libs/libshadow.a $TMPROOT/lib/
|
||||||
|
cp libmisc/libmisc.a $TMPROOT/lib/
|
||||||
cd ../shadow*
|
cd ../shadow*
|
||||||
rm -r ../build-shadow
|
rm -r ../build-shadow
|
||||||
mkdir ../build-shadow
|
mkdir ../build-shadow
|
||||||
cd ../build-shadow
|
cd ../build-shadow
|
||||||
cp misc/libmisc.a $TMPROOT/usr/lib
|
GenDynLib32 $TMPROOT/lib/libshadow.a 4.1.4.2
|
||||||
|
GenDynLib32 $TMPROOT/lib/libmisc.a 4.1.4.2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
||||||
ADDOPTIONS="--libdir=/lib64"
|
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
||||||
else
|
../shadow*/configure --sysconfdir=/etc \
|
||||||
ADDOPTIONS="--libdir=/lib"
|
|
||||||
fi
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
|
||||||
../shadow*/configure --host=$TARGET \
|
|
||||||
--prefix=/usr \
|
|
||||||
$ADDOPTIONS \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--enable-shared \
|
|
||||||
--with-libpam \
|
--with-libpam \
|
||||||
--without-audit \
|
--without-audit \
|
||||||
--without-selinux
|
--without-selinux \
|
||||||
sed -i libtool -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g' \
|
--libdir=/$LIBDIR \
|
||||||
-e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g'
|
--sysconfdir=/etc \
|
||||||
|
--enable-shared \
|
||||||
|
--with-libcrack
|
||||||
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
||||||
sed -e '/groups/d' man/Makefile
|
find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;
|
||||||
|
find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
if [ "$MK64BIT" == "true" ] ; then
|
if [ ! -d $TMPROOT/$LIBDIR ]; then
|
||||||
cp misc/libmisc.a $TMPROOT/usr/lib64
|
mkdir $TMPROOT/$LIBDIR
|
||||||
else
|
|
||||||
cp misc/libmisc.a $TMPROOT/usr/lib
|
|
||||||
fi
|
fi
|
||||||
|
if [ ! -d $TMPROOT/usr/$LIBDIR ]; then
|
||||||
|
mkdir $TMPROOT/usr/$LIBDIR
|
||||||
|
fi
|
||||||
|
cp lib/.libs/libshadow.a $TMPROOT/$LIBDIR
|
||||||
|
cp libmisc/libmisc.a $TMPROOT/$LIBDIR
|
||||||
|
GenDynLib $TMPROOT/$LIBDIR/libshadow.a 4.1.4.2
|
||||||
|
GenDynLib $TMPROOT/$LIBDIR/libmisc.a 4.1.4.2
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/etc $TMPROOT/usr/lib $TMPROOT/var $TMPROOT/bin
|
mkdir -p $TMPROOT/{etc,bin,var,usr} $TMPROOT/usr/lib $TMPROOT/var/{log,run}
|
||||||
cd ../shadow*
|
cd ../shadow*
|
||||||
cp etc/{limits,login.access} $TMPROOT/etc
|
cp etc/{limits,login.access} $TMPROOT/etc
|
||||||
cp $TMPROOT/etc/login.defs{,.store}
|
sed -i -e 's%/var/spool/mail%/var/mail%' \
|
||||||
sed -e "s%/var/spool/mail%/var/mail%" \
|
-e 's@#\(ENCRYPT_METHOD \).*@\1MD5@' $TMPROOT/etc/login.defs
|
||||||
-e "s%^FAILLOG_ENAB%#FAILLOG_ENAB%" \
|
FUNCTIONS="FAILLOG_ENAB \
|
||||||
-e "s%^LASTLOG_ENAB%#LASTLOG_ENAB%" \
|
LASTLOG_ENAB \
|
||||||
-e "s%^MAIL_CHECK_ENAB%#MAIL_CHECK_ENAB%" \
|
MAIL_CHECK_ENAB \
|
||||||
-e "s%^OBSCURE_CHECKS_ENAB%#OBSCURE_CHECKS_ENAB%" \
|
OBSCURE_CHECKS_ENAB \
|
||||||
-e "s%^PORTTIME_CHECKS_ENAB%#PORTTIME_CHECKS_ENAB%" \
|
PORTTIME_CHECKS_ENAB \
|
||||||
-e "s%^QUOTAS_ENAB%#QUOTAS_ENAB%" \
|
QUOTAS_ENAB \
|
||||||
-e "s%^MOTD_FILE%#MOTD_FILE%" \
|
MOTD_FILE \
|
||||||
-e "s%^FTMP_FILE%#FTMP_FILE%" \
|
FTMP_FILE \
|
||||||
-e "s%^NOLOGINS_FILE%#NOLOGINS_FILE%" \
|
NOLOGINS_FILE \
|
||||||
-e "s%^ENV_HZ%#ENV_HZ%" \
|
ENV_HZ \
|
||||||
-e "s%^ENV_SUPATH%#ENV_SUPATH%" \
|
PASS_MIN_LEN \
|
||||||
-e "s%^ENV_PATH%#ENV_PATH%" \
|
SU_WHEEL_ONLY \
|
||||||
-e "s%^PASS_MIN_LEN%#PASS_MIN_LEN%" \
|
CRACKLIB_DICTPATH \
|
||||||
-e "s%^SU_WHEEL_ONLY%#SU_WHEEL_ONLY%" \
|
PASS_CHANGE_TRIES \
|
||||||
-e "s%^CRACKLIB_DICTPATH%#CRACKLIB_DICTPATH%" \
|
PASS_ALWAYS_WARN \
|
||||||
-e "s%^PASS_CHANGE_TRIES%#PASS_CHANGE_TRIES%" \
|
CHFN_AUTH \
|
||||||
-e "s%^PASS_ALWAYS_WARN%#PASS_ALWAYS_WARN%" \
|
ENVIRON_FILE "
|
||||||
-e "s%^CHFN_AUTH%#CHFN_AUTH%" \
|
for function in $FUNCTIONS; do
|
||||||
-e "s%^MD5_CRYPT_ENAB%#MD5_CRYPT_ENAB%" \
|
sed -i -e "s/^$function/# &/" $TMPROOT/etc/login.defs
|
||||||
-e "s%^ENVIRON_FILE%#ENVIRON_FILE%" \
|
done
|
||||||
$TMPROOT/etc/login.defs.store >$TMPROOT/etc/login.defs
|
|
||||||
rm $TMPROOT/etc/login.defs.store
|
|
||||||
touch $TMPROOT/var/run/utmp $TMPROOT/var/log/{btmp,lastlog,wtmp}
|
touch $TMPROOT/var/run/utmp $TMPROOT/var/log/{btmp,lastlog,wtmp}
|
||||||
mv -v $TMPROOT/usr/bin/passwd $TMPROOT/bin
|
mv -v $TMPROOT/usr/bin/passwd $TMPROOT/bin
|
||||||
mv -v $TMPROOT/lib/libshadow.*a $TMPROOT/usr/lib
|
mv -v $TMPROOT/lib/libshadow.*a $TMPROOT/usr/lib
|
||||||
rm -v /lib/libshadow.so
|
rm -v /lib/libshadow.so
|
||||||
cd $MAKEDIR/shadow*
|
cd $MAKEDIR/shadow*
|
||||||
ln -svf ../../lib/libshadow.so.0 $TMPROOT/usr/lib/libshadow.so
|
ln -svf ../../lib/libshadow.so.4 $TMPROOT/usr/lib/libshadow.so
|
||||||
ln -svf ../../lib/libshadow.so.0 $TMPROOT/lib/libshadow.so
|
ln -svf ../../lib/libshadow.so.4 $TMPROOT/usr/lib/libshadow.so.0
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
mkdir -p $TMPROOT/usr/lib64
|
mkdir -p $TMPROOT/usr/lib64
|
||||||
mv -v /lib64/libshadow.*a $TMPROOT/usr/lib64
|
mv -v /lib64/libshadow.*a $TMPROOT/usr/lib64
|
||||||
rm -v $TMPROOT/lib64/libshadow.so
|
rm -v $TMPROOT/lib64/libshadow.so
|
||||||
ln -svf ../../lib64/libshadow.so.0 $TMPROOT/usr/lib64/libshadow.so
|
ln -svf ../../lib64/libshadow.so.4 $TMPROOT/usr/lib64/libshadow.so
|
||||||
ln -svf ../../lib64/libshadow.so.0 $TMPROOT/lib64/libshadow.so
|
ln -svf ../../lib64/libshadow.so.4 $TMPROOT/usr/lib64/libshadow.so.0
|
||||||
fi
|
fi
|
||||||
rm -r ../build-shadow
|
rm -r ../build-shadow
|
||||||
rm -r $TMPROOT/etc/pam.d
|
rm -r $TMPROOT/etc/pam.d
|
||||||
|
sed -i "s/\(GROUP=100\)0/\1/" $TMPROOT/etc/default/useradd
|
||||||
}
|
}
|
||||||
|
@ -76,11 +76,6 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ];then
|
|
||||||
LIBDIR=lib64
|
|
||||||
else
|
|
||||||
LIBDIR=lib
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
|
||||||
|
@ -69,9 +69,6 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e 's/Sending processes/Sending processes started by init/g' \
|
|
||||||
init.c >/tmp/init.c~
|
|
||||||
mv /tmp/init.c~ init.c
|
|
||||||
for i in $TMPROOT/sbin \
|
for i in $TMPROOT/sbin \
|
||||||
$TMPROOT/usr \
|
$TMPROOT/usr \
|
||||||
$TMPROOT/usr/bin \
|
$TMPROOT/usr/bin \
|
||||||
@ -93,5 +90,5 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_sysvinit $TMPROOT
|
GetGit Viitor_sysvinit $TMPROOT
|
||||||
}
|
}
|
||||||
|
@ -73,19 +73,19 @@ SRCPATH=Base/Utilities
|
|||||||
#(( MKPKG = $MKPKG | 16 ))
|
#(( MKPKG = $MKPKG | 16 ))
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
echo "Nothin to do for premk"
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
FORCE_UNSAFE_CONFIGURE=1 \
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--libexecdir=/usr/bin
|
--libexecdir=/usr/sbin
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_tar $TMPROOT
|
GetGit Viitor_tar $TMPROOT
|
||||||
}
|
}
|
||||||
|
@ -86,12 +86,9 @@ mk() {
|
|||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
if [ -d $TMPROOT/usr/bin ]; then
|
if [ -d $TMPROOT/usr/bin ]; then
|
||||||
cd $TMPROOT/usr/bin
|
mkdir -p $TMPROOT/bin
|
||||||
mkdir ../../bin
|
mv $TMPROOT/usr/bin/tcsh $TMPROOT/bin
|
||||||
mv tcsh ../../bin/
|
ln -s tcsh $TMPROOT/bin/csh
|
||||||
cd ..
|
rm -r $TMPROOT/usr/bin
|
||||||
rm -r bin
|
|
||||||
cd ../bin
|
|
||||||
ln -s tcsh csh
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -74,13 +74,16 @@ premk() {
|
|||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr
|
||||||
--prefix=/usr
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT TEXMF=/usr/share/texmf install-tex
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
pushd $TMPROOT/usr/share/info
|
||||||
|
rm dir
|
||||||
|
for f in *; do
|
||||||
|
install-info $f dir 2>/dev/null
|
||||||
|
done
|
||||||
|
popd
|
||||||
}
|
}
|
||||||
|
@ -68,108 +68,68 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 128 ))
|
||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s%/usr/local/bin%/usr/bin%" Makefile >/tmp/Makefile
|
echo "Nothing to do for premk() "
|
||||||
mv /tmp/Makefile .
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
make -j $NUMCPU \
|
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
EXTRAS="extras/ata_id \
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
extras/cdrom_id \
|
USE_ARCH=32 \
|
||||||
extras/edd_id \
|
./configure --prefix=/usr \
|
||||||
extras/firmware \
|
--exec-prefix="" \
|
||||||
extras/floppy \
|
--sysconfdir=/etc \
|
||||||
extras/path_id \
|
--libexecdir=/lib/udev \
|
||||||
extras/rule_generator \
|
--libdir=/lib \
|
||||||
extras/scsi_id \
|
--disable-extras \
|
||||||
extras/usb_id \
|
--disable-introspection
|
||||||
extras/volume_id" \
|
make -j $NUMCPU
|
||||||
LDFLAGS="-m32" \
|
make DESTDIR=$TMPROOT install
|
||||||
udevdir=/dev
|
|
||||||
|
|
||||||
make DESTDIR=$TMPROOT \
|
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
|
||||||
EXTRAS="extras/ata_id \
|
|
||||||
extras/cdrom_id \
|
|
||||||
extras/edd_id \
|
|
||||||
extras/firmware \
|
|
||||||
extras/floppy \
|
|
||||||
extras/path_id \
|
|
||||||
extras/rule_generator \
|
|
||||||
extras/scsi_id \
|
|
||||||
extras/usb_id \
|
|
||||||
extras/volume_id" \
|
|
||||||
udevdir=/dev install
|
|
||||||
make clean
|
make clean
|
||||||
mv $TMPROOT/lib $TMPROOT/lib32
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ];then
|
|
||||||
LIBDIR=lib64
|
|
||||||
else
|
|
||||||
LIBDIR=lib
|
|
||||||
fi
|
|
||||||
make -j $NUMCPU \
|
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
libudevdir=\${prefix}/$LIBDIR/udev \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
EXTRAS="extras/ata_id \
|
./configure --prefix=/usr \
|
||||||
extras/cdrom_id \
|
--exec_prefix="" \
|
||||||
extras/edd_id \
|
--sysconfdir=/etc \
|
||||||
extras/firmware \
|
--libexecdir=/lib/udev \
|
||||||
extras/floppy \
|
--libdir=/${LIBDIR} \
|
||||||
extras/path_id \
|
--disable-extras \
|
||||||
extras/rule_generator \
|
--disable-introspection
|
||||||
extras/scsi_id \
|
make -j $NUMCPU
|
||||||
extras/usb_id \
|
make DESTDIR=$TMPROOT install
|
||||||
extras/volume_id" \
|
install -dv $TMPROOT/lib/firmware
|
||||||
udevdir=/dev
|
|
||||||
|
|
||||||
make DESTDIR=$TMPROOT \
|
|
||||||
EXTRAS="extras/ata_id \
|
|
||||||
extras/cdrom_id \
|
|
||||||
extras/edd_id \
|
|
||||||
extras/firmware \
|
|
||||||
extras/floppy \
|
|
||||||
extras/path_id \
|
|
||||||
extras/rule_generator \
|
|
||||||
extras/scsi_id \
|
|
||||||
extras/usb_id \
|
|
||||||
extras/volume_id" \
|
|
||||||
udevdir=/dev install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
mv $TMPROOT/lib $TMPROOT/lib64
|
|
||||||
mv $TMPROOT/lib32 $TMPROOT/lib
|
|
||||||
ln ../lib64/udev $TMPROOT/lib/udev
|
|
||||||
LIBDIR=lib64
|
LIBDIR=lib64
|
||||||
mkdir -p $TMPROOT/usr/lib64/pkgconfig
|
|
||||||
sed -e "s/\/lib/\/lib64/" \
|
|
||||||
$TMPROOT/usr/lib/pkgconfig/libvolume_id.pc \
|
|
||||||
>$TMPROOT/usr/lib64/pkgconfig/libvolume_id.pc
|
|
||||||
else
|
else
|
||||||
LIBDIR=lib
|
LIBDIR=lib
|
||||||
fi
|
fi
|
||||||
mkdir -p $TMPROOT/usr/share/doc/udev
|
mkdir -p $TMPROOT/usr/share/doc/udev
|
||||||
cp -a docs/* $TMPROOT/usr/share/doc/udev
|
cp -a docs/* $TMPROOT/usr/share/doc/udev
|
||||||
cp udevstart udev $TMPROOT/sbin
|
cp rules/rules.d/* $TMPROOT/etc/udev/rules.d
|
||||||
cp etc/udev/* $TMPROOT/etc/udev
|
cp rules/gentoo/* $TMPROOT/etc/udev/rules.d
|
||||||
cp etc/udev/gentoo/* $TMPROOT/etc/udev/rules.d
|
for i in alsa infiniband isdn pilot-links zaptel device-mapper md-raid; do
|
||||||
sed -e "s/uucp/dialout/" etc/udev/gentoo/50-udev.rules |\
|
cp rules/packages/*$i.rules $TMPROOT/etc/udev/rules.d
|
||||||
sed -e "s/GROUP=\"cdrom\"/GROUP=\"cdwrite\"/" |\
|
|
||||||
sed -e "s/cdrw/cdwrite/" >$TMPROOT/etc/udev/rules.d/50-udev.rules
|
|
||||||
for i in $TMPROOT/$LIBDIR/udev/*; do
|
|
||||||
cd $TMPROOT/sbin
|
|
||||||
ln -s $i
|
|
||||||
cd -
|
|
||||||
done
|
done
|
||||||
GetSVN Viitor_udev $TMPROOT
|
sed -i "s/\(pty.*MODE=\).*$/\1\"0666\"/" $TMPROOT/etc/udev/rules.d/50-udev-default.rules
|
||||||
|
sed -i "s/\(GROUP=\)\"cdrom\"/\1\"cdwrite\"/" $TMPROOT/etc/udev/rules.d/50-udev-default.rules
|
||||||
|
cd $TMPROOT/lib/udev
|
||||||
|
for i in *; do
|
||||||
|
ln -s ../lib/udev/$i $TMPROOT/sbin/$i
|
||||||
|
done
|
||||||
|
ln -s ../lib/udev/vol_id $TMPROOT/sbin/volume_id
|
||||||
|
GetGit Viitor_udev $TMPROOT
|
||||||
|
if [ ! -d $TMPROOT/dev ]; then
|
||||||
|
mkdir $TMPROOT/dev
|
||||||
|
fi
|
||||||
mknod $TMPROOT/dev/null c 1 3
|
mknod $TMPROOT/dev/null c 1 3
|
||||||
mknod $TMPROOT/dev/console c 5 1
|
mknod $TMPROOT/dev/console c 5 1
|
||||||
sed -e "/loadproc.*udevstart/d" \
|
sed -e "/loadproc.*udevstart/d" \
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zum Basis-Sourcetree :
|
#Pfad zum Basis-Sourcetree :
|
||||||
SRCPATH=Tools/Utilities
|
SRCPATH=Base/Utilities
|
||||||
|
|
||||||
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
#SRCDIR=<PFAD>
|
#SRCDIR=<PFAD>
|
||||||
@ -85,7 +85,7 @@ mk() {
|
|||||||
make -j $NUMCPU \
|
make -j $NUMCPU \
|
||||||
-f unix/Makefile \
|
-f unix/Makefile \
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="gcc $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
generic
|
generic
|
||||||
cp unix/Makefile /tmp
|
cp unix/Makefile /tmp
|
||||||
CheckError "Makeprocess failed !" 1
|
CheckError "Makeprocess failed !" 1
|
@ -75,23 +75,44 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
LIBDIR=lib64
|
|
||||||
else
|
|
||||||
LIBDIR=lib
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --target=$TARGET \
|
./configure --libdir=\${prefix}/${LIBDIR} \
|
||||||
--libdir=/$LIBDIR \
|
--prefix=/ \
|
||||||
--prefix=/usr \
|
--libexecdir=/$LIBDIR/upstart \
|
||||||
--exec-prefix=/ \
|
--includedir=/usr/include \
|
||||||
--sysconfdir=/etc \
|
--datarootdir=/usr/share
|
||||||
--enable-compat=sysv
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
MakeCheck -j $NUMCPU check
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
|
#Getting some additional fine tools from sysvinit
|
||||||
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/sysvinit*.tar.*
|
||||||
|
cd $MAKEDIR/sysvinit*/src
|
||||||
|
for i in killall5 last mountpoint sulogin utmpdump wall; do
|
||||||
|
make $i
|
||||||
|
cp $i
|
||||||
|
done
|
||||||
|
mkdir $TMPROOT/usr/bin $TMPROOT/bin $TMPROOT/usr/share/man/man1
|
||||||
|
install -m 755 killall5 $TMPROOT/sbin/
|
||||||
|
ln -s ../sbin/killall5 $TMPROOT/bin/pidof
|
||||||
|
install -m 755 last $TMPROOT/usr/bin/
|
||||||
|
ln -s last $TMPROOT/usr/bin/lastb
|
||||||
|
install -m 755 mountpoint $TMPROOT/bin/
|
||||||
|
install -m 755 sulogin $TMPROOT/sbin/
|
||||||
|
install -m 755 utmpdump $TMPROOT/usr/bin/
|
||||||
|
install -m 755 wall $TMPROOT/usr/bin/
|
||||||
|
install -m 644 ../man/killall5.8 $TMPROOT/usr/share/man/man8/
|
||||||
|
install -m 644 ../man/last.1 $TMPROOT/usr/share/man/man1/
|
||||||
|
install -m 644 ../man/lastb.1 $TMPROOT/usr/share/man/man1/
|
||||||
|
install -m 644 ../man/mountpoint.1 $TMPROOT/usr/share/man/man1/
|
||||||
|
install -m 644 ../man/pidof.8 $TMPROOT/usr/share/man/man8/
|
||||||
|
install -m 644 ../man/sulogin.8 $TMPROOT/usr/share/man/man8/
|
||||||
|
install -m 644 ../man/wall.1 $TMPROOT/usr/share/man/man1/
|
||||||
|
cd -
|
||||||
|
rm -r $MAKEDIR/sysvinit*
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_upstart $TMPROOT
|
GetGit Viitor_upstart $TMPROOT
|
||||||
|
sed -i "s/on startup/on stopped mountfs/" $TMPROOT/etc/init/rc-sysinit.conf
|
||||||
}
|
}
|
||||||
|
@ -69,30 +69,38 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s/^HAVE_SLN=no/HAVE_SLN=yes/" MCONFIG| \
|
sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
||||||
sed -e "s/^HAVE_TSORT=no/HAVE_TSORT=yes/"| \
|
hwclock/hwclock.c
|
||||||
sed -e "s/^HAVE_PAM=no/HAVE_PAM=yes/"| \
|
mkdir -pv $TMPROOT/var/lib/hwclock
|
||||||
sed -e "s/^# ADD_RAW=yes/ADD_RAW=yes/"|
|
}
|
||||||
sed -e "s%USRGAMES_DIR= /usr/gamesr%USRGAMES_DIR= /usr/bin%"|
|
|
||||||
sed -e "s/-O2 -m486/$CFLAGS/" >MCONFIG2
|
mk32() {
|
||||||
mv MCONFIG2 MCONFIG
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' hwclock/hwclock.c >/tmp/hwclock.c
|
./configure --enable-partx \
|
||||||
mv /tmp/hwclock.c hwclock/hwclock.c
|
--disable-wall \
|
||||||
sed -e 's%#include <linux/tqueue.h>%//#include <linux/tqueue.h>%' sys-utils/cytune.c >/tmp/cytune.c
|
--enable-write
|
||||||
mv /tmp/cytune.c sys-utils/cytune.c
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make distclean
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET
|
./configure --libdir=/${LIBDIR} \
|
||||||
|
--enable-partx \
|
||||||
|
--disable-wall \
|
||||||
|
--enable-write
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
cd sys-utils
|
#cd sys-utils
|
||||||
make rdev
|
#make rdev
|
||||||
make ARCH=intel DESTDIR=$TMPROOT install
|
#cp rdev $TMPROOT/usr/sbin
|
||||||
cd -
|
#cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/var/lib/hwclock
|
if [ ! -d $TMPROOT/bin ]; then
|
||||||
|
mkdir -p $TMPROOT/bin
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/usr/bin/logger $TMPROOT/bin
|
||||||
}
|
}
|
||||||
|
@ -77,16 +77,16 @@ SRCPATH=Base/Utilities
|
|||||||
premk() {
|
premk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
|
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
|
||||||
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
--prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--enable-multibyte
|
--enable-multibyte
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr localstatedir=$TMPROOT/var/lib/vim install
|
MakeCheck test
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
@ -95,7 +95,7 @@ postmk() {
|
|||||||
cd $TMPROOT
|
cd $TMPROOT
|
||||||
mkdir -p var/lib/vim
|
mkdir -p var/lib/vim
|
||||||
if [ -f /usr/bin/svn ]; then
|
if [ -f /usr/bin/svn ]; then
|
||||||
GetSVN Viitor_vim $TMPROOT
|
GetGit Viitor_vim $TMPROOT
|
||||||
fi
|
fi
|
||||||
cd $TMPROOT/usr/man/man1
|
cd $TMPROOT/usr/man/man1
|
||||||
for i in *; do
|
for i in *; do
|
||||||
|
@ -75,14 +75,12 @@ premk() {
|
|||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--disable-iberty
|
--disable-iberty
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/usr/share
|
echo "Nothing to do for postmk()"
|
||||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
|
||||||
}
|
}
|
||||||
|
@ -78,14 +78,12 @@ premk() {
|
|||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
CXX="gcc ${BUILDOPTIONS32}" \
|
CXX="g++ ${BUILDOPTIONS32}" \
|
||||||
./configure --host=$TARGET \
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --host=$TARGET32 \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--enable-share-uuid=yes
|
--enable-lib64=yes
|
||||||
sed -e "s%LIBTOOL.*$%LIBTOOL = /usr/bin/libtool --tag help%" \
|
|
||||||
include/builddefs >/tmp/builddefs
|
|
||||||
mv /tmp/builddefs include/builddefs
|
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
@ -93,73 +91,96 @@ mk32() {
|
|||||||
PKG_SLIB_DIR=$TMPROOT/lib \
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs install
|
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
PKG_LIB_DIR=$TMPROOT/usr/lib \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/lib \
|
PKG_SLIB_DIR=$TMPROOT/lib \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs install-dev
|
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install-dev
|
||||||
|
if [ ! -d $TMPROOT/lib ]; then
|
||||||
|
mkdir $TMPROOT/lib
|
||||||
|
fi
|
||||||
|
cp libhandle/.libs/libhandle.so.1.* $TMPROOT/lib
|
||||||
|
LIBNAME=`ls libhandle/.libs/libhandle.so.1.*`
|
||||||
|
LIBNAME=`basename $LIBNAME`
|
||||||
|
ln -s $LIBNAME $TMPROOT/lib/libhandle.so.1
|
||||||
|
ln -s $LIBNAME $TMPROOT/lib/libhandle.so
|
||||||
|
rm $TMPROOT/usr/lib/libhandle.so*
|
||||||
rm $TMPROOT/usr/lib/libhandle.a
|
rm $TMPROOT/usr/lib/libhandle.a
|
||||||
cp libhandle/.libs/libhandle.a $TMPROOT/usr/lib
|
cp libhandle/.libs/libhandle.a $TMPROOT/lib
|
||||||
rm $TMPROOT/usr/lib/libhandle.la
|
rm $TMPROOT/usr/lib/libhandle.la
|
||||||
sed -e "s%^libdir.*$%libdir=\'/usr/lib\'%" \
|
sed -e "s%^libdir.*$%libdir=\'/lib\'%" \
|
||||||
libhandle/.libs/libhandle.la >$TMPROOT/usr/lib/libhandle.la
|
libhandle/.libs/libhandle.la >$TMPROOT/lib/libhandle.la
|
||||||
cp /libexec/{libdisk.a,libxcmd.a,libxfs.a,libxlog.a} $TMPROOT/usr/lib/
|
for i in xcmd xlog xfs; do
|
||||||
|
cd lib$i/.libs
|
||||||
|
tar -cf - lib$i.so*|tar -C $TMPROOT/usr/lib -xvf -
|
||||||
|
cd -
|
||||||
|
done
|
||||||
cd ..
|
cd ..
|
||||||
rm -r xfsprogs*
|
rm -r xfsprogs*
|
||||||
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/xfsprogs-*.tar.*
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/xfsprogs-*.tar.*
|
||||||
SrcPatch $MAKEDIR $LFSSOURCE/$SRCPATH/xfsprogs-*.patch*
|
|
||||||
cd xfsprogs*
|
cd xfsprogs*
|
||||||
}
|
}
|
||||||
|
|
||||||
#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=/usr/lib64"
|
|
||||||
mkdir -p $TMPROOT/usr/lib64 $TMPROOT/lib64
|
mkdir -p $TMPROOT/usr/lib64 $TMPROOT/lib64
|
||||||
PKGLIBDIR=lib64
|
|
||||||
else
|
|
||||||
PKGLIBDIR=lib
|
|
||||||
fi
|
fi
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="gcc ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
./configure --host=$TARGET \
|
./configure --host=$TARGET \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
$ADDOPTIONS \
|
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--enable-share-uuid=yes
|
--libdir=/usr/${LIBDIR} \
|
||||||
make -j $NUMCPU &&
|
--enable-lib64=yes
|
||||||
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs install
|
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs \
|
||||||
|
USE_ARCH=$UARCH install
|
||||||
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
|
||||||
PKG_LIB_DIR=$TMPROOT/usr/$PKGLIBDIR \
|
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \
|
||||||
PKG_SBIN_DIR=$TMPROOT/sbin \
|
PKG_SBIN_DIR=$TMPROOT/sbin \
|
||||||
PKG_SLIB_DIR=$TMPROOT/$PKGLIBDIR \
|
PKG_SLIB_DIR=$TMPROOT/$LIBDIR \
|
||||||
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
PKG_INC_DIR=$TMPROOT/usr/include/xfs \
|
||||||
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
PKG_MAN_DIR=$TMPROOT/usr/share/man \
|
||||||
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs install-dev
|
PKG_DOC_DIR=$TMPROOT/usr/doc/xfsprogs \
|
||||||
rm $TMPROOT/usr/$PKGLIBDIR/libhandle.a
|
USE_ARCH=$UARCH install-dev
|
||||||
cp libhandle/.libs/libhandle.a $TMPROOT/usr/$PKGLIBDIR
|
if [ ! -d $TMPROOT/${LIBDIR} ]; then
|
||||||
|
mkdir $TMPROOT/${LIBDIR}
|
||||||
|
fi
|
||||||
|
cp libhandle/.libs/libhandle.so.1.* $TMPROOT/${LIBDIR}
|
||||||
|
LIBNAME=`ls libhandle/.libs/libhandle.so.1.*`
|
||||||
|
LIBNAME=`basename $LIBNAME`
|
||||||
|
ln -s $LIBNAME $TMPROOT/${LIBDIR}/libhandle.so.1
|
||||||
|
ln -s $LIBNAME $TMPROOT/${LIBDIR}/libhandle.so
|
||||||
|
rm $TMPROOT/usr/${LIBDIR}/libhandle.so*
|
||||||
|
rm $TMPROOT/usr/${LIBDIR}/libhandle.a
|
||||||
|
cp libhandle/.libs/libhandle.a $TMPROOT/${LIBDIR}
|
||||||
rm $TMPROOT/usr/lib/libhandle.la
|
rm $TMPROOT/usr/lib/libhandle.la
|
||||||
sed -e "s%^libdir.*$%libdir=\'/usr/$PKGLIBDIR\'%" \
|
sed -e "s%^libdir.*$%libdir=\'/$LIBDIR\'%" \
|
||||||
libhandle/.libs/libhandle.la >$TMPROOT/usr/$PKGLIBDIR/libhandle.la
|
libhandle/.libs/libhandle.la >$TMPROOT/usr/$LIBDIR/libhandle.la
|
||||||
cp /libexec/{libdisk.a,libxcmd.a,libxfs.a,libxlog.a} $TMPROOT/usr/$PKGLIBDIR/
|
for i in xcmd xlog xfs; do
|
||||||
|
cd lib$i/.libs
|
||||||
|
tar -cf - lib$i.so*|tar -C $TMPROOT/usr/${LIBDIR} -xvf -
|
||||||
|
cd -
|
||||||
|
done
|
||||||
|
cd include
|
||||||
|
tar -cf - .|tar -C $TMPROOT/usr/include/xfs -xf -
|
||||||
}
|
}
|
||||||
|
|
||||||
#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() {
|
||||||
rm $TMPROOT/usr/lib/libhandle.a
|
echo "Nothing to do for postmk()"
|
||||||
cp libhandle/.libs/libhandle.a $TMPROOT/usr/lib
|
|
||||||
rm $TMPROOT/usr/lib/libhandle.la
|
|
||||||
sed -e "s%^libdir.*$%libdir=\'/usr/lib\'%" \
|
|
||||||
libhandle/.libs/libhandle.la >$TMPROOT/usr/lib/libhandle.la
|
|
||||||
cp /libexec/{libdisk.a,libxcmd.a,libxfs.a,libxlog.a} $TMPROOT/usr/lib/
|
|
||||||
}
|
}
|
||||||
|
@ -78,14 +78,13 @@ premk() {
|
|||||||
mk() {
|
mk() {
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
CXX="g++ ${BUILDOPTIONS}" \
|
CXX="g++ ${BUILDOPTIONS}" \
|
||||||
./configure --host=$BUILDSYS \
|
./configure --prefix=/usr
|
||||||
--prefix=/usr
|
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
|
|
||||||
< Makefile >Makefile.install sed -e "s/^prefix.*= /prefix = \$(DESTDIR)/g"
|
sed -i "s/^prefix.*= /prefix = \$(DESTDIR)/g" Makefile
|
||||||
make -j $NUMCPU -f Makefile.install DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
GetSVN Viitor_xinetd $TMPROOT
|
GetGit Viitor_xinetd $TMPROOT
|
||||||
}
|
}
|
||||||
|
130
BaseBuild/Basesys/xz
Normal file
130
BaseBuild/Basesys/xz
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
#!/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: svn://www.compuextreme.de/Viitor/V962/ViitorMake/BaseBuild/toolchain/grep $
|
||||||
|
#
|
||||||
|
#(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:
|
||||||
|
#Quelle der Source Archive:
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2008-05-02 11:00:40 +0000 (Fr, 02 Mai 2008) $
|
||||||
|
#Version der Datei: $Revision: 4218 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.2 2006/08/16 12:58:34 kueller
|
||||||
|
#Umstellung CFLAGS -> BUILDOPTIONS. Macht ein saubereres optimieren des
|
||||||
|
#Systems moeglich
|
||||||
|
#
|
||||||
|
#Revision 1.1 2006/08/13 13:15:39 kueller
|
||||||
|
#Toolchain Module zum Build von CrossViitor Linux
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
SRCPATH=Base/Utilities
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
mkdir ../build-xz
|
||||||
|
cd ../build-xz
|
||||||
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
CC="gcc ${BUILDOPTIONS32}" \
|
||||||
|
../xz*/configure --prefix=/usr \
|
||||||
|
--libdir=/lib
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} $TMPROOT/bin
|
||||||
|
if [ ! -d $TMPROOT/usr/lib ]; then
|
||||||
|
mkdir $TMPROOT/usr/lib
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib/liblzma.a $TMPROOT/usr/lib
|
||||||
|
cd ../xz*
|
||||||
|
rm -r ../build-xz
|
||||||
|
mkdir ../build-xz
|
||||||
|
cd ../build-xz
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
||||||
|
../xz*/configure --libdir=/${LIBDIR} \
|
||||||
|
--prefix=/usr
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
mv $TMPROOT/usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} $TMPROOT/bin
|
||||||
|
if [ ! -d $TMPROOT/usr/${LIBDIR} ]; then
|
||||||
|
mkdir $TMPROOT/usr/${LIBDIR}
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/${LIBDIR}/liblzma.a $TMPROOT/usr/${LIBDIR}
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
cd ../xz*
|
||||||
|
rm -r ../build-xz
|
||||||
|
if [ ! -d $TMPROOT/usr/lib ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/lib
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib/pkgconfig $TMPROOT/usr/lib
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
if [ ! -d $TMPROOT/usr/lib64 ]; then
|
||||||
|
mkdir -p $TMPROOT/usr/lib64
|
||||||
|
fi
|
||||||
|
mv $TMPROOT/lib64/pkgconfig $TMPROOT/usr/lib64
|
||||||
|
fi
|
||||||
|
}
|
@ -57,7 +57,7 @@
|
|||||||
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
# 64 : sourcetree aufräumen nach packeterstellung unterbinden.
|
||||||
#
|
#
|
||||||
#Module zur Erstellung des Packetes: yasm
|
#Module zur Erstellung des Packetes: yasm
|
||||||
#Quelle der Source Archive: http://www.web-sites.co.uk/nasm/
|
#Quelle der Source Archive: http://www.tortall.net/projects/yasm/wiki/Download
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#Ein weiterer Assembler, der von verschiedenen sourcepacketen
|
#Ein weiterer Assembler, der von verschiedenen sourcepacketen
|
||||||
#zur Übersetzung benötigt wird.
|
#zur Übersetzung benötigt wird.
|
||||||
@ -84,8 +84,7 @@ mk() {
|
|||||||
# Hier die ./configure --build=$HOSTSYS --target=$HOSTSYS-Optionen eintragen.
|
# Hier die ./configure --build=$HOSTSYS --target=$HOSTSYS-Optionen eintragen.
|
||||||
# Den \ nicht vergessen !
|
# Den \ nicht vergessen !
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET \
|
./configure --prefix=/usr \
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--mandir=/usr/man
|
--mandir=/usr/man
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#Pfad zu Basis Source Tree eintragen!
|
#Pfad zu Basis Source Tree eintragen!
|
||||||
SRCPATH=Tools/Utilities
|
SRCPATH=Base/Utilities
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
@ -68,7 +68,7 @@
|
|||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/lib
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||||
#ausgeführt (sprich unpack src; cd src; premk)
|
#ausgeführt (sprich unpack src; cd src; premk)
|
||||||
@ -88,19 +88,27 @@ if [ -d /var/install/zlib* ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
echo "nothing to do for premk()"
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc ${BUILDOPTIONS32}" \
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
CXX="gcc ${BUILDOPTIONS32}" \
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS32}" \
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/lib ${BUILDOPTIONS32}" \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--shared
|
--shared
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr install
|
make -j $NUMCPU prefix=$TMPROOT/usr install
|
||||||
make clean
|
cd ..
|
||||||
|
rm -r zlib-*
|
||||||
|
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/zlib-*.tar*
|
||||||
|
cd $MAKEDIR/zlib-*
|
||||||
|
mkdir -p $TMPROOT/lib
|
||||||
|
mv -v $TMPROOT/usr/lib/libz.so.* $TMPROOT/lib
|
||||||
|
ln -sf ../../lib/libz.so.1 $TMPROOT/usr/lib/libz.so
|
||||||
|
mv /usr/lib/libz.a $TMPROOT/usr/lib/libz.a
|
||||||
|
chmod -v 644 $TMPROOT/usr/lib/libz.a
|
||||||
make distclean
|
make distclean
|
||||||
find . -name "*.{lo,o}" -exec rm {} \;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
@ -109,32 +117,27 @@ mk() {
|
|||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
ADDOPTIONS="--libdir=/usr/lib64"
|
||||||
ADDMAKE="libdir=$TMPROOT/usr/lib64"
|
ADDMAKE="libdir=$TMPROOT/usr/lib64"
|
||||||
fi
|
fi
|
||||||
CC="gcc ${BUILDOPTIONS} -fPIC" \
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS} -fPIC" \
|
||||||
CXX="g++ ${BUILDOPTIONS} -fPIC" \
|
CXX="g++ -isystem /usr/include ${BUILDOPTIONS} -fPIC" \
|
||||||
|
LDDFLAGS="-Wl,-rpath-link,/${LIBDIR} ${BUILDOPTIONS}" \
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--shared
|
--shared
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
|
make -j $NUMCPU libz.a &&
|
||||||
make -j $NUMCPU prefix=$TMPROOT/usr $ADDMAKE install
|
make -j $NUMCPU prefix=$TMPROOT/usr $ADDMAKE install
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
make -j $NUMCPU libz.a
|
||||||
|
fi
|
||||||
|
mkdir -p $TMPROOT/$LIBDIR
|
||||||
|
mv libz.a $TMPROOT/usr/$LIBDIR
|
||||||
|
mv -v $TMPROOT/usr/$LIBDIR/libz.so.* $TMPROOT/$LIBDIR
|
||||||
|
ln -sf ../../$LIBDIR/libz.so.1 $TMPROOT/usr/$LIBDIR/libz.so
|
||||||
|
chmod -v 644 $TMPROOT/usr/$LIBDIR/libz.a
|
||||||
}
|
}
|
||||||
|
|
||||||
#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() {
|
||||||
if [ ! -d $TMPROOT/lib ]; then
|
echo "Nothing to do for postmk()"
|
||||||
mkdir $TMPROOT/lib
|
|
||||||
fi
|
|
||||||
mv $TMPROOT/usr/lib/libz.so.* $TMPROOT/lib
|
|
||||||
ln -svf ../../lib/libz.so.1 $TMPROOT/usr/lib/libz.so
|
|
||||||
chmod -v 644 /usr/lib/libz.a
|
|
||||||
mv /usr/lib/libz.a $TMPROOT/usr/lib
|
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
mkdir -p $TMPROOT/lib64
|
|
||||||
mv -v $TMPROOT/usr/lib64/libz.so* $TMPROOT/lib64
|
|
||||||
ln -svf ../../lib64/libz.so.1 $TMPROOT/usr/lib64/libz.so
|
|
||||||
chmod -v 644 /usr/lib64/libz.a
|
|
||||||
mv /usr/lib64/libz.a $TMPROOT/usr/lib64
|
|
||||||
fi
|
|
||||||
cd ../zlib*
|
|
||||||
rm -r ../build-zlib
|
|
||||||
}
|
}
|
||||||
|
@ -58,45 +58,43 @@
|
|||||||
# 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: binutils
|
||||||
#Quelle der Source Archive:
|
#Quelle der Source Archive: http://sources.redhat.com/binutils
|
||||||
#Kurzbeschreibung:
|
#Kurzbeschreibung:
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#Letzte Änderung von: $Author$
|
#Letzte Änderung von: $Author$
|
||||||
#Datum der letzten Änderung: $Date$
|
#Datum der letzten Änderung: $Date$
|
||||||
#Version der Datei: $Revision$
|
#Version der Datei: $Rev$
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/Utilities
|
SRCPATH=Base/Utilities
|
||||||
|
|
||||||
(( MKPKG = $MKPKG | 8 ))
|
(( MKPKG = $MKPKG | 8 ))
|
||||||
(( MKPKG = $MKPKG | 16 ))
|
(( MKPKG = $MKPKG | 16 ))
|
||||||
(( MKPKG = $MKPKG | 128 ))
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-2*
|
echo "Nothing to do for premk()"
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-posix*.patch*
|
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts*.patch*
|
|
||||||
mkdir ../build-binutils
|
|
||||||
cd ../build-binutils
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
../binutils*/configure --prefix=/cross-tools \
|
AR=ar \
|
||||||
--host=$HOSTSYS \
|
AS=as \
|
||||||
|
./configure --host=$HOSTSYS \
|
||||||
--target=$TARGET \
|
--target=$TARGET \
|
||||||
|
--prefix=/cross-tools \
|
||||||
|
--with-sysroot=${LFS} \
|
||||||
--with-lib-path=/tools/lib \
|
--with-lib-path=/tools/lib \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-64-bit-bfd
|
--enable-64-bit-bfd
|
||||||
make -j $NUMCPU configure-host
|
make -j $NUMCPU configure-host
|
||||||
|
sed -i "s/\(^MAKEINFO = \).*$/\1\/usr\/bin\/makeinfo/" Makefile
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU install
|
make -j $NUMCPU install
|
||||||
cp -v ../binutils*/include/libiberty.h /tools/include
|
cp -v ../binutils*/include/libiberty.h /tools/include
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
cd ../binutils*
|
echo "Nothing to do for postmk()"
|
||||||
rm -r ../build-binutils
|
|
||||||
}
|
}
|
||||||
|
106
BaseBuild/crosschain/cloog-ppl
Normal file
106
BaseBuild/crosschain/cloog-ppl
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/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.
|
||||||
|
#
|
||||||
|
#Module zur Erstellung des Packetes: cloog-ppl
|
||||||
|
#Quelle der Source Archive: http://cloog.org
|
||||||
|
#Kurzbeschreibung:
|
||||||
|
#Polyhedra support Funktionen.
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Rev$
|
||||||
|
#
|
||||||
|
|
||||||
|
#Pfad zum Basis-Sourcetree :
|
||||||
|
SRCPATH=Base/Lib
|
||||||
|
|
||||||
|
(( MKPKG = $MKPKG | 8 ))
|
||||||
|
(( MKPKG = $MKPKG | 16 ))
|
||||||
|
|
||||||
|
#Wenn das usgepackte Verzeichnis vom Paketnamen unterschiedlich ist
|
||||||
|
#SRCDIR=<PFAD>
|
||||||
|
|
||||||
|
|
||||||
|
premk() {
|
||||||
|
cp -v configure{,.orig}
|
||||||
|
sed -e "/LD_LIBRARY_PATH=/d" \
|
||||||
|
configure.orig >configure
|
||||||
|
}
|
||||||
|
|
||||||
|
mk() {
|
||||||
|
LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
||||||
|
./configure --prefix=/cross-tools \
|
||||||
|
--enable-shared \
|
||||||
|
--with-bits=gmp \
|
||||||
|
--with-gmp=/cross-tools \
|
||||||
|
--with-ppl=/cross-tools
|
||||||
|
|
||||||
|
CheckError "Configurescript failed !" 1
|
||||||
|
|
||||||
|
# Make-Optionen eintragen
|
||||||
|
make -j $NUMCPU
|
||||||
|
CheckError "Makeprocess failed !" 1
|
||||||
|
|
||||||
|
# Make install Optionen eintragen
|
||||||
|
make -j $NUMCPU install
|
||||||
|
CheckError "Make install process failed !" 1
|
||||||
|
}
|
||||||
|
|
||||||
|
postmk() {
|
||||||
|
echo "Nothing to do for postmk()"
|
||||||
|
}
|
@ -1,5 +1,12 @@
|
|||||||
16 crosschain/linux-headers
|
16 crosschain/linux-headers
|
||||||
|
16 crosschain/file
|
||||||
|
16 crosschain/ncurses
|
||||||
|
16 crosschain/gmp
|
||||||
|
16 crosschain/mpfr
|
||||||
|
16 crosschain/mpc
|
||||||
|
16 crosschain/ppl
|
||||||
|
16 crosschain/cloog-ppl
|
||||||
16 crosschain/binutils
|
16 crosschain/binutils
|
||||||
17 crosschain/gcc
|
17 crosschain/gcc
|
||||||
16 crosschain/glibc
|
16 crosschain/eglibc
|
||||||
16 crosschain/gcc
|
16 crosschain/gcc
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user