aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dvd+rw-tools/dvd+rw-tools_7.1.bb
blob: 169d0dd2ada1e7c0fdb746bc473cab4cd732a357 (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
DESCRIPTION = "tools to write DVDs"
PR = "r3"
DEPENDS += "m4-native"
RDEPENDS_${PN} += "cdrkit"
SRC_URI = "http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-${PV}.tar.gz \
           file://01-growisofs-pioneer.dpatch;apply=yes \
           file://02-growisofs-manpage.dpatch;apply=yes \
           file://03-growisofs-dvd-dl.dpatch;apply=yes \
           file://04-kfreebsd.dpatch;apply=yes \
           file://07-beeping.dpatch;apply=yes \
           file://08-cdrkit-code.dpatch;apply=yes \
           file://09-cdrkit-doc.dpatch;apply=yes \
           file://10-includes.dpatch;apply=yes \
          "

do_configure() {
    m4 -DOS=Linux Makefile.m4 >Makefile
}

do_compile() {
    oe_runmake CC="${CC}" CXX="${CXX}" dvd+rw-tools
}

do_install() {
    install -d ${D}/usr/bin
    install -m 755 ${S}/growisofs ${D}/usr/bin
    install -m 755 ${S}/dvd+rw-booktype ${D}/usr/bin
    install -m 755 ${S}/dvd+rw-format ${D}/usr/bin
    install -m 755 ${S}/dvd+rw-mediainfo ${D}/usr/bin
    install -m 755 ${S}/dvd-ram-control ${D}/usr/bin
}


SRC_URI[md5sum] = "8acb3c885c87f6838704a0025e435871"
SRC_URI[sha256sum] = "f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca"