summaryrefslogtreecommitdiffstats
path: root/glibc/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-22 20:20:20 +0000
committerpiernov <piernov@piernov.org>2012-02-22 20:20:20 +0000
commit4267483b1507c9aaeb4e8733335a63de702344ac (patch)
treef1200a42192bfbd84cc474d55c76c82b27f515c1 /glibc/Pkgfile
parentd5fe66f2fb82fc0485961293e669a363e2edba7b (diff)
downloadnutyx-pakxe-4267483b1507c9aaeb4e8733335a63de702344ac.tar.gz
nutyx-pakxe-4267483b1507c9aaeb4e8733335a63de702344ac.tar.bz2
nutyx-pakxe-4267483b1507c9aaeb4e8733335a63de702344ac.tar.xz
nutyx-pakxe-4267483b1507c9aaeb4e8733335a63de702344ac.zip
glibc 2.14.1-1 màj port
Diffstat (limited to 'glibc/Pkgfile')
-rwxr-xr-xglibc/Pkgfile64
1 files changed, 30 insertions, 34 deletions
diff --git a/glibc/Pkgfile b/glibc/Pkgfile
index 17509606d..3d318afd6 100755
--- a/glibc/Pkgfile
+++ b/glibc/Pkgfile
@@ -4,61 +4,57 @@
# Packager:thierryn1 at hispeed dot ch
name=glibc
-version=2.13
+version=2.14.1
release=1
-kernelversion=2.6.38.1
-
-source=( http://ftp.gnu.org/gnu/glibc/$name-$version.tar.bz2 \
- http://www.kernel.org/pub/linux/kernel/v2.6/linux-${kernelversion}.tar.bz2 \
- http://nutyx.meticul.eu/files/patchs/$name/{nsswitch.conf,ld.so.conf,SUPPORTED} \
- http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-gcc_fix-1.patch \
- http://nutyx.meticul.eu/files/patchs/$name/glibc-2.12.1-static-shared-getpagesize.patch )
+kernelversion=3.2.7
+source=(http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz
+ http://www.kernel.org/pub/linux/kernel/v3.x/linux-${kernelversion}.tar.xz
+ http://nutyx.meticul.eu/files/patchs/$name/{nsswitch.conf,ld.so.conf,SUPPORTED} \
+ http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-{gcc_fix,fixes,cpuid}-1.patch \
+ http://nutyx.meticul.eu/files/patchs/$name/glibc-2.12.1-static-shared-getpagesize.patch)
build() {
# install build kernel headers
- mkdir $PKG/usr/
- cd linux-$kernelversion
- sed -i '/scsi/d' include/Kbuild
- make mrproper
- make headers_check
- make INSTALL_HDR_PATH=$PKG/usr headers_install
- cd ..
- # install glibc
- cd $name-$version
+ mkdir $PKG/usr/
+ cd linux-$kernelversion
+ sed -i '/scsi/d' include/Kbuild
+ make mrproper
+ make headers_check
+ make INSTALL_HDR_PATH=$PKG/usr headers_install
+ cd ..
+
+ # install glibc
+ cd $name-$version
patch -Np1 -i ../glibc-$version-gcc_fix-1.patch
- patch -Np1 -i $SRC/glibc-2.12.1-static-shared-getpagesize.patch
-
+ patch -Np1 -i ../glibc-$version-fixes-1.patch
+ patch -Np1 -i ../glibc-$version-cpuid-1.patch
+ patch -Np1 -i $SRC/glibc-2.12.1-static-shared-getpagesize.patch
sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in
-
mv ../SUPPORTED localedata/
mkdir -v ../glibc-build
- cd ../glibc-build
+ cd ../glibc-build
case `uname -m` in
- i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms ;;
+ i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms ;;
esac
../$name-$version/configure --prefix=/usr \
- --with-headers=$PKG/usr/include \
+ --with-headers=$PKG/usr/include \
--disable-profile \
- --enable-add-ons \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
+ --enable-add-ons \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
--enable-kernel=2.6.18 \
- --libexecdir=/usr/lib/glibc
+ --libexecdir=/usr/lib/glibc
make
make install_root=$PKG install
- make install_root=$PKG localedata/install-locales
- cp ../{nsswitch.conf,ld.so.conf} $PKG/etc
+ make install_root=$PKG localedata/install-locales
+ cp ../{nsswitch.conf,ld.so.conf} $PKG/etc
if [ -f $PKG/usr/share/info/dir ]; then
rm $PKG/usr/share/info/dir
fi
- for i in drm.h drm_sarea.h i915_drm.h \
- mga_drm.h r128_drm.h radeon_drm.h savage_drm.h \
- sis_drm.h via_drm.h drm_mode.h nouveau_drm.h
- do rm $PKG/usr/include/drm/$i
- done
+ rm $PKG/usr/include/drm/{drm.h,drm_sarea.h,i915_drm.h,mga_drm.h,r128_drm.h,radeon_drm.h,savage_drm.h,sis_drm.h,via_drm.h,drm_mode.h,nouveau_drm.h}
}