add app-cdr/ecm
This commit is contained in:
parent
12756552a0
commit
ec453cc452
2 changed files with 36 additions and 0 deletions
2
app-cdr/ecm/Manifest
Normal file
2
app-cdr/ecm/Manifest
Normal file
|
@ -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
|
34
app-cdr/ecm/ecm-1.0.0.ebuild
Normal file
34
app-cdr/ecm/ecm-1.0.0.ebuild
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Reference in a new issue