]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Add xz.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 14 Feb 2010 17:31:21 +0000 (18:31 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 14 Feb 2010 17:31:21 +0000 (18:31 +0100)
config/rootfiles/common/xz [new file with mode: 0644]
lfs/xz [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/common/xz b/config/rootfiles/common/xz
new file mode 100644 (file)
index 0000000..ef419c5
--- /dev/null
@@ -0,0 +1,80 @@
+usr/bin/lzcat
+usr/bin/lzcmp
+usr/bin/lzdiff
+usr/bin/lzegrep
+usr/bin/lzfgrep
+usr/bin/lzgrep
+usr/bin/lzless
+usr/bin/lzma
+usr/bin/lzmadec
+usr/bin/lzmainfo
+usr/bin/lzmore
+usr/bin/unlzma
+usr/bin/unxz
+usr/bin/xz
+usr/bin/xzcat
+usr/bin/xzcmp
+usr/bin/xzdec
+usr/bin/xzdiff
+usr/bin/xzegrep
+usr/bin/xzfgrep
+usr/bin/xzgrep
+usr/bin/xzless
+usr/bin/xzmore
+#usr/include/lzma
+#usr/include/lzma.h
+#usr/include/lzma/base.h
+#usr/include/lzma/bcj.h
+#usr/include/lzma/block.h
+#usr/include/lzma/check.h
+#usr/include/lzma/container.h
+#usr/include/lzma/delta.h
+#usr/include/lzma/filter.h
+#usr/include/lzma/index.h
+#usr/include/lzma/index_hash.h
+#usr/include/lzma/lzma.h
+#usr/include/lzma/stream_flags.h
+#usr/include/lzma/subblock.h
+#usr/include/lzma/version.h
+#usr/include/lzma/vli.h
+#usr/lib/liblzma.a
+#usr/lib/liblzma.la
+usr/lib/liblzma.so
+usr/lib/liblzma.so.0
+usr/lib/liblzma.so.0.0.0
+#usr/lib/pkgconfig/liblzma.pc
+#usr/share/doc/xz
+#usr/share/doc/xz/AUTHORS
+#usr/share/doc/xz/COPYING
+#usr/share/doc/xz/COPYING.GPLv2
+#usr/share/doc/xz/NEWS
+#usr/share/doc/xz/README
+#usr/share/doc/xz/THANKS
+#usr/share/doc/xz/TODO
+#usr/share/doc/xz/faq.txt
+#usr/share/doc/xz/history.txt
+#usr/share/doc/xz/lzma-file-format.txt
+#usr/share/doc/xz/xz-file-format.txt
+#usr/share/man/man1/lzcat.1
+#usr/share/man/man1/lzcmp.1
+#usr/share/man/man1/lzdiff.1
+#usr/share/man/man1/lzegrep.1
+#usr/share/man/man1/lzfgrep.1
+#usr/share/man/man1/lzgrep.1
+#usr/share/man/man1/lzless.1
+#usr/share/man/man1/lzma.1
+#usr/share/man/man1/lzmadec.1
+#usr/share/man/man1/lzmainfo.1
+#usr/share/man/man1/lzmore.1
+#usr/share/man/man1/unlzma.1
+#usr/share/man/man1/unxz.1
+#usr/share/man/man1/xz.1
+#usr/share/man/man1/xzcat.1
+#usr/share/man/man1/xzcmp.1
+#usr/share/man/man1/xzdec.1
+#usr/share/man/man1/xzdiff.1
+#usr/share/man/man1/xzegrep.1
+#usr/share/man/man1/xzfgrep.1
+#usr/share/man/man1/xzgrep.1
+#usr/share/man/man1/xzless.1
+#usr/share/man/man1/xzmore.1
diff --git a/lfs/xz b/lfs/xz
new file mode 100644 (file)
index 0000000..4845227
--- /dev/null
+++ b/lfs/xz
@@ -0,0 +1,79 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 4.999.9beta
+
+THISAPP    = xz-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+
+TARGET = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = cc4044fcc073b8bcf3164d1d0df82161
+
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 6b3e2b0a6936292cf35812a1c282c38cabbf40f9..84e6cfdd55913a6c9f44ff98bce1efe170344980 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -340,6 +340,7 @@ buildipfire() {
   ipfiremake pptp
   ipfiremake unzip
   ipfiremake which
   ipfiremake pptp
   ipfiremake unzip
   ipfiremake which
+  ipfiremake xz
 #  ipfiremake linux                    XEN=1
 #  ipfiremake kqemu                    XEN=1
 #  #ipfiremake kvm-kmod                        XEN=1
 #  ipfiremake linux                    XEN=1
 #  ipfiremake kqemu                    XEN=1
 #  #ipfiremake kvm-kmod                        XEN=1