merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git] / packages / libmikmod / libmikmod_3.1.11.bb
blob6c8dc8e06449a013c4ac130eb8820048df08ed4f
1 DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm."
2 SECTION = "libs"
3 PRIORITY = "optional"
4 LICENSE = "LGPL"
5 SRC_URI = "http://mikmod.raphnet.net/files/libmikmod-${PV}.tar.gz \
6 file://m4.patch;patch=1 \
7 file://autofoo.patch;patch=1"
9 inherit autotools
11 EXTRA_OECONF = "--disable-af --disable-alsa --disable-esd \
12 --enable-oss --disable-sam9407 --disable-ultra \
13 --disable-esdtest --enable-threads"
15 do_stage() {
16 oe_libinstall -a -so -C libmikmod libmikmod ${STAGING_LIBDIR}
17 install -m 0644 ${S}/include/mikmod.h ${STAGING_INCDIR}/
19 install -d ${STAGING_BINDIR_CROSS}
20 cat libmikmod-config | sed 's,$libdir , ,' \
21 | sed 's,$includes , ,' > ${STAGING_BINDIR_CROSS}/libmikmod-config
22 chmod a+rx ${STAGING_BINDIR_CROSS}/libmikmod-config
23 install -d ${STAGING_DATADIR}/aclocal/
24 install -m 0644 libmikmod.m4 ${STAGING_DATADIR}/aclocal/