blob: 0b54158a23b94a4e33598926a6f90f6d07b35504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrkit/cdrkit-1.1.10.ebuild,v 1.3 2010/01/07 06:11:36 beandog Exp $
inherit cmake-utils
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
HOMEPAGE="http://cdrkit.org"
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
IUSE="debug hfs unicode"
RDEPEND="unicode? ( virtual/libiconv )
kernel_linux? ( sys-libs/libcap )"
DEPEND="${RDEPEND}
!app-cdr/cdrtools
hfs? ( sys-apps/file )"
src_install() {
cmake-utils_src_install
local msuffix=$(ecompress --suffix)
dosym wodim /usr/bin/cdrecord || die
dosym genisoimage /usr/bin/mkisofs || die
dosym icedax /usr/bin/cdda2wav || die
dosym readom /usr/bin/readcd || die
dosym wodim.1${msuffix} /usr/share/man/man1/cdrecord.1${msuffix}
dosym genisoimage.1${msuffix} /usr/share/man/man1/mkisofs.1${msuffix}
dosym icedax.1${msuffix} /usr/share/man/man1/cdda2wav.1${msuffix}
dosym readom.1${msuffix} /usr/share/man/man1/readcd.1${msuffix}
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 || die
newins netscsid/netscsid.dfl netscsid.conf || die
insinto /usr/include/scsilib
doins include/*.h || die
insinto /usr/include/scsilib/usal
doins include/usal/*.h || die
dosym usal /usr/include/scsilib/scg || die
}
|