libsndfile1: Convert to use autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
5009d0b5d5
commit
7e0fe4692c
|
@ -4,14 +4,14 @@ AUTHOR = "Erik de Castro Lopo"
|
||||||
DEPENDS = "sqlite3"
|
DEPENDS = "sqlite3"
|
||||||
SECTION = "libs/multimedia"
|
SECTION = "libs/multimedia"
|
||||||
LICENSE = "LGPL"
|
LICENSE = "LGPL"
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
|
SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
|
||||||
file://add-cxx.patch;patch=1"
|
file://add-cxx.patch;patch=1"
|
||||||
|
|
||||||
S = "${WORKDIR}/libsndfile-${PV}"
|
S = "${WORKDIR}/libsndfile-${PV}"
|
||||||
|
|
||||||
inherit autotools lib_package pkgconfig
|
inherit autotools_stage lib_package pkgconfig
|
||||||
|
|
||||||
do_configure_prepend_arm() {
|
do_configure_prepend_arm() {
|
||||||
export ac_cv_sys_largefile_source=1
|
export ac_cv_sys_largefile_source=1
|
||||||
|
@ -19,8 +19,3 @@ do_configure_prepend_arm() {
|
||||||
ac_cv_sizeof_off_t=8
|
ac_cv_sizeof_off_t=8
|
||||||
}
|
}
|
||||||
|
|
||||||
do_stage() {
|
|
||||||
oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR}
|
|
||||||
install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue