From ec453cc45227b52d2527d6ca6e30eca5fb31188b Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Sun, 23 Apr 2017 17:58:07 +0300 Subject: [PATCH] add app-cdr/ecm --- app-cdr/ecm/Manifest | 2 ++ app-cdr/ecm/ecm-1.0.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app-cdr/ecm/Manifest create mode 100644 app-cdr/ecm/ecm-1.0.0.ebuild diff --git a/app-cdr/ecm/Manifest b/app-cdr/ecm/Manifest new file mode 100644 index 0000000..1462ade --- /dev/null +++ b/app-cdr/ecm/Manifest @@ -0,0 +1,2 @@ +DIST ecm100.zip 24150 SHA256 1d0d19666f46d9a2fc7e534f52475e80a274e93bdd3c010a75fe833f8188b425 SHA512 49c8cb7ed8a099507dcc247416cd190500bab6402dcbda322d08575db78f31dbaccf4ce6c0f45e640aa5e59ebc58ceb71e573b1f1934b22a0cbf4be8b66a0aa5 WHIRLPOOL af28f98efa981d437a12cef35570e7058db5f5c025db861fc3904c12fcb7459c20af6b245811523cb1577f425888bc44395d839115f230a3682e31ddb9a1127b +EBUILD ecm-1.0.0.ebuild 796 SHA256 62e4a69d058b5e25eda8d3485de39353e6fca4ad06f04c66ee22535675748355 SHA512 af56c40ba4dae1366ec18649e385d3d3adaaf284f39ada9e8b1137d856450ff01b68bbe8fedfbeff145f283c89cea4e6379bf15ab32bbc8fe09a78c4e407b4bf WHIRLPOOL 455a48d271d6b79d5952903453400589b70619c359b4748f8e748cf609a100121ba7717cbb17f52ce9d9521804aadfd8342ae99958a051cd9cdfa443af0d022f diff --git a/app-cdr/ecm/ecm-1.0.0.ebuild b/app-cdr/ecm/ecm-1.0.0.ebuild new file mode 100644 index 0000000..c545d8b --- /dev/null +++ b/app-cdr/ecm/ecm-1.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator +MY_P=$(delete_all_version_separators ${P}) + +DESCRIPTION="ECM prepares CD images (BIN, ISO, etc.) so that they'll compress far better" +HOMEPAGE="http://www.neillcorlett.com/ecm/" +SRC_URI="https://web.archive.org/web/20091021035854/http://www.neillcorlett.com/downloads/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +src_unpack() { + mkdir "${S}" + unzip -d "${S}" "${DISTDIR}"/${MY_P}.zip +} + +src_compile() { + gcc ${CFLAGS} -o ecm ecm.c || die "ecm compilation failed" + gcc ${CFLAGS} -o unecm unecm.c || die "unecm compilation failed" +} + +src_install() { + dobin ecm unecm + dodoc format.txt readme.txt +}