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
:= 5a99664338fb2f751b662f40ee25804d0c9db6b575dcb5ce741c6dc64224a08a
10 PKG_DESCR
:= mp3 console player
11 PKG_SECTION
:= mm
/audio
12 PKG_DEPENDS
:= alsa-lib
13 PKG_BUILDDEP
:= alsa-lib
15 PKG_URL
:= http
://www.mpg123.de
/
16 PKG_SITES
:= http
://www.mpg123.de
/download
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,MPG123
,mpg123
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 ifeq ($(ADK_TARGET_CPU_X86_I486
),y
)
25 CONFIGURE_ARGS
+= --with-cpu
=i486
27 ifeq ($(ADK_TARGET_CPU_X86_I586
),y
)
28 CONFIGURE_ARGS
+= --with-cpu
=i586
30 ifeq ($(ADK_TARGET_ARCH_ARM
)$(ADK_TARGET_CPU_WITH_NEON
),yy
)
31 CONFIGURE_ARGS
+= --with-cpu
=neon
33 ifeq ($(ADK_TARGET_ARCH_AARCH64
),y
)
34 CONFIGURE_ARGS
+= --with-cpu
=aarch64
37 CONFIGURE_ARGS
+= --with-default-audio
=alsa
--disable-shared
40 $(INSTALL_DIR
) $(IDIR_MPG123
)/usr
/bin
41 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/mpg123 \
42 $(IDIR_MPG123
)/usr
/bin
44 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk