From db85f6bd42f42c0a1aec62ae080faf3fafaf6598 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Tue, 21 Mar 2017 16:28:25 +0500 Subject: app-arch/qpress: new package. This package required as runtime dependency for dev-db/percona-xtrabackup. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4270 --- app-arch/qpress/Manifest | 1 + app-arch/qpress/files/makefile | 6 ++++++ app-arch/qpress/metadata.xml | 15 +++++++++++++++ app-arch/qpress/qpress-1.1.ebuild | 26 ++++++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 app-arch/qpress/Manifest create mode 100644 app-arch/qpress/files/makefile create mode 100644 app-arch/qpress/metadata.xml create mode 100644 app-arch/qpress/qpress-1.1.ebuild (limited to 'app-arch') diff --git a/app-arch/qpress/Manifest b/app-arch/qpress/Manifest new file mode 100644 index 000000000000..1a77e8d1d802 --- /dev/null +++ b/app-arch/qpress/Manifest @@ -0,0 +1 @@ +DIST qpress-11-source.zip 26998 SHA256 4bb66b1383bbc4c5490eec6088d37109e11205fb9f94ccd04cb84ec069829633 SHA512 986754cca8bb2cdcfc7e197f7e123c6b2da90db840642a6385f14613f49f7ec6b2c18944838405fe35d5382d71fcd5d69050a036dda4c5de2e588d144e16ea6b WHIRLPOOL b8ee4274da850091dfc2be520870530f9d1208f1791d5649df6856dfa2e7e6a500e1cc9c08cbcb64160f4a40137676af6d1820b862112e878f191da21d7f60fd diff --git a/app-arch/qpress/files/makefile b/app-arch/qpress/files/makefile new file mode 100644 index 000000000000..63c1f91b3943 --- /dev/null +++ b/app-arch/qpress/files/makefile @@ -0,0 +1,6 @@ +CXX ?= g++ +CXXFLAGS ?= -O3 +LIBS=-lpthread + +qpress: + $(CXX) $(CXXFLAGS) qpress.cpp aio.cpp quicklz.c utilities.cpp -o $@ $(LIBS) diff --git a/app-arch/qpress/metadata.xml b/app-arch/qpress/metadata.xml new file mode 100644 index 000000000000..f326e2195f06 --- /dev/null +++ b/app-arch/qpress/metadata.xml @@ -0,0 +1,15 @@ + + + + + azamat.hackimov@gmail.com + Azamat H. Hackimov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + A portable file archiver using QuickLZ algorithm. + + diff --git a/app-arch/qpress/qpress-1.1.ebuild b/app-arch/qpress/qpress-1.1.ebuild new file mode 100644 index 000000000000..e7787c7973a5 --- /dev/null +++ b/app-arch/qpress/qpress-1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A portable file archiver using QuickLZ algorithm" +HOMEPAGE="http://www.quicklz.com/" +SRC_URI="http://www.quicklz.com/${PN}-${PV/./}-source.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +src_prepare() { + default + + # Fix compilation with newer gcc + sed -i '1i #include ' qpress.cpp || die + cp "${FILESDIR}/makefile" "${S}" || die +} + +src_install() { + dobin ${PN} +} -- cgit v1.2.3-65-gdbad