diff options
-rw-r--r-- | .gitignore | 11 | ||||
-rwxr-xr-x | build | 27 | ||||
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | control | 3 | ||||
-rw-r--r-- | format | 1 | ||||
-rw-r--r-- | keyring.gpg | bin | 0 -> 2222 bytes | |||
-rw-r--r-- | liblzma-dev.pkg/control | 10 | ||||
-rw-r--r-- | liblzma-dev.pkg/files | 4 | ||||
-rw-r--r-- | liblzma.5.pkg/control | 7 | ||||
-rw-r--r-- | liblzma.5.pkg/docs | 0 | ||||
-rw-r--r-- | liblzma.5.pkg/files | 1 | ||||
-rw-r--r-- | source.mk | 19 | ||||
-rw-r--r-- | xz-doc.pkg/control | 11 | ||||
-rw-r--r-- | xz-doc.pkg/files | 2 | ||||
-rw-r--r-- | xz-locales.pkg/control | 10 | ||||
-rw-r--r-- | xz-locales.pkg/files | 1 | ||||
-rw-r--r-- | xz.pkg/control | 8 | ||||
-rw-r--r-- | xz.pkg/files | 12 | ||||
-rw-r--r-- | xzdec.pkg/control | 16 | ||||
-rw-r--r-- | xzdec.pkg/files | 1 |
20 files changed, 149 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..213a9bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +# Swap and backup files +.*.sw* +.sw* +*~ +Session.vim + +# Source archives +*-*.orig.tar.* + +# Work area +tmp/ @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include ../source.mk + +nop: + @: + +configure: + oh-autoconfigure + touch $@ + +build: configure + oh-autobuild + touch $@ + +install: build + oh-autoinstall + mv dest/usr/bin/xz dest/usr/bin/xz.tuk + set -e; \ + for link in unxz xzcat lzma unlzma lzcat; do \ + rm -f "dest/usr/bin/$${link}"; \ + ln -sf xz.tuk "dest/usr/bin/$${link}.tuk"; \ + done + rm -f dest/usr/lib/$(OPK_HOST_ARCH)/liblzma.la + oh-fixperms + oh-strip + oh-installfiles diff --git a/changelog b/changelog new file mode 100644 index 0000000..e4fb76c --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +xz (5.1.3alpha-1) trunk + + * Initial release. + + -- "P. J. McDermott" <pj@pehjota.net> Thu, 08 May 2014 10:37:59 -0400 @@ -0,0 +1,3 @@ +Maintainer: "P. J. McDermott" <pj@pehjota.net> +Build-Depends: opkhelper-3.0, +Homepage: http://tukaani.org/xz/ @@ -0,0 +1 @@ +2.0 diff --git a/keyring.gpg b/keyring.gpg Binary files differnew file mode 100644 index 0000000..cd8c29d --- /dev/null +++ b/keyring.gpg diff --git a/liblzma-dev.pkg/control b/liblzma-dev.pkg/control new file mode 100644 index 0000000..18f8ad0 --- /dev/null +++ b/liblzma-dev.pkg/control @@ -0,0 +1,10 @@ +Architecture: any +Platform: all +Depends: liblzma.5 (= ${Binary-Version}) +Description: XZ and LZMA compression library - development + liblzma is a compression library with an API similar to that of zlib but + without file I/O functions. The native file format is the .xz format, but the + legacy .lzma format used by LZMA Utils and raw compressed streams with no + container format headers are also supported. + . + This package provides development files for the liblzma compression library. diff --git a/liblzma-dev.pkg/files b/liblzma-dev.pkg/files new file mode 100644 index 0000000..3b01619 --- /dev/null +++ b/liblzma-dev.pkg/files @@ -0,0 +1,4 @@ +/usr/include +/usr/lib/*/liblzma.a +/usr/lib/*/liblzma.so +/usr/lib/*/pkgconfig diff --git a/liblzma.5.pkg/control b/liblzma.5.pkg/control new file mode 100644 index 0000000..c732d59 --- /dev/null +++ b/liblzma.5.pkg/control @@ -0,0 +1,7 @@ +Architecture: any +Platform: all +Description: XZ and LZMA compression library + liblzma is a compression library with an API similar to that of zlib but + without file I/O functions. The native file format is the .xz format, but the + legacy .lzma format used by LZMA Utils and raw compressed streams with no + container format headers are also supported. diff --git a/liblzma.5.pkg/docs b/liblzma.5.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/liblzma.5.pkg/docs diff --git a/liblzma.5.pkg/files b/liblzma.5.pkg/files new file mode 100644 index 0000000..5fff720 --- /dev/null +++ b/liblzma.5.pkg/files @@ -0,0 +1 @@ +/usr/lib/*/liblzma.so.5* diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..55d1e02 --- /dev/null +++ b/source.mk @@ -0,0 +1,19 @@ +upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz +upstream_url = http://tukaani.org/$(OPK_SOURCE)/$(upstream_archive) +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz +keys = 69184620 + +$(source_archive): + wget -c '$(upstream_url)' + set -e; if gpg --version >/dev/null 2>&1; then \ + wget -c '$(upstream_url).sig'; \ + [ -e ../keyring.gpg ] || \ + gpg --keyring ../keyring.gpg --no-default-keyring \ + --recv-keys $(keys) || true; \ + rm -f ../keyring.gpg~; \ + gpg --verify --keyring ../keyring.gpg \ + '$(upstream_archive).sig'; \ + fi + mv '$(upstream_archive)' '$(source_archive)' + +source: $(source_archive) diff --git a/xz-doc.pkg/control b/xz-doc.pkg/control new file mode 100644 index 0000000..1632dfc --- /dev/null +++ b/xz-doc.pkg/control @@ -0,0 +1,11 @@ +Architecture: all +Platform: all +Depends: liblzma.5 (= ${Binary-Version}), xz (= ${Binary-Version}) +Description: XZ compression utilities - documentation + xz is a general-purpose data compression tool with command line syntax similar + to gzip and bzip2. The native file format is the .xz format, but the legacy + .lzma format used by LZMA Utils and raw compressed streams with no container + format headers are also supported. + . + This package provides documentation for the XZ compression utilities and + liblzma compression library. diff --git a/xz-doc.pkg/files b/xz-doc.pkg/files new file mode 100644 index 0000000..0815a62 --- /dev/null +++ b/xz-doc.pkg/files @@ -0,0 +1,2 @@ +/usr/share/doc/xz +/usr/share/man diff --git a/xz-locales.pkg/control b/xz-locales.pkg/control new file mode 100644 index 0000000..6f74033 --- /dev/null +++ b/xz-locales.pkg/control @@ -0,0 +1,10 @@ +Architecture: all +Platform: all +Depends: liblzma.5 (= ${Binary-Version}), xz (= ${Binary-Version}) +Description: XZ compression utilities - locales + xz is a general-purpose data compression tool with command line syntax similar + to gzip and bzip2. The native file format is the .xz format, but the legacy + .lzma format used by LZMA Utils and raw compressed streams with no container + format headers are also supported. + . + This package provides locale files for xz. diff --git a/xz-locales.pkg/files b/xz-locales.pkg/files new file mode 100644 index 0000000..94125c7 --- /dev/null +++ b/xz-locales.pkg/files @@ -0,0 +1 @@ +/usr/share/locale diff --git a/xz.pkg/control b/xz.pkg/control new file mode 100644 index 0000000..6bf98c8 --- /dev/null +++ b/xz.pkg/control @@ -0,0 +1,8 @@ +Architecture: any +Platform: all +Depends: liblzma.5 (= ${Binary-Version}) +Description: XZ compression utilities + xz is a general-purpose data compression tool with command line syntax similar + to gzip and bzip2. The native file format is the .xz format, but the legacy + .lzma format used by LZMA Utils and raw compressed streams with no container + format headers are also supported. diff --git a/xz.pkg/files b/xz.pkg/files new file mode 100644 index 0000000..0c7b86e --- /dev/null +++ b/xz.pkg/files @@ -0,0 +1,12 @@ +/usr/bin/xz.tuk +/usr/bin/unxz.tuk +/usr/bin/xzcat.tuk +/usr/bin/lzma.tuk +/usr/bin/unlzma.tuk +/usr/bin/lzcat.tuk +/usr/bin/*cmp +/usr/bin/*diff +/usr/bin/*grep +/usr/bin/*info +/usr/bin/*less +/usr/bin/*more diff --git a/xzdec.pkg/control b/xzdec.pkg/control new file mode 100644 index 0000000..2e33127 --- /dev/null +++ b/xzdec.pkg/control @@ -0,0 +1,16 @@ +Architecture: any +Platform: all +Depends: liblzma.5 (= ${Binary-Version}) +Description: Small XZ decompression utilities + xzdec is a liblzma-based decompression-only tool for .xz (and only .xz) files. + xzdec is intended to work as a drop-in replacement for xz in the most common + situations where a script has been written to use "xz --decompress --stdout" + (and possibly a few other commonly used options) to decompress .xz files. + lzmadec is identical to xzdec except that lzmadec supports .lzma files instead + of .xz files. + . + To reduce the size of the executable, xzdec doesn't support multithreading or + localization, and doesn't read options from XZ_DEFAULTS and XZ_OPT environment + variables. xzdec doesn't support displaying intermediate progress information: + sending SIGINFO to xzdec does nothing, but sending SIGUSR1 terminates the + process instead of displaying progress information. diff --git a/xzdec.pkg/files b/xzdec.pkg/files new file mode 100644 index 0000000..c35c918 --- /dev/null +++ b/xzdec.pkg/files @@ -0,0 +1 @@ +/usr/bin/*dec |