blob: ba9cd9b4ca7626799f36fe992bb276983ec28c05 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mpg123
PKG_VERSION:= 1.31.3
PKG_RELEASE:= 2
PKG_HASH:= 1ca77d3a69a5ff845b7a0536f783fee554e1041139a6b978f6afe14f5814ad1a
PKG_DESCR:= mp3 console player
PKG_SECTION:= mm/audio
PKG_DEPENDS:= alsa-lib
PKG_BUILDDEP:= alsa-lib
PKG_NEEDS:= threads
PKG_URL:= http://www.mpg123.de/
PKG_SITES:= http://www.mpg123.de/download/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MPG123,mpg123,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
ifeq ($(ADK_TARGET_CPU_X86_I486),y)
CONFIGURE_ARGS+= --with-cpu=i486
endif
ifeq ($(ADK_TARGET_CPU_X86_I586),y)
CONFIGURE_ARGS+= --with-cpu=i586
endif
ifeq ($(ADK_TARGET_ARCH_ARM)$(ADK_TARGET_CPU_WITH_NEON),y)
CONFIGURE_ARGS+= --with-cpu=neon
endif
ifeq ($(ADK_TARGET_ARCH_AARCH64),y)
CONFIGURE_ARGS+= --with-cpu=aarch64
endif
CONFIGURE_ARGS+= --with-default-audio=alsa --disable-shared
mpg123-install:
$(INSTALL_DIR) $(IDIR_MPG123)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/mpg123 \
$(IDIR_MPG123)/usr/bin
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|