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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# -*-makefile-*-
#
# Copyright (C) 2003 by Sascha Hauer <sascha.hauer@gyro-net.de>
# 2008 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_MADPLAY) += madplay
#
# Paths and names
#
MADPLAY_VERSION := 0.15.2b
MADPLAY_MD5 := 6814b47ceaa99880c754c5195aa1aac1
MADPLAY := madplay-$(MADPLAY_VERSION)
MADPLAY_SUFFIX := tar.gz
MADPLAY_URL := ftp://ftp.mars.org/pub/mpeg/$(MADPLAY).$(MADPLAY_SUFFIX)
MADPLAY_SOURCE := $(SRCDIR)/$(MADPLAY).$(MADPLAY_SUFFIX)
MADPLAY_DIR := $(BUILDDIR)/$(MADPLAY)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
MADPLAY_PATH := PATH=$(CROSS_PATH)
MADPLAY_ENV := $(CROSS_ENV)
#
# autoconf
#
MADPLAY_AUTOCONF := $(CROSS_AUTOCONF_USR) \
--disable-debugging \
--disable-profiling \
--disable-nls \
--disable-experimental \
--without-esd \
--with-alsa
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/madplay.targetinstall:
@$(call targetinfo)
@$(call install_init, madplay)
@$(call install_fixup, madplay,PRIORITY,optional)
@$(call install_fixup, madplay,SECTION,base)
@$(call install_fixup, madplay,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, madplay,DESCRIPTION,missing)
@$(call install_copy, madplay, 0, 0, 0755, -, /usr/bin/madplay)
@$(call install_finish, madplay)
@$(call touch)
# vim: syntax=make
|