summaryrefslogtreecommitdiff
path: root/content/glibc-2.3.2.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-09-04 00:26:22 +0000
committerChris Larson <clarson@kergoth.com>2003-09-04 00:26:22 +0000
commitffb5b6e8b6785d2c856dba6a9182ccff2bef5cf3 (patch)
treee56cb8f4ae60a35ad9609a7ab0d4c46266416b57 /content/glibc-2.3.2.oe
parent8a6ed144a1c0f7c4fd949da7701b2d5767e7afa9 (diff)
Miscellanious build fixes, due to our adding -e to make flags, and due to oeconf->oe_runconf and oemake->oe_runamke.
BKrev: 3f5686aeaD7nKBnwcSgw065VXSxC3w
Diffstat (limited to 'content/glibc-2.3.2.oe')
-rw-r--r--content/glibc-2.3.2.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/content/glibc-2.3.2.oe b/content/glibc-2.3.2.oe
index e69de29bb2..21b2ef2bcc 100644
--- a/content/glibc-2.3.2.oe
+++ b/content/glibc-2.3.2.oe
@@ -0,0 +1,37 @@
+DESCRIPTION="GNU C Library"
+LICENSE="LGPL"
+SECTION="libs"
+DEPENDS="content/kernel-headers"
+RDEPENDS=""
+PRIORITY=required
+MAINTAINER="Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI="ftp://ftp.gnu.org/gnu/glibc/${P}.tar.gz ftp://ftp.gnu.org/pub/gnu/libc/glibc-linuxthreads-${PV}.tar.gz file://${FILESDIR}/${P}-200304020432.patch;patch=1 file://${FILESDIR}/sedscript.patch;patch=1 file://${FILESDIR}/noinfo.patch;patch=1"
+PROVIDES=virtual/libc
+
+S="${WORKDIR}/${P}"
+builddir="${WORKDIR}/build-${SYS}"
+EXTRA_OECONF="--with-elf --disable-profile --enable-add-ons=linuxthreads --with-elf --enable-shared --with-headers=${STAGING_DIR}/target/include --without-cvs --enable-kernel=2.4.6"
+
+PACKAGES="libc6"
+FILES=""
+FILES_libc6="/lib/libc.so.6"
+
+do_unpack() {
+ set -e
+ base_do_unpack $@
+ test -d ${S}
+ mv ${WORKDIR}/linuxthreads{,_db} ${S}/
+}
+
+do_compile() {
+ set -e
+ mkdir -p ${builddir}
+ cd ${builddir}
+ base_do_compile $@
+}
+
+do_install() {
+ set -e
+ ${MAKE} install_root=${D} install
+}