summaryrefslogtreecommitdiff
path: root/recipes/faac/faac_1.24.bb
blob: f6ba78438982d36095539d74756d05dabd2c997e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

DESCRIPTION = "Library for reading some sort of media format."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = ""
LICENSE = "LGPL"
inherit autotools

SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.tar.gz"
S="${WORKDIR}/${PN}"

PACKAGES = "${PN}-dbg ${PN} lib${PN} lib${PN}-dev"

FILES_${PN} = " ${bindir}/faac "
FILES_lib${PN} = " ${libdir}/libfaac.so.0 ${libdir}/libfaac.so.0.0.0 "
FILES_lib${PN}-dev = " ${includedir}/faac.h ${includedir}/faaccfg.h ${libdir}/libfaac.so ${libdir}/libfaac.la ${libdir}/libfaac.a "

do_stage() {
	oe_libinstall -a -so -C libfaac libfaac ${STAGING_LIBDIR}
	install -m 0644 ${S}/include/faac.h ${STAGING_INCDIR}/
	install -m 0644 ${S}/include/faaccfg.h ${STAGING_INCDIR}/
}