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
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2010 by Juergen Kilb
#
# 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_MPG123) += mpg123
#
# Paths and names
#
MPG123_VERSION := 1.12.1
MPG123 := mpg123-$(MPG123_VERSION)
MPG123_SUFFIX := tar.bz2
MPG123_URL := http://www.mpg123.org/download/$(MPG123).$(MPG123_SUFFIX)
MPG123_SOURCE := $(SRCDIR)/$(MPG123).$(MPG123_SUFFIX)
MPG123_DIR := $(BUILDDIR)/$(MPG123)
MPG123_LICENSE := LGPLv2.1
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(MPG123_SOURCE):
@$(call targetinfo)
@$(call get, MPG123)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
MPG123_CONF_TOOL := autoconf
MPG123_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
$(GLOBAL_IPV6_OPTION) \
--with-audio=alsa,oss \
--with-default-audio=alsa
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/mpg123.targetinstall:
@$(call targetinfo)
@$(call install_init, mpg123)
@$(call install_fixup, mpg123,PRIORITY,optional)
@$(call install_fixup, mpg123,SECTION,base)
@$(call install_fixup, mpg123,AUTHOR,"Juergen Kilb <J.Kilb@phytec.de>")
@$(call install_fixup, mpg123,DESCRIPTION,missing)
@$(call install_copy, mpg123, 0, 0, 0755, -, /usr/bin/mpg123)
@$(call install_lib, mpg123, 0, 0, 0644, libmpg123)
@$(call install_finish, mpg123)
@$(call touch)
# vim: syntax=make
|