[arch-commits] Commit in uclibc/repos (3 files)
Thomas Bächler
thomas at archlinux.org
Tue Sep 22 09:14:05 UTC 2009
Date: Tuesday, September 22, 2009 @ 05:14:05
Author: thomas
Revision: 52639
Merged revisions 44618,52634,52638 via svnmerge from
svn+ssh://archlinux.org/srv/svn-packages/uclibc/trunk
........
r44618 | thomas | 2009-07-02 23:35:00 +0200 (Do, 02 Jul 2009) | 2 lines
Add config file with rpc enabled
........
r52634 | thomas | 2009-09-22 10:42:32 +0200 (Di, 22 Sep 2009) | 2 lines
Set Id keyword on uclibc PKGBUILDs
........
r52638 | thomas | 2009-09-22 11:13:40 +0200 (Di, 22 Sep 2009) | 2 lines
upgpkg: uclibc 0.9.30.1-3
Split uclibc into uclibc and uclibc-runtime
........
Added:
uclibc/repos/testing-x86_64/config
(from rev 52638, uclibc/trunk/config)
Modified:
uclibc/repos/testing-x86_64/ (properties)
uclibc/repos/testing-x86_64/PKGBUILD (contents, properties)
----------+
PKGBUILD | 49 +++++++++++--
config | 215 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 254 insertions(+), 10 deletions(-)
Property changes on: uclibc/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /uclibc/trunk:1-41907
+ /uclibc/trunk:1-52638
Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2009-09-22 09:13:40 UTC (rev 52638)
+++ testing-x86_64/PKGBUILD 2009-09-22 09:14:05 UTC (rev 52639)
@@ -1,16 +1,22 @@
-# $Id: $
+# $Id$
# Maintainer: Jan de Groot <jgc at archlinux.org>
-pkgname=uclibc
+pkgbase=uclibc
+pkgname=('uclibc-runtime' 'uclibc')
pkgver=0.9.30.1
-pkgrel=1
-pkgdesc="C library for developing embedded Linux systems"
+pkgrel=3
arch=(i686 x86_64)
url="http://www.uclibc.org/"
license=('LGPL')
+makedepeds=('gcc-uclibc')
source=(http://www.uclibc.org/downloads/uClibc-${pkgver}.tar.bz2
0.9.30-branch.patch
- unifdef.patch)
+ unifdef.patch
+ config)
+sha256sums=('2d9769a02c46cff73f56a076268192da1ce91c913e2e4e31c120be098f704c8c'
+ 'c35bccadb0a4b1d6fb07aa0e57501d42a06d01e4a6df303c217a928d8c23d457'
+ '33fc925de237ddcb70ee01a587ee360ba1e202c2ccffb73c1d510dfbdb017e35'
+ '706c6f91a12311c2baba8b70c9f1e7fda1360d51c97c5da5ac0608a0e541aa04')
build() {
cd "${srcdir}/uClibc-${pkgver}"
@@ -24,20 +30,43 @@
patch -Np1 -i "${srcdir}/unifdef.patch" || return 1
cd ..
patch -Np1 -i "${srcdir}/0.9.30-branch.patch" || return 1
- make defconfig || return 1
- sed -e 's|linux-uclibc/usr/|linux-uclibc/|' \
- -e 's|linux-uclibc|unknown-linux-uclibc|' \
- -i .config || return 1
+ cp "${srcdir}/config" .config
make || return 1
+}
+
+package_uclibc-runtime() {
+ pkgdesc="C library for developing embedded Linux systems - runtime libraries"
+ options=(!emptydirs)
+ cd "${srcdir}/uClibc-${pkgver}"
+ _thost="${CHOST/gnu/uclibc}"
+ if [ "${CARCH}" = "x86_64" ]; then
+ _ld="ld64-uClibc"
+ else
+ _ld="ld-uClibc"
+ fi
make DESTDIR="${pkgdir}" install || return 1
+ find "${pkgdir}/" -not -name '*.so*' -not -type d -exec rm -f {} \;
mkdir "${pkgdir}/lib"
mv "${pkgdir}/usr/x86_64-unknown-linux-uclibc/lib/${_ld}-${pkgver}.so" \
"${pkgdir}/lib/" || return 1
ln -s ld64-uClibc-${pkgver}.so "${pkgdir}/lib/${_ld}.so.0" || return 1
ln -s /lib/${_ld}-${pkgver}.so "${pkgdir}/usr/${_thost}/lib/" || return 1
+}
+package_uclibc() {
+ pkgdesc="C library for developing embedded Linux systems"
+ depends=('uclibc-runtime')
+ cd "${srcdir}/uClibc-${pkgver}"
+ _thost="${CHOST/gnu/uclibc}"
+ if [ "${CARCH}" = "x86_64" ]; then
+ _ld="ld64-uClibc"
+ else
+ _ld="ld-uClibc"
+ fi
+ make DESTDIR="${pkgdir}" install || return 1
+ find "${pkgdir}/" -name '*.so*' -not -type d -exec rm -f {} \;
+
ln -s /usr/include/{asm,asm-generic,linux,mtd,rdma,sound,video} "${pkgdir}/usr/${_thost}/include/" || return 1
-
ln -s include "${pkgdir}/usr/${_thost}/sys-include" || return 1
}
Property changes on: uclibc/repos/testing-x86_64/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Copied: uclibc/repos/testing-x86_64/config (from rev 52638, uclibc/trunk/config)
===================================================================
--- testing-x86_64/config (rev 0)
+++ testing-x86_64/config 2009-09-22 09:14:05 UTC (rev 52639)
@@ -0,0 +1,215 @@
+#
+# Automatically generated make config: don't edit
+# Version: 0.9.30.1
+# Sat Jun 20 15:52:53 2009
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_avr32 is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# TARGET_e1 is not set
+# TARGET_frv is not set
+# TARGET_h8300 is not set
+# TARGET_hppa is not set
+# TARGET_i386 is not set
+# TARGET_i960 is not set
+# TARGET_ia64 is not set
+# TARGET_m68k is not set
+# TARGET_microblaze is not set
+# TARGET_mips is not set
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# TARGET_sh64 is not set
+# TARGET_sparc is not set
+# TARGET_v850 is not set
+# TARGET_vax is not set
+TARGET_x86_64=y
+# TARGET_xtensa is not set
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="x86_64"
+FORCE_OPTIONS_FOR_ARCH=y
+TARGET_SUBARCH=""
+
+#
+# Using ELF file format
+#
+ARCH_LITTLE_ENDIAN=y
+
+#
+# Using Little Endian
+#
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+# DO_C99_MATH is not set
+# UCLIBC_HAS_FENV is not set
+KERNEL_HEADERS="/usr/include"
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# ARCH_HAS_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+LDSO_LDD_SUPPORT=y
+# LDSO_CACHE_SUPPORT is not set
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+# UCLIBC_STATIC_LDCONFIG is not set
+LDSO_RUNPATH=y
+UCLIBC_CTOR_DTOR=y
+# LDSO_GNU_HASH_SUPPORT is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+# PTHREADS_DEBUG_SUPPORT is not set
+LINUXTHREADS_OLD=y
+UCLIBC_HAS_SYSLOG=y
+# UCLIBC_HAS_LFS is not set
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+# MALLOC_GLIBC_COMPAT is not set
+UCLIBC_DYNAMIC_ATEXIT=y
+# COMPAT_ATEXIT is not set
+# UCLIBC_SUSV3_LEGACY is not set
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
+# UCLIBC_HAS_STUBS is not set
+# UCLIBC_HAS_SHADOW is not set
+# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
+# UCLIBC_HAS_PTY is not set
+UCLIBC_HAS_GETPT=y
+# UCLIBC_HAS_TM_EXTENSIONS is not set
+# UCLIBC_HAS_TZ_CACHING is not set
+# UCLIBC_HAS_TZ_FILE is not set
+
+#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+
+#
+# Support various families of functions
+#
+UCLIBC_LINUX_MODULE_24=y
+UCLIBC_LINUX_SPECIFIC=y
+UCLIBC_HAS_GNU_ERROR=y
+UCLIBC_BSD_SPECIFIC=y
+UCLIBC_HAS_BSD_ERR=y
+# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
+# UCLIBC_NTP_LEGACY is not set
+# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_HAS_REALTIME=y
+UCLIBC_HAS_ADVANCED_REALTIME=y
+UCLIBC_HAS_EPOLL=y
+UCLIBC_HAS_XATTR=y
+UCLIBC_HAS_PROFILING=y
+UCLIBC_HAS_CRYPT_IMPL=y
+UCLIBC_HAS_CRYPT=y
+UCLIBC_HAS_NETWORK_SUPPORT=y
+UCLIBC_HAS_SOCKET=y
+UCLIBC_HAS_IPV4=y
+UCLIBC_HAS_IPV6=y
+UCLIBC_HAS_RPC=y
+# UCLIBC_HAS_FULL_RPC is not set
+# UCLIBC_HAS_REENTRANT_RPC is not set
+# UCLIBC_USE_NETLINK is not set
+# UCLIBC_HAS_BSD_RES_CLOSE is not set
+
+#
+# String and Stdio Support
+#
+# UCLIBC_HAS_STRING_GENERIC_OPT is not set
+UCLIBC_HAS_STRING_ARCH_OPT=y
+UCLIBC_HAS_CTYPE_TABLES=y
+UCLIBC_HAS_CTYPE_SIGNED=y
+UCLIBC_HAS_CTYPE_UNSAFE=y
+# UCLIBC_HAS_CTYPE_CHECKED is not set
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+# UCLIBC_HAS_WCHAR is not set
+# UCLIBC_HAS_LOCALE is not set
+# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
+# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
+# USE_OLD_VFPRINTF is not set
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
+# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
+UCLIBC_HAS_STDIO_GETC_MACRO=y
+UCLIBC_HAS_STDIO_PUTC_MACRO=y
+UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
+# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
+# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
+# UCLIBC_HAS_PRINTF_M_SPEC is not set
+UCLIBC_HAS_ERRNO_MESSAGES=y
+# UCLIBC_HAS_SYS_ERRLIST is not set
+UCLIBC_HAS_SIGNUM_MESSAGES=y
+# UCLIBC_HAS_SYS_SIGLIST is not set
+UCLIBC_HAS_GNU_GETOPT=y
+UCLIBC_HAS_GNU_GETSUBOPT=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+UCLIBC_HAS_REGEX_OLD=y
+UCLIBC_HAS_FNMATCH=y
+UCLIBC_HAS_FNMATCH_OLD=y
+# UCLIBC_HAS_WORDEXP is not set
+# UCLIBC_HAS_FTW is not set
+UCLIBC_HAS_GLOB=y
+# UCLIBC_HAS_GNU_GLOB is not set
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
+RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-unknown-linux-uclibc/"
+DEVEL_PREFIX="/usr/$(TARGET_ARCH)-unknown-linux-uclibc/"
+
+#
+# Security options
+#
+# UCLIBC_HAS_ARC4RANDOM is not set
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+# UCLIBC_BUILD_NOW is not set
+UCLIBC_BUILD_NOEXECSTACK=y
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set
+# UCLIBC_MALLOC_DEBUGGING is not set
+WARNINGS="-Wall"
+# EXTRA_WARNINGS is not set
+# DOMULTI is not set
+# UCLIBC_MJN3_ONLY is not set
More information about the arch-commits
mailing list