diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-06-04 15:26:44 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-06-04 15:26:44 +0000 |
commit | b88fd056471cb4ffda81b3de530ac818744a0f81 (patch) | |
tree | 0e53d06a21057051c6b047e2404d50576175656f /app-cdr/cdrkit/cdrkit-1.1.8.ebuild | |
parent | amd64 stable, bug 224025 (diff) | |
download | gentoo-2-b88fd056471cb4ffda81b3de530ac818744a0f81.tar.gz gentoo-2-b88fd056471cb4ffda81b3de530ac818744a0f81.tar.bz2 gentoo-2-b88fd056471cb4ffda81b3de530ac818744a0f81.zip |
Version bump, bug 224337
(Portage version: 2.1.5.3)
Diffstat (limited to 'app-cdr/cdrkit/cdrkit-1.1.8.ebuild')
-rw-r--r-- | app-cdr/cdrkit/cdrkit-1.1.8.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/app-cdr/cdrkit/cdrkit-1.1.8.ebuild b/app-cdr/cdrkit/cdrkit-1.1.8.ebuild new file mode 100644 index 000000000000..f2144d09dbc3 --- /dev/null +++ b/app-cdr/cdrkit/cdrkit-1.1.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrkit/cdrkit-1.1.8.ebuild,v 1.1 2008/06/04 15:26:44 beandog Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="A suite of programs for recording CDs and DVDs, blanking CD-RW media, creating ISO-9660 filesystem images, extracting audio CD data, and more." +HOMEPAGE="http://cdrkit.org/" +SRC_URI="http://cdrkit.org/releases/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="hfs unicode kernel_linux kernel_FreeBSD" + +RDEPEND="unicode? ( virtual/libiconv ) + kernel_linux? ( sys-libs/libcap )" +DEPEND=">=dev-util/cmake-2.4 + !app-cdr/cdrtools + kernel_linux? ( sys-libs/libcap ) + unicode? ( virtual/libiconv ) + hfs? ( sys-apps/file )" + +PROVIDE="virtual/cdrtools" + +src_compile() { + cmake \ + -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ + -DCMAKE_C_FLAGS="${CFLAGS}" \ + -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + || die "cmake failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dosym /usr/bin/wodim /usr/bin/cdrecord + dosym /usr/bin/genisoimage /usr/bin/mkisofs + dosym /usr/bin/icedax /usr/bin/cdda2wav + dosym /usr/bin/readom /usr/bin/readcd + dosym /usr/share/man/man1/wodim.1.bz2 /usr/share/man/man1/cdrecord.1.bz2 + dosym /usr/share/man/man1/genisoimage.1.bz2 /usr/share/man/man1/mkisofs.1.bz2 + dosym /usr/share/man/man1/icedax.1.bz2 /usr/share/man/man1/cdda2wav.1.bz2 + dosym /usr/share/man/man1/readom.1.bz2 /usr/share/man/man1/readcd.1.bz2 + + dodoc ABOUT Changelog FAQ FORK TODO doc/{PORTABILITY,WHY} + + for x in genisoimage plattforms wodim icedax; do + docinto ${x} + dodoc doc/${x}/* + done + + insinto /etc + newins wodim/wodim.dfl wodim.conf + newins netscsid/netscsid.dfl netscsid.conf + + insinto /usr/include/scsilib + doins include/*.h + insinto /usr/include/scsilib/usal + doins include/usal/*.h + dosym /usr/include/scsilib/usal /usr/include/scsilib/scg +} |