Michael Grzeschik wrote:
> sox is the GNU audio army knife

looks quite good, comments inline.

cheers, Marc

> Signed-off-by: Michael Grzeschik <[email protected]>
> ---
>  rules/sox.in   |    6 ++++
>  rules/sox.make |   75 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 81 insertions(+), 0 deletions(-)
>  create mode 100644 rules/sox.in
>  create mode 100644 rules/sox.make
> 
> diff --git a/rules/sox.in b/rules/sox.in
> new file mode 100644
> index 0000000..38fe56d
> --- /dev/null
> +++ b/rules/sox.in
> @@ -0,0 +1,6 @@
> +## SECTION=multimedia_sound
> +config SOX
> +     tristate
> +     prompt "sox                        "
> +     help
> +       The GNU audio army knife
> diff --git a/rules/sox.make b/rules/sox.make
> new file mode 100644
> index 0000000..658271c
> --- /dev/null
> +++ b/rules/sox.make
> @@ -0,0 +1,75 @@
> +#
> +# Copyright (C) 2010 by Michael Grzeschik <[email protected]>
> +#
> +# 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_SOX) += sox
> +
> +#
> +# Paths and names
> +#
> +SOX_VERSION  := 14.3.0
> +SOX          := sox-$(SOX_VERSION)
> +SOX_SUFFIX   := tar.gz
> +SOX_URL              := $(PTXCONF_SETUP_SFMIRROR)/sox/$(SOX).$(SOX_SUFFIX)
> +SOX_SOURCE   := $(SRCDIR)/$(SOX).$(SOX_SUFFIX)
> +SOX_DIR              := $(BUILDDIR)/$(SOX)
> +
> +
> +# 
> ----------------------------------------------------------------------------
> +# Get
> +# 
> ----------------------------------------------------------------------------
> +
> +$(SOX_SOURCE):
> +     @$(call targetinfo)
> +     @$(call get, SOX)
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +SOX_AUTOCONF := \
> +     $(CROSS_AUTOCONF_USR) \
> +     --disable-gomp
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +sox_targetinstall: $(STATEDIR)/sox.targetinstall

please remove

> +
> +$(STATEDIR)/sox.targetinstall: $(sox_targetinstall_deps_default)

please remove the "$(sox_targetinstall_deps_default)"

> +     @$(call targetinfo)
> +
> +     @$(call install_init, sox)
> +     @$(call install_fixup, sox,PACKAGE,sox)
> +     @$(call install_fixup, sox,PRIORITY,optional)
> +     @$(call install_fixup, sox,VERSION,$(SOX_VERSION))
> +     @$(call install_fixup, sox,SECTION,base)
> +     @$(call install_fixup, sox,AUTHOR,"Michael Grzeschik 
> <[email protected]>")
> +     @$(call install_fixup, sox,DEPENDS,)
> +     @$(call install_fixup, sox,DESCRIPTION,missing)
> +
> +     @$(call install_copy, sox, 0, 0, 0755, -, /usr/bin/sox)
> +     @$(call install_link, sox, sox, /usr/bin/soxi)
> +     @$(call install_link, sox, sox, /usr/bin/play)
> +     @$(call install_link, sox, sox, /usr/bin/rec)
> +
> +     @$(call install_copy, sox, 0, 0, 0644, -, /usr/lib/libsox.so.1.0.0)
> +     @$(call install_link, sox, libsox.so.1.0.0, /usr/lib/libsox.so.1)
> +     @$(call install_link, sox, libsox.so.1.0.0, /usr/lib/libsox.so)
> +
> +     @$(call install_finish, sox)
> +     @$(call touch)
> +
> +# vim: syntax=make


-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
ptxdist mailing list
[email protected]

Reply via email to