glibc: misc cosmetic changes.

This commit is contained in:
Juan RP
2012-05-24 14:47:47 +02:00
parent 68e70060ea
commit c9acfc70f3
4 changed files with 15 additions and 26 deletions

View File

@@ -2,13 +2,16 @@
pkgname=glibc
version=2.14.1
revision=7
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.bz2"
depends="base-files libgcc glibc-locales"
makedepends="bison perl"
short_desc="The GNU C library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libc"
license="GPL-2, LGPL-2.1, BSD"
nostrip_files="ld-$version.so libc-$version.so libpthread-$version.so libthread_db-1.0.so"
conf_files="/etc/rpc /etc/ld.so.conf /etc/nsswitch.conf"
subpackages="glibc-devel glibc-locales nscd"
depends="base-files libgcc glibc-locales"
makedepends="bison perl"
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.bz2"
checksum=6e85a2fa3ebe6b28103361f09d27eeda37a021f24dab73f34064456d5a715b3b
long_desc="
The GNU C Library is the standard system C library for all GNU systems,
@@ -17,14 +20,6 @@ long_desc="
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system."
build_requires=19
nostrip_files="ld-${version}.so libc-${version}.so libpthread-${version}.so
libthread_db-1.0.so"
conf_files="/etc/rpc /etc/ld.so.conf /etc/nsswitch.conf"
subpackages="glibc-devel glibc-locales nscd"
do_configure() {
local cflags
@@ -38,13 +33,13 @@ do_configure() {
echo "CFLAGS=$cflags" >> configparms
fi
SHELL=/bin/bash ../configure ${CONFIGURE_SHARED_ARGS} --with-tls \
../configure ${CONFIGURE_SHARED_ARGS} --with-tls \
--enable-add-ons=nptl,libidn \
--enable-multi-arch --with-__thread \
--enable-bind-now --enable-kernel=2.6.27 \
--enable-stack-guard-randomization --disable-profile \
--without-cvs --without-gd --libexecdir=/usr/lib \
--libdir=/usr/lib --with-headers=${XBPS_MASTERDIR}/usr/include
--libdir=/usr/lib --with-headers=/usr/include
}
do_build() {
@@ -57,7 +52,7 @@ do_install() {
echo "include /etc/ld.so.conf.d/*.conf" > ${DESTDIR}/etc/ld.so.conf
cd ${wrksrc}/build
make SHELL=/bin/bash install_root=${DESTDIR} install
make install_root=${DESTDIR} install
# create /etc/default/libc-locales
vinstall ${FILESDIR}/libc-locales 644 etc/default