blob: bf8be1ad0c0f6e6bf16aae339822a9c0c6e3cb51 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001# cdrtools-native OE build file
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4SUMMARY = "A set of tools for CD recording, including cdrecord"
5HOMEPAGE = "http://sourceforge.net/projects/cdrtools/"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06006DESCRIPTION = "cdrecord tool is Highly portable CD/DVD/BluRay command line recording software."
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05007SECTION = "console/utils"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00008LICENSE = "GPL-2.0-only & CDDL-1.0 & LGPL-2.1-or-later"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312"
10
Patrick Williamsac13d5f2023-11-24 18:59:46 -060011DEPENDS += "gnu-config-native"
12
Brad Bishop6dbb3162019-11-25 09:41:34 -050013SRC_URI = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050014 ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${PV}.tar.bz2 \
Brad Bishop6dbb3162019-11-25 09:41:34 -050015 file://0001-Don-t-set-uid-gid-during-install.patch \
Patrick Williamsac13d5f2023-11-24 18:59:46 -060016 file://riscv64-linux-gcc.rul \
Brad Bishop6dbb3162019-11-25 09:41:34 -050017 "
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018
19SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b"
20SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f"
21
22EXTRA_OEMAKE = "-e MAKEFLAGS="
23
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024# Stop failures when 'cc' can't be found
25export ac_cv_prog_CC = "${CC}"
26
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027inherit native
28
Patrick Williamsac13d5f2023-11-24 18:59:46 -060029do_configure() {
30 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf
31 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf
32 install -m 0644 ${WORKDIR}/riscv64-linux-gcc.rul ${S}/RULES/
33}
34
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050035do_install() {
36 make install GMAKE_NOWARN=true INS_BASE=${prefix} DESTDIR=${D}
37}