1# 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/"
6SECTION = "console/utils"
7LICENSE = "GPLv2 & CDDL-1.0 & LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312"
9
10SRC_URI = " \
11	${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2 \
12	file://0001-Don-t-set-uid-gid-during-install.patch \
13	"
14UPSTREAM_VERSION_UNKNOWN = "1"
15
16SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b"
17SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f"
18
19EXTRA_OEMAKE = "-e MAKEFLAGS="
20
21# Stop failures when 'cc' can't be found
22export ac_cv_prog_CC = "${CC}"
23
24inherit native
25
26PV = "3.01a31+really3.01"
27REALPV = "3.01"
28
29S = "${WORKDIR}/${BPN}-${REALPV}"
30
31do_install() {
32	make install GMAKE_NOWARN=true INS_BASE=${prefix} DESTDIR=${D}
33}
34