From: Michael Tremer Date: Sat, 28 Feb 2009 13:10:22 +0000 (+0100) Subject: Updated lzma package to xz utils. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5a0f29fc694561827255523fae5f7cbdb0205b9;p=ipfire-3.x.git Updated lzma package to xz utils. --- diff --git a/lfs/lzma b/lfs/xz similarity index 68% rename from lfs/lzma rename to lfs/xz index 69920c5fa..2104f6ed4 100644 --- a/lfs/lzma +++ b/lfs/xz @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007, 2008, 2009 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 # @@ -24,43 +24,66 @@ include Config -PKG_NAME = lzma -PKG_VER = 457 +PKG_NAME = xz +PKG_VER = 4.999.8beta +PKG_REL = 0 THISAPP = $(PKG_NAME)$(PKG_VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.gz DIR_APP = $(DIR_SRC)/$(THISAPP) OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +MAINTAINER = +GROUP = Applications/Compression +EXTRA = no +DEBUG = no +DEPS = + +URL = http://tukaani.org/xz/ +LICENSE = GPLv2+ +SHORT_DESC = LZMA Utils. + +define LONG_DESC + LZMA provides very high compression ratio and fast decompression. The \ + core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual \ + LZMA encoder/decoder. LZMA utils add a few scripts which provide \ + gzip-like command line interface and a couple of other LZMA related \ + tools. +endef + ############################################################################### # Top-level Rules ############################################################################### objects = $(DL_FILE) -install : $(OBJECT) +download: $(objects) + +info: + $(DO_PKG_INFO) -download : $(objects) +install: $(OBJECT) -$(objects) : +package: + @$(DO_PACKAGE) + +$(objects): @$(LOAD) ############################################################################### # Installation Details ############################################################################### -$(OBJECT) : +$(OBJECT): $(objects) @$(PREBUILD) - @rm -rf $(DIR_SRC)/$(THISAPP) && mkdir $(DIR_SRC)/$(THISAPP) - @cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) -C $(THISAPP) - - cd $(DIR_APP) && make -C CPP/7zip/Compress/LZMA_Alone \ - -f makefile.gcc $(PARALLELISMFLAGS) CXX="g++ $(CXXFLAGS)" CXX_C="gcc $(CFLAGS)" - - install -m 755 \ - $(DIR_APP)/CPP/7zip/Compress/LZMA_Alone/lzma \ - /usr/bin/lzma_sdk - + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --disable-static + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD)