summaryrefslogtreecommitdiffstats
path: root/rules/libtheora.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-03-13 20:18:56 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-03-13 20:18:56 +0000
commitc691e4f2db44e4139dda0aeb47934e5d02630a53 (patch)
treeb77cf827c8d2cec0bb610adb4afefa5546bc03da /rules/libtheora.make
parent7ed7caca121330b109eef06d9d583c2be38c6b37 (diff)
downloadptxdist-c691e4f2db44e4139dda0aeb47934e5d02630a53.tar.gz
ptxdist-c691e4f2db44e4139dda0aeb47934e5d02630a53.tar.xz
[libtheora] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10079 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/libtheora.make')
-rw-r--r--rules/libtheora.make55
1 files changed, 8 insertions, 47 deletions
diff --git a/rules/libtheora.make b/rules/libtheora.make
index 57aca5029..44cac775d 100644
--- a/rules/libtheora.make
+++ b/rules/libtheora.make
@@ -34,17 +34,6 @@ $(LIBTHEORA_SOURCE):
@$(call get, LIBTHEORA)
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/libtheora.extract:
- @$(call targetinfo)
- @$(call clean, $(LIBTHEORA_DIR))
- @$(call extract, LIBTHEORA)
- @$(call patchin, LIBTHEORA)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
@@ -75,53 +64,31 @@ LIBTHEORA_AUTOCONF += --enable-ogg
else
LIBTHEORA_AUTOCONF += --disable-ogg
endif
+
ifdef PTXCONF_LIBTHEORA__VORBIS
LIBTHEORA_AUTOCONF += --enable-vorbis
else
LIBTHEORA_AUTOCONF += --disable-vorbis
endif
+
ifdef PTXCONF_LIBTHEORA__SDL
LIBTHEORA_AUTOCONF += --enable-sdl
else
LIBTHEORA_AUTOCONF += --disable-sdl
endif
+
ifdef PTXCONF_LIBTHEORA__FLOAT
LIBTHEORA_AUTOCONF += --enable-float
else
LIBTHEORA_AUTOCONF += --disable-float
endif
+
ifdef PTXCONF_LIBTHEORA__ENCODING
LIBTHEORA_AUTOCONF += --enable-encode
else
LIBTHEORA_AUTOCONF += --disable-encode
endif
-$(STATEDIR)/libtheora.prepare:
- @$(call targetinfo)
- @$(call clean, $(LIBTHEORA_DIR)/config.cache)
- cd $(LIBTHEORA_DIR) && \
- $(LIBTHEORA_PATH) $(LIBTHEORA_ENV) \
- ./configure $(LIBTHEORA_AUTOCONF)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/libtheora.compile:
- @$(call targetinfo)
- cd $(LIBTHEORA_DIR) && $(LIBTHEORA_PATH) $(MAKE) $(PARALLELMFLAGS)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/libtheora.install:
- @$(call targetinfo)
- @$(call install, LIBTHEORA)
- @$(call touch)
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
@@ -134,25 +101,19 @@ $(STATEDIR)/libtheora.targetinstall:
@$(call install_fixup, libtheora,PRIORITY,optional)
@$(call install_fixup, libtheora,VERSION,$(LIBTHEORA_VERSION))
@$(call install_fixup, libtheora,SECTION,base)
- @$(call install_fixup, libtheora,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup, libtheora,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, libtheora,DEPENDS,)
@$(call install_fixup, libtheora,DESCRIPTION,missing)
- @$(call install_copy, libtheora, 0, 0, 0644, \
- $(LIBTHEORA_DIR)/lib/.libs/libtheora.so.0.3.4, \
- /usr/lib/libtheora.so.0.3.4)
+ @$(call install_copy, libtheora, 0, 0, 0644, -, /usr/lib/libtheora.so.0.3.4)
@$(call install_link, libtheora, libtheora.so.0.3.4, /usr/lib/libtheora.so.0)
@$(call install_link, libtheora, libtheora.so.0.3.4, /usr/lib/libtheora.so)
- @$(call install_copy, libtheora, 0, 0, 0644, \
- $(LIBTHEORA_DIR)/lib/.libs/libtheoradec.so.1.0.1, \
- /usr/lib/libtheoradec.so.1.0.1)
+ @$(call install_copy, libtheora, 0, 0, 0644, -, /usr/lib/libtheoradec.so.1.0.1)
@$(call install_link, libtheora, libtheoradec.so.1.0.1, /usr/lib/libtheoradec.so.1)
@$(call install_link, libtheora, libtheoradec.so.1.0.1, /usr/lib/libtheoradec.so)
- @$(call install_copy, libtheora, 0, 0, 0644, \
- $(LIBTHEORA_DIR)/lib/.libs/libtheoraenc.so.1.0.1, \
- /usr/lib/libtheoraenc.so.1.0.1)
+ @$(call install_copy, libtheora, 0, 0, 0644, -, /usr/lib/libtheoraenc.so.1.0.1)
@$(call install_link, libtheora, libtheoraenc.so.1.0.1, /usr/lib/libtheoraenc.so.1)
@$(call install_link, libtheora, libtheoraenc.so.1.0.1, /usr/lib/libtheoraenc.so)