diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-08-23 16:16:44 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-08-23 16:16:44 +0000 |
commit | 1cb83a67f72200f89e7309a7556feb2e6dd0e9fd (patch) | |
tree | 94c47c41ba3d0c17234e03d5fa33bab4934ccca3 | |
parent | fb9a17e73f8cd07ddded05dd06d60a58c0ab7b3a (diff) | |
download | ptxdist-1cb83a67f72200f89e7309a7556feb2e6dd0e9fd.tar.gz ptxdist-1cb83a67f72200f89e7309a7556feb2e6dd0e9fd.tar.xz |
* libid3tag.in, libid3tag.make:
new
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8757 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r-- | rules/libid3tag.in | 10 | ||||
-rw-r--r-- | rules/libid3tag.make | 85 |
2 files changed, 95 insertions, 0 deletions
diff --git a/rules/libid3tag.in b/rules/libid3tag.in new file mode 100644 index 000000000..a7b04f7c5 --- /dev/null +++ b/rules/libid3tag.in @@ -0,0 +1,10 @@ +config LIBID3TAG + tristate + select ZLIB + prompt "libid3tag" + help + ID3 tag reading library from the MAD project + + ID3 tag manipulation library with full support for reading + ID3v1, ID3v1.1, ID3v2.2, ID3v2.3, and ID3v2.4 tags, as well + as support for writing ID3v1, ID3v1.1, and ID3v2.4 tags. diff --git a/rules/libid3tag.make b/rules/libid3tag.make new file mode 100644 index 000000000..0e6bd359a --- /dev/null +++ b/rules/libid3tag.make @@ -0,0 +1,85 @@ +# -*-makefile-*- +# $Id: template-make 8509 2008-06-12 12:45:40Z mkl $ +# +# Copyright (C) 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_LIBID3TAG) += libid3tag + +# +# Paths and names +# +LIBID3TAG_VERSION := 0.15.1b +LIBID3TAG := libid3tag-$(LIBID3TAG_VERSION) +LIBID3TAG_SUFFIX := tar.gz +LIBID3TAG_URL := ftp://ftp.mars.org/pub/mpeg/$(LIBID3TAG).$(LIBID3TAG_SUFFIX) +LIBID3TAG_SOURCE := $(SRCDIR)/$(LIBID3TAG).$(LIBID3TAG_SUFFIX) +LIBID3TAG_DIR := $(BUILDDIR)/$(LIBID3TAG) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(LIBID3TAG_SOURCE): + @$(call targetinfo) + @$(call get, LIBID3TAG) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBID3TAG_PATH := PATH=$(CROSS_PATH) +LIBID3TAG_ENV := $(CROSS_ENV) + +# +# autoconf +# +LIBID3TAG_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ + --disable-debugging \ + --disable-profiling + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libid3tag.targetinstall: + @$(call targetinfo) + + @$(call install_init, libid3tag) + @$(call install_fixup, libid3tag,PACKAGE,libid3tag) + @$(call install_fixup, libid3tag,PRIORITY,optional) + @$(call install_fixup, libid3tag,VERSION,$(LIBID3TAG_VERSION)) + @$(call install_fixup, libid3tag,SECTION,base) + @$(call install_fixup, libid3tag,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>") + @$(call install_fixup, libid3tag,DEPENDS,) + @$(call install_fixup, libid3tag,DESCRIPTION,missing) + + @$(call install_copy, libid3tag, 0, 0, 0644, \ + $(LIBID3TAG_DIR)/.libs/libid3tag.so.0.3.0, \ + /usr/lib/libid3tag.so.0.3.0) + @$(call install_link, libid3tag, libid3tag.so.0.3.0, /usr/lib/libid3tag.so.0) + @$(call install_link, libid3tag, libid3tag.so.0.3.0, /usr/lib/libid3tag.so) + + @$(call install_finish, libid3tag) + + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +libid3tag_clean: + rm -rf $(STATEDIR)/libid3tag.* + rm -rf $(PKGDIR)/libid3tag_* + rm -rf $(LIBID3TAG_DIR) + +# vim: syntax=make |