glibc: sources, kernel version and drm headers
- sources are available form gnu.org now, but libcidn got removed so we have to fetch it additionaly - we set --enable-kernel to 2.6.27 which is the new kernel version with long time support, see ticket #448 - the drm headers provided by the kernel are incomplete, we switch back to use the headers from libdrm
This commit is contained in:
parent
ff4c1cb6cf
commit
3a75375296
@ -264,19 +264,6 @@ drwxr-xr-x root/root usr/include/bits/
|
||||
-rw-r--r-- root/root usr/include/ctype.h
|
||||
-rw-r--r-- root/root usr/include/dirent.h
|
||||
-rw-r--r-- root/root usr/include/dlfcn.h
|
||||
drwxr-xr-x root/root usr/include/drm/
|
||||
-rw-r--r-- root/root usr/include/drm/drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/drm_mode.h
|
||||
-rw-r--r-- root/root usr/include/drm/drm_sarea.h
|
||||
-rw-r--r-- root/root usr/include/drm/i810_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/i830_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/i915_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/mga_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/r128_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/radeon_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/savage_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/sis_drm.h
|
||||
-rw-r--r-- root/root usr/include/drm/via_drm.h
|
||||
-rw-r--r-- root/root usr/include/elf.h
|
||||
-rw-r--r-- root/root usr/include/endian.h
|
||||
-rw-r--r-- root/root usr/include/envz.h
|
||||
|
@ -1,7 +1,8 @@
|
||||
28720af9d8d8dd03fe7bfecc0fe68c0a glibc-2.10.1-1.tar.bz2
|
||||
ee71dedf724dc775e4efec9b823ed3be glibc-2.10.1.tar.bz2
|
||||
8ef88560ec608d5923ee05eb5f0e15ea glibc-libidn-2.10.1.tar.bz2
|
||||
96156bec8e05de67384dc93e72bdc313 host.conf
|
||||
fbbc215a9b15ba4846f326cc88108057 hosts
|
||||
a5c937c5ebe98cd2a6c3368e4515693e kernel-headers-2.6.29.tar.bz2
|
||||
5f7ed4c03538a0ed1c5243fa38d96a4f kernel-headers-2.6.29-1.tar.bz2
|
||||
f7fefce570a3c776e26e778c5e401490 ld.so.conf
|
||||
75931315bf9bc9be15a5e25e4ddd5f0d nsswitch.conf
|
||||
acf9daad1ee85de5efd3543965596a63 resolv.conf
|
||||
|
@ -4,30 +4,35 @@
|
||||
|
||||
name=glibc
|
||||
version=2.10.1
|
||||
release=1
|
||||
source=(http://crux.nu/files/distfiles/glibc-$version-1.tar.bz2
|
||||
http://crux.nu/files/distfiles/kernel-headers-2.6.29.tar.bz2
|
||||
release=2
|
||||
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.bz2
|
||||
http://ftp.gnu.org/gnu/glibc/glibc-libidn-$version.tar.bz2
|
||||
http://crux.nu/files/distfiles/kernel-headers-2.6.29-1.tar.bz2
|
||||
hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
|
||||
|
||||
build() {
|
||||
# install build kernel headers
|
||||
# install kernel headers
|
||||
mkdir $PKG/usr/
|
||||
cp -r kernel-headers-2.6.29/include $PKG/usr
|
||||
chown root:root $PKG/usr
|
||||
|
||||
# libidn files
|
||||
mv $name-libidn-$version $name-$version/libidn
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
../$name-$version/configure --prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-headers=$PKG/usr/include \
|
||||
--with-tls \
|
||||
--enable-kernel=2.6.16 \
|
||||
--enable-kernel=2.6.27 \
|
||||
--enable-add-ons \
|
||||
--disable-profile \
|
||||
--without-gd
|
||||
make
|
||||
#make check
|
||||
make install_root=$PKG install
|
||||
|
||||
cp $SRC/{hosts,resolv.conf,nsswitch.conf,host.conf,ld.so.conf} $PKG/etc
|
||||
ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
|
||||
mkdir -p $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
|
||||
|
Loading…
Reference in New Issue
Block a user