opendreambox 2.0
[opendreambox.git] / meta-opendreambox / recipes-multimedia / cdparanoia / cdparanoia_svn.bb
1 # Copyright (C) 2005, Advanced Micro Devices, Inc.  All Rights Reserved
2 DESCRIPTION = "audio extraction tool for sampling CDs"
3 HOMEPAGE = "http://xiph.org/paranoia/"
4 LICENSE = "GPLv2"
5 LIC_FILES_CHKSUM = "file://COPYING-GPL;md5=1ed9d357695b2e3ef099df37fed63d96 \
6                     file://COPYING-LGPL;md5=d370feaa1c9edcdbd29ca27ea3d2304d"
7 SECTION = "multimedia"
8 SRCREV = "17289"
9 PV = "10.2+svnr${SRCPV}"
10
11 SRC_URI = "svn://svn.xiph.org/trunk;module=cdparanoia;proto=http \
12          file://fixes10.patch \
13          file://Makefile.in.patch \
14          file://interface_Makefile.in.patch \
15          file://paranoia_Makefile.in.patch \
16          file://configure.in.patch"
17
18 S = "${WORKDIR}/cdparanoia"
19
20 PARALLEL_MAKE = ""
21
22 inherit autotools pkgconfig
23
24 PACKAGES += "libcdparanoia libcdparanoia-dev libcdparanoia-static"
25
26 LICENSE_libcdparanoia = "LGPLv2.1"
27 LICENSE_libcdparanoia-dev = "LGPLv2.1"
28 LICENSE_libcdparanoia-static = "LGPLv2.1"
29
30 FILES_${PN} = "${bindir}/*"
31 FILES_${PN}-dev = ""
32 FILES_${PN}-static = ""
33 FILES_libcdparanoia = "${libdir}/lib*${SOLIBS}"
34 FILES_libcdparanoia-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/pkgconfig"
35 FILES_libcdparanoia-static = "${libdir}/*.a"
36
37 do_install() {
38         oe_runmake BINDIR="${D}${bindir}" MANDIR="${D}${datadir}/man/" \
39                    INCLUDEDIR="${D}${includedir}" LIBDIR="${D}${libdir}" \
40                    PKGCONFIGDIR="${D}${libdir}/pkgconfig" \
41                    install
42 }