summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2010-11-07 17:27:37 +0000
committerDaniel Pielmeier <billie@gentoo.org>2010-11-07 17:27:37 +0000
commit203a1b79884c3a0926802fe71b37e8944a25e01d (patch)
treef9beecf43496fbc6d3560f159cb17cf6de151711 /app-cdr
parentdev-lisp/cl-fad removal, p.masked from 17Sep2010, wrt bug #337963 (diff)
downloadhistorical-203a1b79884c3a0926802fe71b37e8944a25e01d.tar.gz
historical-203a1b79884c3a0926802fe71b37e8944a25e01d.tar.bz2
historical-203a1b79884c3a0926802fe71b37e8944a25e01d.zip
Simplify SRC_URI. Remove man pages realted to the build system.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdrtools/ChangeLog8
-rw-r--r--app-cdr/cdrtools/Manifest3
-rw-r--r--app-cdr/cdrtools/cdrtools-3.00-r1.ebuild131
3 files changed, 140 insertions, 2 deletions
diff --git a/app-cdr/cdrtools/ChangeLog b/app-cdr/cdrtools/ChangeLog
index f5b11083ee4e..1af153155b6a 100644
--- a/app-cdr/cdrtools/ChangeLog
+++ b/app-cdr/cdrtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-cdr/cdrtools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.269 2010/10/15 19:11:55 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.270 2010/11/07 17:27:37 billie Exp $
+
+*cdrtools-3.00-r1 (07 Nov 2010)
+
+ 07 Nov 2010; Daniel Pielmeier <billie@gentoo.org>
+ +cdrtools-3.00-r1.ebuild:
+ Simplify SRC_URI. Remove man pages related to the build system.
15 Oct 2010; Brent Baude <ranger@gentoo.org> cdrtools-3.00.ebuild:
stable ppc, bug 328163
diff --git a/app-cdr/cdrtools/Manifest b/app-cdr/cdrtools/Manifest
index 1274d154ddb1..5bd55420393e 100644
--- a/app-cdr/cdrtools/Manifest
+++ b/app-cdr/cdrtools/Manifest
@@ -1,6 +1,7 @@
DIST cdrtools-2.01.01a75.tar.bz2 1922616 RMD160 784e6ffda7082f9a1f25c67647a148271445ab40 SHA1 eaef1c4b20763301e1c10139ad51923bb161de3e SHA256 49c84695ab01c4b34df7405bcdadb64b244dcccac7908dbcb97972f623ba23fe
DIST cdrtools-3.00.tar.bz2 1978563 RMD160 210684ab5e286ef59b788b49bd0b74d88f6435f4 SHA1 6464844d6b936d4f43ee98a04d637cd91131de4e SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d
EBUILD cdrtools-2.01.01_alpha75.ebuild 4076 RMD160 5a12972583bba4093a8676ff74b46e75fa4309b3 SHA1 90c1c82e068233a7dcc49789f4faa6b33ade008e SHA256 9156e314e8a4ae5d4ef9b51fca6e1ebd15bdcedaa3a2568005566b418f61e31d
+EBUILD cdrtools-3.00-r1.ebuild 4102 RMD160 1821a03eed98cdd182dd2b74cf3971c257c089f1 SHA1 daec3c1438556e538efc03a731b00c76b47591be SHA256 64b380af315e72cc43a3fb2986e506aac23bb77e4c2984355139e67efb322302
EBUILD cdrtools-3.00.ebuild 4024 RMD160 8a3f7738afbb7f336c3a24f46512ada1a740872d SHA1 73d5eec7bb97c0c8071b5debfa1a912edc2aad47 SHA256 14cb5e58c114fffbcf9f5fbc37bf87c10df6d533486cc278091dab4aab0813b9
-MISC ChangeLog 42056 RMD160 cd90b82bcd73dc5b6951abc4c29ed39455c7c70f SHA1 94fe388d3ee6b4285c1ef76111f97cfc09ddd80b SHA256 972031ff387d6c3d3ee49e242dba831be84218619115f6802755bfbfa1ca4e7e
+MISC ChangeLog 42236 RMD160 27155de90791b53437e2ccf1037976772c9d6bc3 SHA1 d03be14e590fb6aa73ed92ccdfe9c561ef126098 SHA256 41b9be4469cf0a2ccd323f17dab049aa1af8ee61eddf8fe80508b272ed9593c4
MISC metadata.xml 344 RMD160 a34ca9abb9d6e97a232f4b7d183e5350bbf2c978 SHA1 4f4dd69accee941e41b7d46e9038c50dce8e534f SHA256 1827502e9d2cfa583db6a17f065462b760bf3770fcac22a0145d6a560b2b34f8
diff --git a/app-cdr/cdrtools/cdrtools-3.00-r1.ebuild b/app-cdr/cdrtools/cdrtools-3.00-r1.ebuild
new file mode 100644
index 000000000000..56e971a6cba5
--- /dev/null
+++ b/app-cdr/cdrtools/cdrtools-3.00-r1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.00-r1.ebuild,v 1.1 2010/11/07 17:27:37 billie Exp $
+
+EAPI=2
+
+inherit multilib eutils toolchain-funcs flag-o-matic
+
+MY_P="${P/_alpha/a}"
+
+DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
+HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
+SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="acl unicode"
+
+DEPEND="acl? ( virtual/acl )
+ !app-cdr/dvdrtools
+ !app-cdr/cdrkit"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P/_alpha[0-9][0-9]}
+
+src_prepare() {
+ # Remove profiled make files.
+ rm -f $(find . -name '*_p.mk') || die "rm profiled"
+
+ # Adjusting hardcoded paths.
+ sed -i -e 's:opt/schily:usr:' \
+ $(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
+ || die "sed opt/schily"
+
+ sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
+ $(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
+ || die "sed doc"
+
+ # Respect libdir.
+ sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
+ $(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
+ || die "sed multilib"
+
+ # Do not install static libraries.
+ sed -i -e 's:include\t\t.*rules.lib::' \
+ $(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
+ || die "sed rules"
+
+ # Respect CC/CXX variables.
+ cd "${S}"/RULES
+ local tcCC=$(tc-getCC)
+ local tcCXX=$(tc-getCXX)
+ sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
+ rules1.top || die "sed rules1.top"
+ sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
+ -e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
+ cc-gcc.rul || die "sed cc-gcc.rul"
+ sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
+ rules.cnf || die "sed rules.cnf"
+
+ # Create additional symlinks needed for some archs.
+ local t
+ for t in ppc64 s390x; do
+ ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
+ ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
+ done
+
+ # Schily make setup.
+ cd "${S}"/DEFAULTS
+ local os="linux"
+
+ sed -i \
+ -e "s:/opt/schily:/usr:g" \
+ -e "s:/usr/src/linux/include::g" \
+ -e "s:bin:root:g" \
+ Defaults.${os} || die "sed Schily make setup"
+}
+
+# skip obsolete configure script
+src_configure() { : ; }
+
+src_compile() {
+ if use unicode; then
+ local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
+ if [[ -n ${flags} ]]; then
+ append-flags ${flags}
+ else
+ ewarn "Your compiler does not support the options required to build"
+ ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
+ fi
+ fi
+
+ if ! use acl; then
+ CFLAGS="${CFLAGS} -DNO_ACL"
+ fi
+
+ # LIB_ACL_TEST removed to support x86-fbsd
+ # If not built with -j1, "sometimes" cdda2wav will not be built.
+ emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
+ LDOPTX="${LDFLAGS}" \
+ INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \
+ RUNPATH="" GMAKE_NOWARN="true" || die "emake"
+}
+
+src_install() {
+ # If not built with -j1, "sometimes" manpages are not installed.
+ emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
+ LDOPTX="${LDFLAGS}" \
+ INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \
+ RUNPATH="" GMAKE_NOWARN="true" install || die "emake install"
+
+ # These symlinks are for compat with cdrkit.
+ dosym schily /usr/include/scsilib || die "dosym scsilib"
+ dosym ../scg /usr/include/schily/scg || die "dosym scg"
+
+ dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux \
+ || die "dodoc"
+
+ cd "${S}"/cdda2wav
+ docinto cdda2wav
+ dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO \
+ || die "dodoc cdda2wav"
+
+ cd "${S}"/mkisofs
+ docinto mkisofs
+ dodoc ChangeLog* TODO || die "dodoc mkisofs"
+
+ # Remove man pages related to the build system
+ rm -rvf "${D}"/usr/share/man/man5
+}