[Lunar-commits] bzip2: Enable optiona large file support

Stefan Wold ratler at lunar-linux.org
Thu Dec 13 08:57:48 CET 2007


commit f090ee3e1b942c1f0736184e41d2811a585fc2a6
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Thu Dec 13 08:57:48 2007 +0100

    bzip2: Enable optiona large file support
---
 archive/bzip2/BUILD     |    4 ++++
 archive/bzip2/CONFIGURE |    1 +
 archive/bzip2/DETAILS   |    4 ++--
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/archive/bzip2/BUILD b/archive/bzip2/BUILD
index a42e45c..c354a8a 100644
--- a/archive/bzip2/BUILD
+++ b/archive/bzip2/BUILD
@@ -1,5 +1,9 @@
 (
 
+  if [ "$ENABLE_LARGEFILE" == "y" ]; then
+    CFLAGS+=" \$(BIGFILES)"
+  fi
+
   sedit "s/^CFLAGS=.*$/CFLAGS=$CFLAGS -fPIC/" Makefile  &&
   sedit "s/ln/ln -f/" Makefile     &&
   sedit "s/\$(PREFIX)\/man/\$(PREFIX)\/share\/man/g" Makefile  &&
diff --git a/archive/bzip2/CONFIGURE b/archive/bzip2/CONFIGURE
new file mode 100644
index 0000000..4a657d8
--- /dev/null
+++ b/archive/bzip2/CONFIGURE
@@ -0,0 +1 @@
+mquery ENABLE_LARGEFILE "Enable large file support?" y
diff --git a/archive/bzip2/DETAILS b/archive/bzip2/DETAILS
index 16e34be..3320999 100644
--- a/archive/bzip2/DETAILS
+++ b/archive/bzip2/DETAILS
@@ -5,13 +5,13 @@
       SOURCE_VFY=sha1:f2388ec8f2c506e02aa89e67577b3c6331cbaa4c
         WEB_SITE=http://www.bzip.org/
          ENTERED=20020218
-         UPDATED=20070112
+         UPDATED=20071213
            SHORT="High-quality data compressor"
 
 cat << EOF
 Bzip2 is a freely available, patent free (see below), high-quality data
 compressor. It typically compresses files to within 10% to 15% of the
 best available techniques (the PPM family of statistical compressors),
-whilst being around twice as fast at compression and six times faster 
+whilst being around twice as fast at compression and six times faster
 at decompression.
 EOF


More information about the Lunar-commits mailing list