summaryrefslogtreecommitdiff
path: root/audiofile/audiofile_0.2.6.oe
blob: 49eb57a59f447a9fabf8866126d0a4fee8f71bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SECTION = "libs"
DEPENDS = "virtual/libc"
LICENSE = "LGPL GPL"
DESCRIPTION = "The Audio File Library provides a uniform and elegant \
API for accessing a variety of audio file formats, such as AIFF/AIFF-C, \
WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual \
Research, Amiga IFF/8SVX, and NIST SPHERE." 

SRC_URI = "http://www.68k.org/~michael/audiofile/audiofile-${PV}.tar.gz"

inherit autotools libtool pkgconfig

do_stage () {
	install -m 0644 ${S}/libaudiofile/audiofile.h aupvlist.h af_vfs.h ${STAGING_INCDIR}/
	oe_soinstall libaudiofile/.libs/libaudiofile.so.0.0.2 ${STAGING_LIBDIR}/
	install -m 0644 libaudiofile/.libs/libaudiofile.a ${STAGING_LIBDIR}/libaudiofile.a
	install -m 0644 libaudiofile/.libs/libaudiofile.lai ${STAGING_LIBDIR}/libaudiofile.la
	cat audiofile-config | sed -e "s,/usr/include,${STAGING_INCDIR},g; \
				      s,/usr/lib,${STAGING_LIBDIR},g; \
				      s,/usr/bin,${STAGING_BINDIR},g; \
				      s,/usr,${STAGING_LIBDIR}/..,g;" > ${STAGING_BINDIR}/audiofile-config
        chmod a+rx ${STAGING_BINDIR}/audiofile-config
}