diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-03 10:33:56 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-03 10:33:56 +0000 |
commit | 7567ab6fe19146d3117f7c2f4919e9e9fe1be5c3 (patch) | |
tree | 1e137a5baa5f1c3d4b9a3a83daa08d81ad8031ea /app-cdr/cddetect | |
parent | Initial commit. (diff) | |
download | gentoo-2-7567ab6fe19146d3117f7c2f4919e9e9fe1be5c3.tar.gz gentoo-2-7567ab6fe19146d3117f7c2f4919e9e9fe1be5c3.tar.bz2 gentoo-2-7567ab6fe19146d3117f7c2f4919e9e9fe1be5c3.zip |
Restore cddetect which was removed 2011-03-27 wrt #337628.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/cddetect')
-rw-r--r-- | app-cdr/cddetect/ChangeLog | 9 | ||||
-rw-r--r-- | app-cdr/cddetect/Manifest | 4 | ||||
-rw-r--r-- | app-cdr/cddetect/cddetect-2.1.ebuild | 29 | ||||
-rw-r--r-- | app-cdr/cddetect/metadata.xml | 5 |
4 files changed, 47 insertions, 0 deletions
diff --git a/app-cdr/cddetect/ChangeLog b/app-cdr/cddetect/ChangeLog new file mode 100644 index 000000000000..a4d791575923 --- /dev/null +++ b/app-cdr/cddetect/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-cdr/cddetect +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cddetect/ChangeLog,v 1.4 2012/01/03 10:33:56 ssuominen Exp $ + +*cddetect-2.1 (03 Jan 2012) + + 03 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +cddetect-2.1.ebuild: + Restore cddetect which was removed 2011-03-27 wrt #337628. + diff --git a/app-cdr/cddetect/Manifest b/app-cdr/cddetect/Manifest new file mode 100644 index 000000000000..30a55014949d --- /dev/null +++ b/app-cdr/cddetect/Manifest @@ -0,0 +1,4 @@ +DIST cddetect-2.1.tar.gz 11779 RMD160 87e0c6df2b4d2e907c383bcab3d2358201c4c8a8 SHA1 a7efef6215a1abbeeadeb92b633633b50d644389 SHA256 ddf44070cd146bcd859f6cf2b98d43420959bd4145b7f94cfba4203859911133 +EBUILD cddetect-2.1.ebuild 574 RMD160 cc9f1b19c08fc0fe3e6a7a52a2dbf4ddf4922ff6 SHA1 40e2515f93b8fe6f840de8634ee7395b52b06907 SHA256 650cdd8f1bbc3221cb6a7fc666bb5f75db7f39a79b1aebd16cf78f8cb2d65a98 +MISC ChangeLog 284 RMD160 6a5c866e862848855e706e89222c210086b2b609 SHA1 ae3cbebad15c0c96557a0c36c67fe13f0d84c0d5 SHA256 bd2021608d6020063b8c306ca64b3daa9b506498b57fd3fb7289a138cb229e29 +MISC metadata.xml 166 RMD160 02ca0a5d9279c1b52c3887f5a1f52f3feb002af9 SHA1 b9fccc7c24aa717c30efef068fd544a692f264f6 SHA256 ce62d1e5b04e01d03a732ee6d33b3d500810de8e55af4a527c970e5b475735d8 diff --git a/app-cdr/cddetect/cddetect-2.1.ebuild b/app-cdr/cddetect/cddetect-2.1.ebuild new file mode 100644 index 000000000000..db57b375ea9d --- /dev/null +++ b/app-cdr/cddetect/cddetect-2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cddetect/cddetect-2.1.ebuild,v 1.3 2012/01/03 10:33:56 ssuominen Exp $ + +EAPI=4 +inherit toolchain-funcs + +DESCRIPTION="A tool for detecting the type of a CD/DVD without mounting it" +HOMEPAGE="http://www.bellut.net/projects.html" +SRC_URI="http://www.bellut.net/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S=${WORKDIR} + +src_prepare() { + sed -i -e '1i#include <limits.h>' ${PN}.c || die #337628 +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="-Wall ${CFLAGS}" +} + +src_install() { + dobin ${PN} +} diff --git a/app-cdr/cddetect/metadata.xml b/app-cdr/cddetect/metadata.xml new file mode 100644 index 000000000000..3ca6ae763b34 --- /dev/null +++ b/app-cdr/cddetect/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-optical</herd> +</pkgmetadata> |