blob: c89204062eacfc14f1cc823fb30e887a53e5e069 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "CD/DVD command line tools"
2HOMEPAGE = "http://cdrkit.org/"
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b30d3b2750b668133fc17b401e1b98f8"
6
7# While writing download from cdrkit.org was broken so get sources from debian
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
9 file://0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch \
10 file://0001-genisoimage-Fix-fprintf-format-errors.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011 file://0001-define-__THROW-to-avoid-build-issue-with-musl.patch \
12 file://0002-Do-not-use-rcmd-on-build-with-musl.patch \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013 file://0001-genisoimage-Add-missing-extern-definition.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014 "
Patrick Williams213cb262021-08-07 19:21:33 -050015SRC_URI:append:class-nativesdk = " \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070016 file://0001-install-netscsid-to-bin-for-nativesdk.patch \
17"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9"
19SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da"
20
21inherit cmake
22
23DEPENDS = "libcap file bzip2"
Patrick Williams213cb262021-08-07 19:21:33 -050024RDEPENDS:dirsplit = "perl"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060025
26PACKAGES =+ "dirsplit genisoimage icedax wodim"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:dirsplit = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060029 ${bindir}/dirsplit \
30"
31
Patrick Williams213cb262021-08-07 19:21:33 -050032FILES:genisoimage = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060033 ${bindir}/devdump \
34 ${bindir}/genisoimage \
35 ${bindir}/isodebug \
36 ${bindir}/isodump \
37 ${bindir}/isoinfo \
38 ${bindir}/isovfy \
39 ${bindir}/mkisofs \
40"
41
Patrick Williams213cb262021-08-07 19:21:33 -050042FILES:icedax = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060043 ${bindir}/cdda2mp3 \
44 ${bindir}/cdda2ogg \
45 ${bindir}/icedax \
46 ${bindir}/pitchplay \
47 ${bindir}/readmult \
48"
49
Patrick Williams213cb262021-08-07 19:21:33 -050050FILES:wodim = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060051 ${bindir}/readom \
52 ${bindir}/wodim \
53 ${sbindir}/netscsid \
54"
Brad Bishop316dfdd2018-06-25 12:45:53 -040055
Patrick Williams213cb262021-08-07 19:21:33 -050056do_install:append() {
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070057 ln -sf --relative ${D}${bindir}/genisoimage ${D}${bindir}/mkisofs
Brad Bishop316dfdd2018-06-25 12:45:53 -040058}
Andrew Geissler4b7c1152020-11-30 19:55:29 -060059
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070060BBCLASSEXTEND = "native nativesdk"