diff --git a/packages/devel/eglibc/config/gai.conf b/packages/devel/glibc/config/gai.conf similarity index 100% rename from packages/devel/eglibc/config/gai.conf rename to packages/devel/glibc/config/gai.conf diff --git a/packages/devel/eglibc/config/host.conf b/packages/devel/glibc/config/host.conf similarity index 100% rename from packages/devel/eglibc/config/host.conf rename to packages/devel/glibc/config/host.conf diff --git a/packages/devel/eglibc/config/nsswitch.conf b/packages/devel/glibc/config/nsswitch.conf similarity index 100% rename from packages/devel/eglibc/config/nsswitch.conf rename to packages/devel/glibc/config/nsswitch.conf diff --git a/packages/devel/eglibc/package.mk b/packages/devel/glibc/package.mk similarity index 68% rename from packages/devel/eglibc/package.mk rename to packages/devel/glibc/package.mk index 782a353698..c20cc5b011 100644 --- a/packages/devel/eglibc/package.mk +++ b/packages/devel/glibc/package.mk @@ -16,25 +16,25 @@ # along with OpenELEC. If not, see . ################################################################################ -PKG_NAME="eglibc" -PKG_VERSION="2.19-25249" +PKG_NAME="glibc" +PKG_VERSION="2.19" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" -PKG_SITE="http://www.eglibc.org/" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_SITE="http://www.gnu.org/software/libc/" +PKG_URL="ftp://ftp.gnu.org/pub/gnu/glibc/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS_TARGET="ccache:host autotools:host autoconf:host linux:host gcc:bootstrap" -PKG_DEPENDS_INIT="eglibc" +PKG_DEPENDS_INIT="glibc" PKG_PRIORITY="optional" PKG_SECTION="toolchain/devel" -PKG_SHORTDESC="eglibc: The Embedded GNU C library" -PKG_LONGDESC="The Embedded GLIBC (EGLIBC) is a variant of the GNU C Library (GLIBC) that is designed to work well on embedded systems. EGLIBC strives to be source and binary compatible with GLIBC. EGLIBC's goals include reduced footprint, configurable components, better support for cross-compilation and cross-testing. In contrast to what Ulrich Drepper makes out of GLIBC, in EGLIBC all patches assigned to the FSF will be considered regardless of individual or company affiliation and cooperation is encouraged, as well as communication, civility, and respect among developers." +PKG_SHORTDESC="glibc: The GNU C library" +PKG_LONGDESC="The Glibc package contains the main C library. This library provides the basic routines for allocating memory, searching directories, opening and closing files, reading and writing files, string handling, pattern matching, arithmetic, and so on." PKG_IS_ADDON="no" PKG_AUTORECONF="no" PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \ - --libexecdir=/usr/lib/eglibc \ + --libexecdir=/usr/lib/glibc \ --cache-file=config.cache \ --disable-profile \ --disable-sanity-checks \ @@ -57,15 +57,14 @@ if [ "$DEBUG" = yes ]; then PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-debug" else PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-debug" - DEBUG_OPTIONS=" OPTION_EGLIBC_MEMUSAGE = n" fi NSS_CONF_DIR="$PKG_BUILD/nss" -EGLIBC_EXCLUDE_BIN="catchsegv getconf iconv iconvconfig ldconfig lddlibc4" -EGLIBC_EXCLUDE_BIN="$EGLIBC_EXCLUDE_BIN localedef makedb mtrace pcprofiledump" -EGLIBC_EXCLUDE_BIN="$EGLIBC_EXCLUDE_BIN pldd rpcgen sln sotruss sprof tzselect" -EGLIBC_EXCLUDE_BIN="$EGLIBC_EXCLUDE_BIN xtrace zdump zic" +GLIBC_EXCLUDE_BIN="catchsegv gencat getconf iconv iconvconfig ldconfig lddlibc4" +GLIBC_EXCLUDE_BIN="$GLIBC_EXCLUDE_BIN localedef makedb mtrace pcprofiledump" +GLIBC_EXCLUDE_BIN="$GLIBC_EXCLUDE_BIN pldd rpcgen sln sotruss sprof tzselect" +GLIBC_EXCLUDE_BIN="$GLIBC_EXCLUDE_BIN xtrace zdump zic" pre_build_target() { cd $PKG_BUILD @@ -78,7 +77,7 @@ pre_configure_target() { # Fails to compile with GCC's link time optimization. strip_lto -# eglibc dont support GOLD linker. +# glibc dont support GOLD linker. strip_gold # Filter out some problematic *FLAGS @@ -103,49 +102,6 @@ pre_configure_target() { export BUILD_CC=$HOST_CC export OBJDUMP_FOR_HOST=objdump -# create configuration -cat >option-groups.config <config.cache <