glibc: misc cosmetic changes.
This commit is contained in:
parent
68e70060ea
commit
c9acfc70f3
4 changed files with 15 additions and 26 deletions
|
@ -1,13 +1,11 @@
|
|||
# Template file for 'glibc-devel'.
|
||||
#
|
||||
depends="kernel-libc-headers>=3.2.6<3.3 glibc>=2.14.1_5"
|
||||
depends="kernel-libc-headers>=3.2.6<3.3 glibc>=$version"
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development: headers, static libs, etc."
|
||||
|
||||
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'glibc-locales'.
|
||||
#
|
||||
noarch=yes
|
||||
conf_files="/etc/default/libc-locales"
|
||||
short_desc="${short_desc} (locales)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} locale files, for non US users."
|
||||
|
||||
conf_files="/etc/default/libc-locales"
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove etc/default etc
|
||||
vmove usr/share/i18n usr/share
|
||||
|
|
|
@ -1,16 +1,13 @@
|
|||
# Template file for 'nscd'.
|
||||
#
|
||||
systemd_services="nscd.service on"
|
||||
conf_files="/etc/nscd.conf"
|
||||
short_desc="Name Service Cache Daemon"
|
||||
long_desc="
|
||||
This package contains nscd, a daemon that provides a cache for the
|
||||
most common name service requests."
|
||||
|
||||
systemd_services="nscd.service on"
|
||||
conf_files="/etc/nscd.conf"
|
||||
|
||||
|
||||
do_install()
|
||||
{
|
||||
do_install() {
|
||||
vmove usr/sbin/nscd usr/sbin
|
||||
vinstall ${FILESDIR}/nscd.service 644 lib/systemd/system
|
||||
vinstall ${FILESDIR}/nscd.socket 644 lib/systemd/system
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue