summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-03 10:33:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-03 10:33:56 +0000
commit63b1792ae7bbf2692adb28c0aa917dc06d2a5b73 (patch)
tree912fc500ed14ed807663910f3f1fc7b1d484c1d3 /app-cdr
parentInitial commit. (diff)
downloadhistorical-63b1792ae7bbf2692adb28c0aa917dc06d2a5b73.tar.gz
historical-63b1792ae7bbf2692adb28c0aa917dc06d2a5b73.tar.bz2
historical-63b1792ae7bbf2692adb28c0aa917dc06d2a5b73.zip
Restore cddetect which was removed 2011-03-27 wrt #337628.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cddetect/ChangeLog9
-rw-r--r--app-cdr/cddetect/Manifest18
-rw-r--r--app-cdr/cddetect/cddetect-2.1.ebuild29
-rw-r--r--app-cdr/cddetect/metadata.xml5
4 files changed, 61 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..97999893ae9a
--- /dev/null
+++ b/app-cdr/cddetect/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST cddetect-2.1.tar.gz 11779 RMD160 87e0c6df2b4d2e907c383bcab3d2358201c4c8a8 SHA1 a7efef6215a1abbeeadeb92b633633b50d644389 SHA256 ddf44070cd146bcd859f6cf2b98d43420959bd4145b7f94cfba4203859911133
+EBUILD cddetect-2.1.ebuild 675 RMD160 d5c01a28f866cf854330dd8a9621c6fb023a7fb7 SHA1 958933b5555cfa76642d487b809fefa7d5caf3d9 SHA256 22c796e7a7261859fce6bc6384d93872a37580193c921273d07e86a2b2b7cdd4
+MISC ChangeLog 375 RMD160 5ba57c8f1baeb1e5e9d7954d53ae498a6d30abc8 SHA1 5ed2eb66edf635a2e558c01ba82ce214b3f447a1 SHA256 608e96d80d69894c73d9f50af20201f567c10aab219b626d33363a998b9af5ae
+MISC metadata.xml 166 RMD160 02ca0a5d9279c1b52c3887f5a1f52f3feb002af9 SHA1 b9fccc7c24aa717c30efef068fd544a692f264f6 SHA256 ce62d1e5b04e01d03a732ee6d33b3d500810de8e55af4a527c970e5b475735d8
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBAgAGBQJPAtkkAAoJEEdUh39IaPFNbIQIAJXBsCwPwKPadkCzvbYPoCYc
+vCbokCPK8NOQT27e0BU4T/TEcn53ltRPvYzmqNW/W63MzLGkavMk/R1JVLbfKdqH
+2SOH+k4ocDD+l6cqd9HXMQ6NpIUC6Crh6eJOuIqNrddjbQhl+jiaYCNrqGIhKOxh
+n53L6xKsguO83FkPM7GP62tNuIZcRb1fThREDucjPCcNw1+NLTYCbwh6ZDtH9mJf
+P4LdQ5n6Pby8q1+LZkiTMuDKbyuSnrVt5b2gFXrwGh5WjIqvi3F5T90lY2P8ElM9
+zTIJfHIKP6O90/en9nzAPqLHKxE1Gy7BDH/47p5WdkiJm1nC/rahr55P501XGZk=
+=BdyP
+-----END PGP SIGNATURE-----
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>