public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.5.4_beta.ebuild libarchive-2.5.3_beta.ebuild libarchive-2.5.1_beta.ebuild libarchive-2.5.0_beta.ebuild libarchive-2.4.5.ebuild libarchive-2.4.14.ebuild
@ 2008-05-26 12:17 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2008-05-26 12:17 UTC (permalink / raw
  To: gentoo-commits

flameeyes    08/05/26 12:17:20

  Modified:             ChangeLog
  Added:                libarchive-2.5.4_beta.ebuild
  Removed:              libarchive-2.5.3_beta.ebuild
                        libarchive-2.5.1_beta.ebuild
                        libarchive-2.5.0_beta.ebuild
                        libarchive-2.4.5.ebuild libarchive-2.4.14.ebuild
  Log:
  Version bump (with patch), and cleanup old versions.
  (Portage version: 2.1.5.2)

Revision  Changes    Path
1.26                 app-arch/libarchive/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.25&r2=1.26

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog	5 May 2008 14:27:07 -0000	1.25
+++ ChangeLog	26 May 2008 12:17:19 -0000	1.26
@@ -1,6 +1,15 @@
 # ChangeLog for app-arch/libarchive
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.25 2008/05/05 14:27:07 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.26 2008/05/26 12:17:19 flameeyes Exp $
+
+*libarchive-2.5.4_beta (26 May 2008)
+
+  26 May 2008; Diego Pettenò <flameeyes@gentoo.org>
+  +files/libarchive-2.5.4b-glibc.patch, -libarchive-2.4.5.ebuild,
+  -libarchive-2.4.14.ebuild, -libarchive-2.5.0_beta.ebuild,
+  -libarchive-2.5.1_beta.ebuild, -libarchive-2.5.3_beta.ebuild,
+  +libarchive-2.5.4_beta.ebuild:
+  Version bump (with patch), and cleanup old versions.
 
 *libarchive-2.5.3_beta (05 May 2008)
 



1.1                  app-arch/libarchive/libarchive-2.5.4_beta.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.5.4_beta.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.5.4_beta.ebuild?rev=1.1&content-type=text/plain

Index: libarchive-2.5.4_beta.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.5.4_beta.ebuild,v 1.1 2008/05/26 12:17:19 flameeyes Exp $

MY_P="${P/_beta/b}"

inherit eutils libtool toolchain-funcs

DESCRIPTION="BSD tar command"
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="build static acl xattr kernel_linux"

RDEPEND="!dev-libs/libarchive
	kernel_linux? (
		acl? ( sys-apps/acl )
		xattr? ( sys-apps/attr )
	)
	!static? ( !build? (
		app-arch/bzip2
		sys-libs/zlib ) )"
DEPEND="${RDEPEND}
	kernel_linux? ( sys-fs/e2fsprogs
		virtual/os-headers )"

S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}/${MY_P}-glibc.patch"

	elibtoolize
	epunt_cxx
}

src_compile() {
	local myconf

	if ! use static && ! use build ; then
		myconf="--enable-bsdtar=shared --enable-bsdcpio=shared"
	fi

	econf --bindir=/bin \
		--enable-bsdtar --enable-bsdcpio \
		$(use_enable acl) $(use_enable xattr) \
		${myconf} \
		--disable-dependency-tracking || die "econf failed."

	emake || die "emake failed."
}

src_install() {
	emake -j1 DESTDIR="${D}" install || die "emake install failed."

	# Create tar symlink for FreeBSD
	if [[ ${CHOST} == *-freebsd* ]]; then
		dosym bsdtar /bin/tar
		dosym bsdtar.1 /usr/share/man/man1/tar.1
		# We may wish to switch to symlink bsdcpio to cpio too one day
	fi

	dodoc NEWS README

	if use build; then
		rm -rf "${D}"/usr
		rm -rf "${D}"/lib/*.so*
		return 0
	fi

	dodir /$(get_libdir)
	mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
	gen_usr_ldscript libarchive.so
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-26 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 12:17 [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.5.4_beta.ebuild libarchive-2.5.3_beta.ebuild libarchive-2.5.1_beta.ebuild libarchive-2.5.0_beta.ebuild libarchive-2.4.5.ebuild libarchive-2.4.14.ebuild Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox