1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
10 PKG_DESCR
:= high-quality mpeg audio decoding library
11 PKG_SECTION
:= libs
/audio
12 PKG_URL
:= http
://sourceforge.net
/projects
/mad
13 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=mad
/}
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 include ${ADK_TOPDIR}/mk
/package.mk
20 $(eval
$(call PKG_template
,LIBMAD
,libmad
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 ifeq (${ADK_TARGET_CPU_ARCH},i486
)
26 ifeq (${ADK_TARGET_CPU_ARCH},i586
)
29 ifeq (${ADK_TARGET_CPU_ARCH},i686
)
32 ifeq (${ADK_TARGET_CPU_ARCH},arm
)
35 ifeq (${ADK_TARGET_CPU_ARCH},mipsel
)
38 ifeq (${ADK_TARGET_CPU_ARCH},mips
)
41 ifeq (${ADK_TARGET_CPU_ARCH},ppc
)
44 ifeq (${ADK_TARGET_CPU_ARCH},sparc
)
47 ifeq (${ADK_TARGET_CPU_ARCH},x86_64
)
51 AUTOTOOL_STYLE
:= autoreconf
52 CONFIGURE_ARGS
+= --enable-fpm
=${FPM} \
57 touch
${WRKBUILD}/{NEWS
,AUTHORS
,ChangeLog
}
60 ${INSTALL_DIR} ${WRKINST}/usr
/lib
/pkgconfig
61 ${CP} .
/files
/mad.
pc ${WRKINST}/usr
/lib
/pkgconfig
64 ${INSTALL_DIR} ${IDIR_LIBMAD}/usr
/lib
65 ${CP} ${WRKINST}/usr
/lib
/libmad.so
* ${IDIR_LIBMAD}/usr
/lib
/
67 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk