glibc: converted to subpkgs, don't build/install all locales.
--HG-- extra : convert_revision : 808d308c646e2c8e07e97435983ef377a64ad5da
This commit is contained in:
parent
b063ab2b54
commit
f788c5f3f6
|
@ -0,0 +1 @@
|
|||
glibc
|
|
@ -0,0 +1 @@
|
|||
glibc
|
|
@ -0,0 +1 @@
|
|||
glibc
|
|
@ -0,0 +1 @@
|
|||
glibc
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'glibc-base'.
|
||||
#
|
||||
short_desc="${short_desc} (base files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} base programs and libraries."
|
||||
|
||||
conf_files="/etc/localtime /etc/ld.so.cache /etc/ld.so.conf /etc/rpc
|
||||
/etc/nsswitch.conf"
|
||||
run_depends="glibc-libs-${version}"
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mv ${origdir}/etc ${destdir}
|
||||
mv ${origdir}/sbin ${destdir}
|
||||
mv ${origdir}/usr/bin ${destdir}/usr
|
||||
mv ${origdir}/usr/sbin ${destdir}/usr
|
||||
mv ${origdir}/usr/lib/getconf ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/pt_chown ${destdir}/usr/lib
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'glibc-dev'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
run_depends="glibc-libs-${version}"
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/include ${destdir}/usr
|
||||
mv ${origdir}/usr/lib/*.a ${destdir}/usr/lib
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'glibc-libs'.
|
||||
#
|
||||
short_desc="${short_desc} (libraries)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains only the ${sourcepkg} shared libraries."
|
||||
run_depends="xbps-base-dirs-1.0"
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/lib
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mv ${origdir}/lib/*.*o* ${destdir}/lib
|
||||
mv ${origdir}/usr/lib/*.*o* ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/gconv ${destdir}/usr/lib
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'glibc-locale'.
|
||||
#
|
||||
short_desc="${short_desc} (locales)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} locale files, for non US users."
|
||||
run_depends=
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/i18n ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/locale ${destdir}/usr/share
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
# Template file for 'glibc'
|
||||
pkgname=glibc
|
||||
sourcepkg=glibc
|
||||
version=2.9
|
||||
glibc_snapdate=20090209
|
||||
wrksrc="$pkgname-$version-$glibc_snapdate"
|
||||
|
@ -10,8 +11,7 @@ configure_args="--with-tls -disable-profile --with-__thread
|
|||
--enable-kernel=2.6.16 --enable-add-ons --without-gd --enable-bind-now
|
||||
--without-cvs --without-selinux --infodir=/usr/share/info
|
||||
--libdir=/usr/lib --libexecdir=/usr/lib"
|
||||
make_install_target="install_root=$XBPS_DESTDIR/$pkgname-$version install
|
||||
localedata/install-locales"
|
||||
make_install_target="install_root=$XBPS_DESTDIR/$pkgname-$version install"
|
||||
short_desc="The GNU C library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=d5ae995e8a90ffa6ed05e213f3ce4c5c36322be551f0001cf0904fd46e040a73
|
||||
|
@ -22,11 +22,9 @@ long_desc="
|
|||
as C++ and Objective C; the runtime facilities of other programming
|
||||
languages use the C library to access the underlying operating system."
|
||||
|
||||
conf_files="/etc/localtime /etc/ld.so.cache /etc/ld.so.conf /etc/rpc
|
||||
/etc/nsswitch.conf"
|
||||
base_chroot=yes
|
||||
build_depends="gcc-4.3.2 gawk-3.1.6"
|
||||
run_depends="xbps-base-dirs-0.1"
|
||||
subpackages="base dev libs locale"
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue