1 # hdw - linux glibc package
3 # author: hackbard@hackdaworld.dyndns.org
7 ## [D] glibc-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
8 # [D] glibc.tar.bz2 cvs:anoncvs:sources.redhat.com:cvs/glibc:libc
12 [ "$ver" = "cvs" ] && extraver=""
14 confopt="$confopt --enable-add-ons=nptl --disable-profile --with-tls"
15 confopt="$confopt --libexecdir=$root/tmp/pt_chown --without-cvs"
16 confopt="$confopt --with-headers=/${s1_prefix}/glibc-kernheaders"
19 echo "creating some files needed for build ..."
21 [ ! -f $root/etc/ld.so.conf ] && touch $root/etc/ld.so.conf
22 [ ! -c /dev/null ] && mknod -m 0666 /dev/null c 1 3
23 echo "done (file creating)"
27 # create and change to seperated build directory
28 mkdir -p ../glibc-build &&
31 # configure and prepare Makefile
32 ../${srcdir}${extraver}/configure $confopt
35 make && make install && make localedata/install-locales