Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 433585
Collapse All | Expand All

(-)cdrtools-3.01_alpha07.ebuild (-17 / +4 lines)
Lines 14-20 Link Here
14
14
15
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
15
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
18
IUSE="acl unicode"
18
IUSE="acl unicode"
19
19
20
DEPEND="acl? ( virtual/acl )
20
DEPEND="acl? ( virtual/acl )
Lines 71-77 Link Here
71
	# Schily make setup.
71
	# Schily make setup.
72
	cd "${S}"/DEFAULTS
72
	cd "${S}"/DEFAULTS
73
	local os="linux"
73
	local os="linux"
74
	[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
75
74
76
	sed -i \
75
	sed -i \
77
		-e "s:/opt/schily:/usr:g" \
76
		-e "s:/opt/schily:/usr:g" \
Lines 102-108 Link Here
102
	# If not built with -j1, "sometimes" cdda2wav will not be built.
101
	# If not built with -j1, "sometimes" cdda2wav will not be built.
103
	emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
102
	emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
104
		LDOPTX="${LDFLAGS}" \
103
		LDOPTX="${LDFLAGS}" \
105
		INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
104
		INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \
106
		RUNPATH="" GMAKE_NOWARN="true"
105
		RUNPATH="" GMAKE_NOWARN="true"
107
}
106
}
108
107
Lines 110-116 Link Here
110
	# If not built with -j1, "sometimes" manpages are not installed.
109
	# If not built with -j1, "sometimes" manpages are not installed.
111
	emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
110
	emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
112
		LDOPTX="${LDFLAGS}" \
111
		LDOPTX="${LDFLAGS}" \
113
		INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
112
		INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \
114
		RUNPATH="" GMAKE_NOWARN="true" install
113
		RUNPATH="" GMAKE_NOWARN="true" install
115
114
116
	# These symlinks are for compat with cdrkit.
115
	# These symlinks are for compat with cdrkit.
Lines 128-144 Link Here
128
	dodoc ChangeLog* TODO
127
	dodoc ChangeLog* TODO
129
128
130
	# Remove man pages related to the build system
129
	# Remove man pages related to the build system
131
	rm -rvf "${ED}"/usr/share/man/man5
130
	rm -rvf "${D}"/usr/share/man/man5
132
}
133
134
pkg_postinst() {
135
	if [[ ${CHOST} == *-darwin* ]] ; then
136
		einfo
137
		einfo "Darwin/OS X use the following device names:"
138
		einfo
139
		einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
140
		einfo
141
		einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
142
		einfo
143
	fi
144
}
131
}

Return to bug 433585