summaryrefslogtreecommitdiff
path: root/libmad/libmad_0.15.0b.oe
blob: 6e423675534e9c4f4062c438f7a2094a59e80799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "MPEG Audio Decoder Library"
SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Greg Gilbert <greg@treke.net>"
RDEPENDS = "libc6"
DEPENDS = "virtual/libc libid3tag"

SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libmad-${PV}.tar.gz"
S = "${WORKDIR}/libmad-${PV}"

inherit autotools libtool

EXTRA_OECONF = "-enable-speed --enable-shared"

do_configure_prepend () {
#	damn picky automake...
	touch NEWS AUTHORS ChangeLog
}

do_stage() {
	oe_soinstall .libs/libmad.so.0.2.0 ${STAGING_LIBDIR}
	install -m 0644 mad.h ${STAGING_INCDIR}
}