diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-arch/xz-utils | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-arch/xz-utils')
-rw-r--r-- | app-arch/xz-utils/Manifest | 5 | ||||
-rw-r--r-- | app-arch/xz-utils/metadata.xml | 5 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.0.5-r1.ebuild | 73 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.0.7.ebuild | 73 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.0.8.ebuild | 73 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.2.0.ebuild | 73 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.2.1-r1.ebuild | 74 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-9999.ebuild | 74 |
8 files changed, 450 insertions, 0 deletions
diff --git a/app-arch/xz-utils/Manifest b/app-arch/xz-utils/Manifest new file mode 100644 index 000000000000..4366d52486ed --- /dev/null +++ b/app-arch/xz-utils/Manifest @@ -0,0 +1,5 @@ +DIST xz-5.0.5.tar.gz 1305685 SHA256 5dcffe6a3726d23d1711a65288de2e215b4960da5092248ce63c99d50093b93a SHA512 dc36f305bc2abf97da8c86e44b661d9ac2d5ed58e89e83f007f49e0d7cf4871d7b6defa51b9348d3f725793517f7ac47de572f6d23212e074c32032dd8357772 WHIRLPOOL 7e95d6d064239ebe6f1231ec8a5a1390e3c5d71863d7e8d1339bed5f20255d750e3f9df953ed7e95ae2b43607aab93747a5a2d948e4bb6745d3adcf7ea25c455 +DIST xz-5.0.7.tar.gz 1317771 SHA256 f4d2165553b9d0d82fd08bc2eacddeb48ebeb862a5686a603f8c044a2e52c93f SHA512 dc2716c2a5d8c8cec0e7034c5dbb8d745196f4e6c8344d5ff164e20fc284d703a93a75d8a062215a2c613f19152d6b996807baf5b7c0e7ff20a5b865d6466ed8 WHIRLPOOL b9b1ce8c1374211e56f0b5a70d35e3ce6e3431d4ddfd45f01f97f44c932b3b372d7b9314d2d024ac51d8e3dd3c997ccedde366cee68a3d5e2dac6d61d7a7d681 +DIST xz-5.0.8.tar.gz 1329117 SHA256 cac71b31ed322a487f1da1f10dfcf47f8855f97ff2c23b92680c7ae7be58babb SHA512 402079001c280e0e957d666da724158b134fd0b17320c4c387413dd2cc88400ea0a7f88819e06de3b35d864f51cb3e3a50495265382cabd6c1080920b4c70847 WHIRLPOOL d8a5748ef85000e81d535a98448fbf4198c59da7183fa8e25d5311b0e122f8b9342d706fceb1a6151a1b40a2a4bc264d4e799c65a89dd5ed80d1fbebf29e5049 +DIST xz-5.2.0.tar.gz 1445562 SHA256 231ef369982240bb20ed7cffa52bb12a4a297ce6871f480ab85e8a7ba98bf3d6 SHA512 dc272d4f8d437bfe22ed75355fcd647018a2514e4b011552c913074c0ae7d306ae2a20f3227895ea8123918088d826b2c5595dc15ba6ba2d8062e780d8707a28 WHIRLPOOL a629c42215c5c8ee366d757a4a08ecf9773aea3422f8c51cf8dffcb74edaab4fa3f760a7a3c11e85564b3a2d6154e06f9a76afc460c1120406539233254caa9e +DIST xz-5.2.1.tar.gz 1454491 SHA256 b918b6648076e74f8d7ae19db5ee663df800049e187259faf5eb997a7b974681 SHA512 61d059c51c7cdbab803d006ee47b0be116fd6ba4ba05b9234c43c8b1d8b0021b44735c1335a911a4bccb8543548563cef16dafd7d76dd8ef6c4f763fc023afc2 WHIRLPOOL d4d90f7230c0880c1c392a2767c398510a69e24c18f5c5947472e108902aebb6e94aad0245f16720c60729a7a50199fb4250ae3f6801a0cc25086e7858c55d19 diff --git a/app-arch/xz-utils/metadata.xml b/app-arch/xz-utils/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/app-arch/xz-utils/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/app-arch/xz-utils/xz-utils-5.0.5-r1.ebuild b/app-arch/xz-utils/xz-utils-5.0.5-r1.ebuild new file mode 100644 index 000000000000..4157eeffabd9 --- /dev/null +++ b/app-arch/xz-utils/xz-utils-5.0.5-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="4" + +inherit eutils multilib toolchain-funcs libtool multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.tukaani.org/xz.git" + inherit git-2 autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +# See top-level COPYING file as it outlines the various pieces and their licenses. +LICENSE="public-domain LGPL-2.1+ GPL-2+" +SLOT="0" +IUSE="nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautopoint + eautoreconf + else + elibtoolize # to allow building shared libs on Solaris/x64 + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}) +} + +multilib_src_install() { + default + multilib_is_native_abi && gen_usr_ldscript -a lzma +} + +multilib_src_install_all() { + prune_libtool_files --all + rm "${ED}"/usr/share/doc/xz/COPYING* || die + mv "${ED}"/usr/share/doc/{xz,${PF}} || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) +} diff --git a/app-arch/xz-utils/xz-utils-5.0.7.ebuild b/app-arch/xz-utils/xz-utils-5.0.7.ebuild new file mode 100644 index 000000000000..f73bba31ba1d --- /dev/null +++ b/app-arch/xz-utils/xz-utils-5.0.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="4" + +inherit eutils multilib toolchain-funcs libtool multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.tukaani.org/xz.git" + inherit git-2 autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +# See top-level COPYING file as it outlines the various pieces and their licenses. +LICENSE="public-domain LGPL-2.1+ GPL-2+" +SLOT="0" +IUSE="nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautopoint + eautoreconf + else + elibtoolize # to allow building shared libs on Solaris/x64 + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}) +} + +multilib_src_install() { + default + multilib_is_native_abi && gen_usr_ldscript -a lzma +} + +multilib_src_install_all() { + prune_libtool_files --all + rm "${ED}"/usr/share/doc/xz/COPYING* || die + mv "${ED}"/usr/share/doc/{xz,${PF}} || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) +} diff --git a/app-arch/xz-utils/xz-utils-5.0.8.ebuild b/app-arch/xz-utils/xz-utils-5.0.8.ebuild new file mode 100644 index 000000000000..d736bdbfc8b3 --- /dev/null +++ b/app-arch/xz-utils/xz-utils-5.0.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="4" + +inherit eutils multilib toolchain-funcs libtool multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.tukaani.org/xz.git" + inherit git-2 autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +# See top-level COPYING file as it outlines the various pieces and their licenses. +LICENSE="public-domain LGPL-2.1+ GPL-2+" +SLOT="0" +IUSE="nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautopoint + eautoreconf + else + elibtoolize # to allow building shared libs on Solaris/x64 + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}) +} + +multilib_src_install() { + default + multilib_is_native_abi && gen_usr_ldscript -a lzma +} + +multilib_src_install_all() { + prune_libtool_files --all + rm "${ED}"/usr/share/doc/xz/COPYING* || die + mv "${ED}"/usr/share/doc/{xz,${PF}} || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) +} diff --git a/app-arch/xz-utils/xz-utils-5.2.0.ebuild b/app-arch/xz-utils/xz-utils-5.2.0.ebuild new file mode 100644 index 000000000000..f73bba31ba1d --- /dev/null +++ b/app-arch/xz-utils/xz-utils-5.2.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="4" + +inherit eutils multilib toolchain-funcs libtool multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.tukaani.org/xz.git" + inherit git-2 autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +# See top-level COPYING file as it outlines the various pieces and their licenses. +LICENSE="public-domain LGPL-2.1+ GPL-2+" +SLOT="0" +IUSE="nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautopoint + eautoreconf + else + elibtoolize # to allow building shared libs on Solaris/x64 + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}) +} + +multilib_src_install() { + default + multilib_is_native_abi && gen_usr_ldscript -a lzma +} + +multilib_src_install_all() { + prune_libtool_files --all + rm "${ED}"/usr/share/doc/xz/COPYING* || die + mv "${ED}"/usr/share/doc/{xz,${PF}} || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) +} diff --git a/app-arch/xz-utils/xz-utils-5.2.1-r1.ebuild b/app-arch/xz-utils/xz-utils-5.2.1-r1.ebuild new file mode 100644 index 000000000000..7c2bae60b2a5 --- /dev/null +++ b/app-arch/xz-utils/xz-utils-5.2.1-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="4" + +inherit eutils multilib toolchain-funcs libtool multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.tukaani.org/xz.git" + inherit git-2 autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +# See top-level COPYING file as it outlines the various pieces and their licenses. +LICENSE="public-domain LGPL-2.1+ GPL-2+" +SLOT="0" +IUSE="elibc_FreeBSD nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautopoint + eautoreconf + else + elibtoolize # to allow building shared libs on Solaris/x64 + fi +} + +multilib_src_configure() { + use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714 + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}) +} + +multilib_src_install() { + default + multilib_is_native_abi && gen_usr_ldscript -a lzma +} + +multilib_src_install_all() { + prune_libtool_files --all + rm "${ED}"/usr/share/doc/xz/COPYING* || die + mv "${ED}"/usr/share/doc/{xz,${PF}} || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) +} diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild new file mode 100644 index 000000000000..da8e29b44d4d --- /dev/null +++ b/app-arch/xz-utils/xz-utils-9999.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="4" + +inherit eutils multilib toolchain-funcs libtool multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://git.tukaani.org/xz.git" + inherit git-2 autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +# See top-level COPYING file as it outlines the various pieces and their licenses. +LICENSE="public-domain LGPL-2.1+ GPL-2+" +SLOT="0" +IUSE="elibc_FreeBSD nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautopoint + eautoreconf + else + elibtoolize # to allow building shared libs on Solaris/x64 + fi +} + +multilib_src_configure() { + use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714 + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}) +} + +multilib_src_install() { + default + multilib_is_native_abi && gen_usr_ldscript -a lzma +} + +multilib_src_install_all() { + prune_libtool_files --all + rm "${ED}"/usr/share/doc/xz/COPYING* || die + mv "${ED}"/usr/share/doc/{xz,${PF}} || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) +} |