jcapik pushed to bzip2 (master). "Adding STAGE1 bootstrap recipe"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Jun 10 14:16:03 UTC 2015
From eaa1c65547e8eb8e4cd4b8898cd3817499c2ee72 Mon Sep 17 00:00:00 2001
From: Jaromir Capik <jcapik at redhat.com>
Date: Wed, 10 Jun 2015 16:10:18 +0200
Subject: Adding STAGE1 bootstrap recipe
diff --git a/STAGE1-bzip2 b/STAGE1-bzip2
new file mode 100644
index 0000000..f47a3f7
--- /dev/null
+++ b/STAGE1-bzip2
@@ -0,0 +1,27 @@
+srpm bzip2
+mcd $BUILDDIR/bzip2
+rsync -av $SRC/bzip2-*/ ./
+make $J \
+ CC=${TARGET}-gcc \
+ AR=${TARGET}-ar \
+ RANLIB=${TARGET}-ranlib \
+ PREFIX=/usr \
+ CFLAGS="$CFLAGS -fpic -fPIC" \
+ libbz2.a bzip2 bzip2recover
+if [ "$SUFFIX" = "64" ]
+then
+ ARGS="BITS=64"
+fi
+make $J $ARGS \
+ CC=${TARGET}-gcc \
+ AR=${TARGET}-ar \
+ RANLIB=${TARGET}-ranlib \
+ PREFIX=${ROOTFS}/usr \
+ install
+# the installation makes symbols links with our host's paths
+# in them, we need to redo those.
+cd $ROOTFS/usr/bin
+rm bzless; ln -s bzmore bzless
+rm bzfgrep; ln -s bzgrep bzfgrep
+rm bzcmp; ln -s bzdiff bzcmp
+rm bzegrep; ln -s bzgrep bzegrep
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/bzip2.git/commit/?h=master&id=eaa1c65547e8eb8e4cd4b8898cd3817499c2ee72
More information about the scm-commits
mailing list