summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-09-14 02:24:09 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-09-14 02:24:09 +0000
commita42896f5b7836ac253596047e5974e4a96d79333 (patch)
tree2a6b0c404d5a1c6513cd2f670306e5c2ab68347b /app-arch/xz-utils
parentadd stable release, most deps still have no stable but moving in the right di... (diff)
downloadgentoo-2-a42896f5b7836ac253596047e5974e4a96d79333.tar.gz
gentoo-2-a42896f5b7836ac253596047e5974e4a96d79333.tar.bz2
gentoo-2-a42896f5b7836ac253596047e5974e4a96d79333.zip
added prefix support (bug #434854)
(Portage version: 2.2.0_alpha127/cvs/Linux i686)
Diffstat (limited to 'app-arch/xz-utils')
-rw-r--r--app-arch/xz-utils/ChangeLog6
-rw-r--r--app-arch/xz-utils/xz-utils-5.0.4.ebuild20
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild16
3 files changed, 21 insertions, 21 deletions
diff --git a/app-arch/xz-utils/ChangeLog b/app-arch/xz-utils/ChangeLog
index 41ff8eb247ed..d8a307c279b3 100644
--- a/app-arch/xz-utils/ChangeLog
+++ b/app-arch/xz-utils/ChangeLog
@@ -1,6 +1,10 @@
# 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.50 2012/09/09 15:59:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.51 2012/09/14 02:24:09 ottxor Exp $
+
+ 14 Sep 2012; Christoph Junghans <ottxor@gentoo.org> xz-utils-5.0.4.ebuild,
+ xz-utils-9999.ebuild:
+ added prefix support (bug #434854)
09 Sep 2012; Raúl Porcel <armin76@gentoo.org> xz-utils-5.0.4.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #431846
diff --git a/app-arch/xz-utils/xz-utils-5.0.4.ebuild b/app-arch/xz-utils/xz-utils-5.0.4.ebuild
index 659820bf2d65..30cea1775ffb 100644
--- a/app-arch/xz-utils/xz-utils-5.0.4.ebuild
+++ b/app-arch/xz-utils/xz-utils-5.0.4.ebuild
@@ -1,11 +1,11 @@
# 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.ebuild,v 1.7 2012/09/09 15:59:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.4.ebuild,v 1.8 2012/09/14 02:24:09 ottxor Exp $
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
-EAPI="2"
+EAPI="4"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
else
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"
+ 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
@@ -50,18 +50,16 @@ src_configure() {
}
src_install() {
- emake install DESTDIR="${D}" || die
- find "${D}"/usr/ -name liblzma.la -delete || die # dependency_libs=''
- rm "${D}"/usr/share/doc/xz/COPYING* || die
- mv "${D}"/usr/share/doc/{xz,${PF}} || die
- prepalldocs
- dodoc AUTHORS ChangeLog NEWS README THANKS
+ default
+ find "${ED}"/usr/ -name liblzma.la -delete || die # dependency_libs=''
+ 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.so.0
+ preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/liblzma.so.0
+ 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 547b4e2e724e..0191244adc6e 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -1,11 +1,11 @@
# 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.11 2012/05/17 04:05:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-9999.ebuild,v 1.12 2012/09/14 02:24:09 ottxor Exp $
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
-EAPI="2"
+EAPI="4"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
else
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"
+ 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
@@ -50,10 +50,8 @@ src_configure() {
}
src_install() {
- emake install DESTDIR="${D}" || die
- find "${D}"/usr/ -name liblzma.la -delete || die # dependency_libs=''
- rm "${D}"/usr/share/doc/xz/COPYING* || die
- mv "${D}"/usr/share/doc/{xz,${PF}} || die
- prepalldocs
- dodoc AUTHORS ChangeLog NEWS README THANKS
+ default
+ find "${ED}"/usr/ -name liblzma.la -delete || die # dependency_libs=''
+ rm "${ED}"/usr/share/doc/xz/COPYING* || die
+ mv "${ED}"/usr/share/doc/{xz,${PF}} || die
}