summaryrefslogtreecommitdiff
path: root/recipes/cdparanoia/cdparanoia_10.2.bb
blob: 181719529de8be936982213f070d27e95cd15f08 (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
# cdparanoia OE build file
# Copyright (C) 2005, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)
LICENSE = "GPL"

SRC_URI = "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz \
         file://fixes10.patch \
         file://Makefile.in.patch \
         file://interface_Makefile.in.patch \
         file://paranoia_Makefile.in.patch \
         file://cdparanoia-III-10.2-privatefix.patch \
	 file://configure.in.patch"

S = "${WORKDIR}/cdparanoia-III-10.2"

inherit autotools

PARALLEL_MAKE = ""

do_install() {
        oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/" \
                   INCLUDEDIR="${D}/usr/include/" LIBDIR="${D}/usr/lib" install
}

do_stage() {
        install -d ${STAGING_INCDIR} ${STAGING_LIBDIR}
        install -m 0644 paranoia/cdda_paranoia.h ${STAGING_INCDIR}
        install -m 0644 interface/cdda_interface.h ${STAGING_INCDIR}
        oe_libinstall -C interface libcdda_interface ${STAGING_LIBDIR}
        oe_libinstall -C paranoia libcdda_paranoia ${STAGING_LIBDIR}
}


SRC_URI[md5sum] = "b304bbe8ab63373924a744eac9ebc652"
SRC_URI[sha256sum] = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"