summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-11-24 20:33:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-11-24 20:33:49 +0000
commitc7747a417df474b61c3561cdab83d897dbefd0f8 (patch)
tree70472a8b3d806bb8b172434e816ce92415849dcf /app-arch
parentVersion bump. Removed old (diff)
downloadgentoo-2-c7747a417df474b61c3561cdab83d897dbefd0f8.tar.gz
gentoo-2-c7747a417df474b61c3561cdab83d897dbefd0f8.tar.bz2
gentoo-2-c7747a417df474b61c3561cdab83d897dbefd0f8.zip
gen_usr_ldscript -a lzma
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/xz-utils/ChangeLog9
-rw-r--r--app-arch/xz-utils/xz-utils-5.0.4-r1.ebuild71
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild7
3 files changed, 83 insertions, 4 deletions
diff --git a/app-arch/xz-utils/ChangeLog b/app-arch/xz-utils/ChangeLog
index fc4bce1894cf..456b5e41cfbd 100644
--- a/app-arch/xz-utils/ChangeLog
+++ b/app-arch/xz-utils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-arch/xz-utils
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.52 2012/11/09 19:38:22 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.53 2012/11/24 20:33:49 ssuominen Exp $
+
+*xz-utils-5.0.4-r1 (24 Nov 2012)
+
+ 24 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +xz-utils-5.0.4-r1.ebuild, xz-utils-9999.ebuild:
+ Use gen_usr_ldscript -a lzma to move liblzma.so.$version from /usr to /
+ for sys-apps/kmod wrt #443710
09 Nov 2012; Fabian Groffen <grobian@gentoo.org> xz-utils-5.0.4.ebuild:
Run elibtoolize to allow Solaris/x64 to build shared libs
diff --git a/app-arch/xz-utils/xz-utils-5.0.4-r1.ebuild b/app-arch/xz-utils/xz-utils-5.0.4-r1.ebuild
new file mode 100644
index 000000000000..659f22bce438
--- /dev/null
+++ b/app-arch/xz-utils/xz-utils-5.0.4-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.4-r1.ebuild,v 1.1 2012/11/24 20:33:49 ssuominen Exp $
+
+# Remember: we cannot leverage autotools in this ebuild in order
+# to avoid circular deps with autotools
+
+EAPI="4"
+
+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
+ inherit libtool
+ MY_P="${PN/-utils}-${PV/_}"
+ SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~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
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="utils for managing LZMA compressed files"
+HOMEPAGE="http://tukaani.org/xz/"
+
+LICENSE="LGPL-2.1"
+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}"
+
+if [[ ${PV} == "9999" ]] ; then
+src_prepare() {
+ eautopoint
+ eautoreconf
+}
+else
+src_prepare() {
+ elibtoolize # to allow building shared libs on Solaris/x64
+}
+fi
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable threads) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ gen_usr_ldscript -a lzma
+ 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
index 0191244adc6e..080cf71044ca 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-9999.ebuild,v 1.12 2012/09/14 02:24:09 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-9999.ebuild,v 1.13 2012/11/24 20:33:49 ssuominen Exp $
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
@@ -20,7 +20,7 @@ else
EXTRA_DEPEND=
fi
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="utils for managing LZMA compressed files"
HOMEPAGE="http://tukaani.org/xz/"
@@ -51,7 +51,8 @@ src_configure() {
src_install() {
default
- find "${ED}"/usr/ -name liblzma.la -delete || die # dependency_libs=''
+ gen_usr_ldscript -a lzma
+ prune_libtool_files --all
rm "${ED}"/usr/share/doc/xz/COPYING* || die
mv "${ED}"/usr/share/doc/{xz,${PF}} || die
}