summaryrefslogtreecommitdiff
path: root/package/madplay/Makefile
blob: cb154ae8c2a2da24ce8ef9b9afb76025378b17fd (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		madplay
PKG_VERSION:=		0.15.2b
PKG_RELEASE:=		1
PKG_MD5SUM:=		6814b47ceaa99880c754c5195aa1aac1
PKG_DESCR:=		MPEG audio player in fixed point
PKG_SECTION:=		multimedia
PKG_DEPENDS:=		libid3tag libmad alsa-lib
PKG_BUILDDEP:=		libid3tag libmad alsa-lib
PKG_URL:=		http://www.underbit.com/products/mad
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=mad/}  \
			ftp://ftp.mars.org/pub/mpeg/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,MADPLAY,madplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		BUILD_CC="${TARGET_CC}" HOSTCC=${CC_FOR_BUILD} \
			LIBS="-lz" \
			ac_cv_linux_vers=2 \
			td_cv_buggygetaddrinfo="no"
CONFIGURE_ARGS+=	--disable-debugging \
			--disable-profiling \
			--disable-experimental \
			--without-libiconv-prefix \
			--without-libintl-prefix \
			--without-esd \
			--with-alsa

madplay-install:
	${INSTALL_DIR} ${IDIR_MADPLAY}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/madplay ${IDIR_MADPLAY}/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk