diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-01-30 06:04:16 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-01-30 06:04:16 +0000 |
commit | d5b36f432eae985fe6271f080c55c35d6bd69dd1 (patch) | |
tree | ecd58a8b7983e67a9790e55ccbffac5e0a047f9e /app-portage | |
parent | Bump (diff) | |
download | gentoo-2-d5b36f432eae985fe6271f080c55c35d6bd69dd1.tar.gz gentoo-2-d5b36f432eae985fe6271f080c55c35d6bd69dd1.tar.bz2 gentoo-2-d5b36f432eae985fe6271f080c55c35d6bd69dd1.zip |
Bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/deltup/ChangeLog | 10 | ||||
-rw-r--r-- | app-portage/deltup/deltup-0.4.5.ebuild | 60 |
2 files changed, 67 insertions, 3 deletions
diff --git a/app-portage/deltup/ChangeLog b/app-portage/deltup/ChangeLog index 401d867ecc7f..8f636d66c7be 100644 --- a/app-portage/deltup/ChangeLog +++ b/app-portage/deltup/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-portage/deltup -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/deltup/ChangeLog,v 1.25 2012/12/27 06:46:36 pinkbyte Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/deltup/ChangeLog,v 1.26 2013/01/30 06:04:16 patrick Exp $ + +*deltup-0.4.5 (30 Jan 2013) + + 30 Jan 2013; Patrick Lauer <patrick@gentoo.org> +deltup-0.4.5.ebuild: + Bump 27 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> deltup-0.4.4.ebuild, +files/deltup-0.4.4-gcc47.patch: @@ -93,4 +98,3 @@ New ebuild thanks to Alexander Jenisch <nt-@gmx.de> in bug 66790, thanks to Nicolai Lissner <nlissne@linux01.gwdg.de> for getdelta and ebuild mirroring and to Torsten Veller <torsten@veller.net> for previous ebuild enhancements - diff --git a/app-portage/deltup/deltup-0.4.5.ebuild b/app-portage/deltup/deltup-0.4.5.ebuild new file mode 100644 index 000000000000..97c0a453a2ba --- /dev/null +++ b/app-portage/deltup/deltup-0.4.5.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/deltup/deltup-0.4.5.ebuild,v 1.1 2013/01/30 06:04:16 patrick Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Delta-Update - patch system for updating source-archives." +HOMEPAGE="http://deltup.sourceforge.net" +SRC_URI="http://deltup.org/e107_files/downloads//${P}.tar.gz + http://www.bzip.org/1.0.2/bzip2-1.0.2.tar.gz + http://www.bzip.org/1.0.3/bzip2-1.0.3.tar.gz" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-libs/openssl + sys-libs/zlib + >=app-arch/bzip2-1.0.0" +RDEPEND="${DEPEND} + || ( dev-util/bdelta =dev-util/xdelta-1* ) + >=app-arch/bzip2-1.0.4" + +src_prepare () { + cd "${WORKDIR}"/bzip2-1.0.2 + epatch "${FILESDIR}"/bzip2-1.0.2-makefile-CFLAGS.patch + cd "${WORKDIR}"/bzip2-1.0.3 + epatch "${FILESDIR}"/bzip2-1.0.3-makefile-CFLAGS.patch + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.4.4-gcc47.patch + epatch "${FILESDIR}"/${PN}-0.4.4-zlib-1.2.5.2.patch +} + +src_compile () { + emake CXX=$(tc-getCXX) || die "emake getdelta failed" + + cd "${WORKDIR}"/bzip2-1.0.2 + local makeopts=" + CC=$(tc-getCC) + AR=$(tc-getAR) + RANLIB=$(tc-getRANLIB)" + append-flags -static + emake ${makeopts} bzip2 || die "emake bzip2 failed" + mv bzip2 bzip2_1.0.2 + + cd "${WORKDIR}"/bzip2-1.0.3 + append-flags -static + emake ${makeopts} bzip2 || die "emake bzip2 failed" + mv bzip2 bzip2_1.0.3 +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog + doman deltup.1 + dobin "${WORKDIR}"/bzip2-1.0.2/bzip2_1.0.2 + dobin "${WORKDIR}"/bzip2-1.0.3/bzip2_1.0.3 +} |