Commit 00cb5a7688c9cc4cea5beec891117dcc6a159811
cdparanoia svn: convert to new style staging
| |   |
| 2 | 2 | # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved |
| 3 | 3 | # Released under the MIT license (see packages/COPYING) |
| 4 | 4 | |
| PR ="r1" |
| LICENSE="GPL" |
| PR = "r2" |
| LICENSE = "GPL" |
| 7 | 7 | |
| 8 | 8 | PV = "10.2+svnr${SRCPV}" |
| 9 | 9 | |
| SRC_URI="svn://svn.xiph.org/trunk;module=cdparanoia;proto=http \ |
| SRC_URI = "svn://svn.xiph.org/trunk;module=cdparanoia;proto=http \ |
| 11 | 11 | file://fixes10.patch;patch=1 \ |
| 12 | 12 | file://Makefile.in.patch;patch=1 \ |
| 13 | 13 | file://interface_Makefile.in.patch;patch=1 \ |
| 14 | 14 | file://paranoia_Makefile.in.patch;patch=1 \ |
| file://configure.in.patch;patch=1 " |
| file://configure.in.patch;patch=1 " |
| 16 | 16 | |
| S="${WORKDIR}/cdparanoia" |
| S = "${WORKDIR}/cdparanoia" |
| 18 | 18 | |
| 19 | 19 | PARALLEL_MAKE = "" |
| 20 | 20 | |
| … | … | |
| 23 | 23 | do_install() { |
| 24 | 24 | oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/" \ |
| 25 | 25 | 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} |
| 36 | 26 | } |