dev-util/xdelta: Bump old slot to EAPI 7
authorMichał Górny <mgorny@gentoo.org>
Fri, 4 Oct 2019 21:26:51 +0000 (23:26 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 4 Oct 2019 21:35:08 +0000 (23:35 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/xdelta/xdelta-1.1.4-r2.ebuild [new file with mode: 0644]

diff --git a/dev-util/xdelta/xdelta-1.1.4-r2.ebuild b/dev-util/xdelta/xdelta-1.1.4-r2.ebuild
new file mode 100644 (file)
index 0000000..008f5b4
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Computes changes between binary or text files and creates deltas"
+HOMEPAGE="https://xdelta.googlecode.com/"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+       >=sys-libs/zlib-1.1.4:="
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       eapply_user
+       eapply "${FILESDIR}"/${P}-m4.patch
+       eapply "${FILESDIR}"/${P}-glib2.patch
+       eapply "${FILESDIR}"/${P}-pkgconfig.patch
+
+       eautoreconf
+}
+
+src_configure() {
+       tc-export CC
+       default
+}