xz: update to 5.0.0, provide liblzma{,-devel} subpkgs. Bump abi_depends.
--HG-- rename : srcpkgs/xz/xz-devel.template => srcpkgs/xz/liblzma-devel.template
This commit is contained in:
parent
1a2dc1d0d7
commit
cce5ca5f2b
8 changed files with 55 additions and 38 deletions
1
srcpkgs/liblzma
Symbolic link
1
srcpkgs/liblzma
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
xz
|
1
srcpkgs/liblzma-devel
Symbolic link
1
srcpkgs/liblzma-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
xz
|
|
@ -1,2 +1,2 @@
|
||||||
abi_depends=">=4.999.9"
|
abi_depends=">=5.0.0"
|
||||||
api_depends="${abi_depends}"
|
api_depends="${abi_depends}"
|
||||||
|
|
25
srcpkgs/xz/liblzma-devel.template
Normal file
25
srcpkgs/xz/liblzma-devel.template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'liblzma-devel'.
|
||||||
|
#
|
||||||
|
short_desc="XZ-format compression library - development files"
|
||||||
|
long_desc="
|
||||||
|
XZ is the successor to the Lempel-Ziv/Markov-chain Algorithm compression
|
||||||
|
format, which provides memory-hungry but powerful compression (often better
|
||||||
|
than bzip2) and fast, easy decompression.
|
||||||
|
|
||||||
|
The native format of liblzma is XZ; it also supports raw (headerless) streams
|
||||||
|
and the older LZMA format used by lzma.
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
replaces="xz-devel>=0"
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run liblzma
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/liblzma.*a ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
}
|
20
srcpkgs/xz/liblzma.template
Normal file
20
srcpkgs/xz/liblzma.template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'liblzma'.
|
||||||
|
#
|
||||||
|
short_desc="XZ-format compression library"
|
||||||
|
long_desc="
|
||||||
|
XZ is the successor to the Lempel-Ziv/Markov-chain Algorithm compression
|
||||||
|
format, which provides memory-hungry but powerful compression (often better
|
||||||
|
than bzip2) and fast, easy decompression.
|
||||||
|
|
||||||
|
The native format of liblzma is XZ; it also supports raw (headerless) streams
|
||||||
|
and the older LZMA format used by lzma."
|
||||||
|
|
||||||
|
replaces="xz<5.0.0"
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
install -d ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/liblzma.so* ${DESTDIR}/usr/lib
|
||||||
|
}
|
|
@ -1,13 +1,11 @@
|
||||||
# Template file for 'xz'
|
# Template file for 'xz'
|
||||||
pkgname=xz
|
pkgname=xz
|
||||||
version=4.999.9
|
version=5.0.0
|
||||||
revision=2
|
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
|
||||||
wrksrc=${pkgname}-${version}beta
|
|
||||||
distfiles="http://tukaani.org/xz/xz-${version}beta.tar.bz2"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="XZ utilities"
|
short_desc="XZ utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c
|
checksum=47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8
|
||||||
long_desc="
|
long_desc="
|
||||||
LZMA is a general purporse compression algorithm designed by Igor
|
LZMA is a general purporse compression algorithm designed by Igor
|
||||||
Pavlov as part of 7-Zip. It provides high compression ratio while
|
Pavlov as part of 7-Zip. It provides high compression ratio while
|
||||||
|
@ -19,20 +17,13 @@ long_desc="
|
||||||
of the most popular existing compression algorithms.
|
of the most popular existing compression algorithms.
|
||||||
|
|
||||||
XZ Utils consist of a few relatively separate parts:
|
XZ Utils consist of a few relatively separate parts:
|
||||||
* liblzma is an encoder/decoder library with support for several
|
|
||||||
filters (algorithm implementations). The primary filter is
|
|
||||||
LZMA.
|
|
||||||
* libzfile (or whatever the name will be) enables reading from
|
|
||||||
and writing to gzip, bzip2 and LZMA compressed and uncompressed
|
|
||||||
files with an API similar to the standard ANSI-C file I/O.
|
|
||||||
[ NOTE: libzfile is not implemented yet. ]
|
|
||||||
* xz command line tool has almost identical syntax than gzip
|
* xz command line tool has almost identical syntax than gzip
|
||||||
and bzip2. It makes LZMA easy for average users, but also
|
and bzip2. It makes LZMA easy for average users, but also
|
||||||
provides advanced options to finetune the compression settings.
|
provides advanced options to finetune the compression settings.
|
||||||
* A few shell scripts make diffing and grepping LZMA compressed
|
* A few shell scripts make diffing and grepping LZMA compressed
|
||||||
files easy. The scripts were adapted from gzip and bzip2."
|
files easy. The scripts were adapted from gzip and bzip2."
|
||||||
|
|
||||||
replaces="lzma-utils>=0 lzma-utils-libs>=0"
|
subpackages="liblzma liblzma-devel"
|
||||||
subpackages="xz-devel"
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run libstdc++
|
Add_dependency run liblzma
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
# Template file for 'xz-devel'.
|
|
||||||
#
|
|
||||||
short_desc="${short_desc} (development files)"
|
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
replaces="lzma-utils-devel>=0"
|
|
||||||
revision=2
|
|
||||||
|
|
||||||
Add_dependency run glibc-devel
|
|
||||||
Add_dependency run libstdc++-devel
|
|
||||||
Add_dependency run xz
|
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/liblzma.*a ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
||||||
}
|
|
|
@ -161,7 +161,7 @@ libcrack.so cracklib cracklib-devel
|
||||||
libpam.so pam pam-devel
|
libpam.so pam pam-devel
|
||||||
libpam_misc.so pam pam-devel
|
libpam_misc.so pam pam-devel
|
||||||
libcap.so libcap libcap-devel
|
libcap.so libcap libcap-devel
|
||||||
liblzma.so xz xz-devel
|
liblzma.so liblzma liblzma-devel
|
||||||
libuuid.so libuuid libuuid-devel
|
libuuid.so libuuid libuuid-devel
|
||||||
libblkid.so libblkid libblkid-devel
|
libblkid.so libblkid libblkid-devel
|
||||||
libeinfo.so OpenRC OpenRC-devel
|
libeinfo.so OpenRC OpenRC-devel
|
||||||
|
|
Loading…
Reference in a new issue