summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-08-03 14:33:58 +0000
committerLars Wendler <polynomial-c@gentoo.org>2015-08-03 14:33:58 +0000
commit80ab1f6e6f43c6abbf68201551ae25e192e45b9c (patch)
treecd7cf433bb1a7e57aff477b53dcd483a5bf268db /app-misc/cdctl
parentVersion bump (diff)
downloadgentoo-2-80ab1f6e6f43c6abbf68201551ae25e192e45b9c.tar.gz
gentoo-2-80ab1f6e6f43c6abbf68201551ae25e192e45b9c.tar.bz2
gentoo-2-80ab1f6e6f43c6abbf68201551ae25e192e45b9c.zip
Version bump
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC)
Diffstat (limited to 'app-misc/cdctl')
-rw-r--r--app-misc/cdctl/ChangeLog8
-rw-r--r--app-misc/cdctl/cdctl-0.16.ebuild30
-rw-r--r--app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch57
3 files changed, 94 insertions, 1 deletions
diff --git a/app-misc/cdctl/ChangeLog b/app-misc/cdctl/ChangeLog
index ab3e4165ad23..196b3bd734be 100644
--- a/app-misc/cdctl/ChangeLog
+++ b/app-misc/cdctl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/cdctl
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cdctl/ChangeLog,v 1.13 2015/06/09 11:37:58 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdctl/ChangeLog,v 1.14 2015/08/03 14:33:58 polynomial-c Exp $
+
+*cdctl-0.16 (03 Aug 2015)
+
+ 03 Aug 2015; Lars Wendler <polynomial-c@gentoo.org> +cdctl-0.16.ebuild,
+ +files/cdctl-0.16-Makefile.in.patch:
+ Version bump.
09 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Updating remote-id in metadata.xml
diff --git a/app-misc/cdctl/cdctl-0.16.ebuild b/app-misc/cdctl/cdctl-0.16.ebuild
new file mode 100644
index 000000000000..489a03a90131
--- /dev/null
+++ b/app-misc/cdctl/cdctl-0.16.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdctl/cdctl-0.16.ebuild,v 1.1 2015/08/03 14:33:58 polynomial-c Exp $
+
+EAPI=5
+
+inherit eutils autotools toolchain-funcs
+
+DESCRIPTION="Utility to control your cd/dvd drive"
+HOMEPAGE="http://cdctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cdctl/${P}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.16-Makefile.in.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
diff --git a/app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch b/app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch
new file mode 100644
index 000000000000..cdb332e023b1
--- /dev/null
+++ b/app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch
@@ -0,0 +1,57 @@
+--- cdctl/Makefile.in
++++ cdctl/Makefile.in
+@@ -1,8 +1,8 @@
+ CC=gcc
+-CFLAGS=-Wall -g
++CFLAGS?=-Wall -g
+ BINS=cdctl sndreset
+ OBJS=cdctl.o version.o ioctls.o iso_header.o
+-DOCS=NEWS NUTSANDBOLTS LICENSE PUBLICKEY README SEGFAULTS
++DOCS=NEWS NUTSANDBOLTS LICENSE PUBLICKEY README
+ # NOTE: all man pages are installed in $(mandir)/man1 -- see install-mans
+ MANS=cdctl.1
+ MOS=cdctl.mo
+@@ -22,6 +22,10 @@
+ INSTALL_DIR = $(INSTALL) -d
+ INSTALL_DATA = $(INSTALL) -m 644
+
++DESTDIR =
++
++man1dir = $(mandir)/man1
++
+ all: $(BINS)
+
+ cdctl: $(OBJS)
+@@ -35,25 +39,21 @@
+ indent:
+ indent -kr -cdb -sc *.c
+
+-install: install-bins install-docs install-mans install-mos
++install: install-bins install-mans install-mos
+
+ install-bins: $(BINS)
+- $(INSTALL_DIR) $(bindir)
+- $(INSTALL) -s $(BINS) $(bindir)
+-
+-install-docs: $(DOCS)
+- $(INSTALL_DIR) $(docdir)
+- $(INSTALL_DATA) $(DOCS) $(docdir)
++ $(INSTALL_DIR) $(DESTDIR)$(bindir)
++ $(INSTALL) $(BINS) $(DESTDIR)$(bindir)
+
+ install-mans: $(MANS)
+- $(INSTALL_DIR) $(mandir)/man1
+- $(INSTALL_DATA) $(MANS) $(mandir)/man1
++ $(INSTALL_DIR) $(DESTDIR)/$(mandir)/man1
++ $(INSTALL_DATA) $(MANS) $(DESTDIR)$(mandir)/man1
+
+ # FIXME: need to deal with other languages besides German
+
+ install-mos: cdctl.mo
+- $(INSTALL_DIR) $(localedir)/de/LC_MESSAGES
+- $(INSTALL_DATA) $(MOS) $(localedir)/de/LC_MESSAGES
++ $(INSTALL_DIR) $(DESTDIR)$(localedir)/de/LC_MESSAGES
++ $(INSTALL_DATA) $(MOS) $(DESTDIR)$(localedir)/de/LC_MESSAGES
+
+ cdctl.mo: cdctl.po
+ msgfmt cdctl.po -o cdctl.mo