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
69
70
|
# -*-makefile-*-
#
# Copyright (C) 2013 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_VORBIS_TOOLS) += vorbis-tools
#
# Paths and names
#
VORBIS_TOOLS_VERSION := 1.4.0
VORBIS_TOOLS_MD5 := 567e0fb8d321b2cd7124f8208b8b90e6
VORBIS_TOOLS := vorbis-tools-$(VORBIS_TOOLS_VERSION)
VORBIS_TOOLS_SUFFIX := tar.gz
VORBIS_TOOLS_URL := http://downloads.xiph.org/releases/vorbis/$(VORBIS_TOOLS).$(VORBIS_TOOLS_SUFFIX)
VORBIS_TOOLS_SOURCE := $(SRCDIR)/$(VORBIS_TOOLS).$(VORBIS_TOOLS_SUFFIX)
VORBIS_TOOLS_DIR := $(BUILDDIR)/$(VORBIS_TOOLS)
VORBIS_TOOLS_LICENSE := GPLv2
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
VORBIS_TOOLS_CONF_TOOL := autoconf
VORBIS_TOOLS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
$(GLOBAL_LARGE_FILE_OPTION) \
--without-kate \
--without-curl
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
VORBIS_TOOLS_PROGS :=
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGG123) += ogg123
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGGDEC) += oggdec
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGGENC) += oggenc
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_OGGINFO) += ogginfo
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_VCUT) += vcut
VORBIS_TOOLS_PROGS_$(PTXCONF_VORBIS_TOOLS_VORBISCOMMENT) += vorbiscomment
$(STATEDIR)/vorbis-tools.targetinstall:
@$(call targetinfo)
@$(call install_init, vorbis-tools)
@$(call install_fixup, vorbis-tools,PRIORITY,optional)
@$(call install_fixup, vorbis-tools,SECTION,base)
@$(call install_fixup, vorbis-tools,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
@$(call install_fixup, vorbis-tools,DESCRIPTION,missing)
@$(foreach prog, $(VORBIS_TOOLS_PROGS_y), \
$(call install_copy, vorbis-tools, 0, 0, 0755, -, /usr/bin/$(prog));)
@$(call install_finish, vorbis-tools)
@$(call touch)
# vim: syntax=make
|