summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-01 17:33:29 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-01 17:33:29 +0200
commitda32c7ca2d488ffdd2e37a1cc533338741342a3c (patch)
treed7e3d9f05ee157decdafe5a17165278965aaa5c0 /package
parent48cf66f1a2e2c501abeee98b7a2268b0d6d2010d (diff)
downloadbuildroot-novena-da32c7ca2d488ffdd2e37a1cc533338741342a3c.tar.gz
buildroot-novena-da32c7ca2d488ffdd2e37a1cc533338741342a3c.zip
tremor: fix svn checkout
Commit 1dc19c445 (split tremor into its own package) unfortunately broke the svn checkout step (but normally not noticable as we have a tarball on sources.buildroot.net that will get downloaded instead). Fix it by using a custom download step, and remove unused variables while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/multimedia/tremor/tremor.mk26
1 files changed, 9 insertions, 17 deletions
diff --git a/package/multimedia/tremor/tremor.mk b/package/multimedia/tremor/tremor.mk
index b49337542..74fd725ff 100644
--- a/package/multimedia/tremor/tremor.mk
+++ b/package/multimedia/tremor/tremor.mk
@@ -4,28 +4,20 @@
#
############################################################
-TREMOR_TRUNK:=http://svn.xiph.org/trunk/Tremor/
+TREMOR_SITE:=http://svn.xiph.org/trunk/Tremor/
TREMOR_VERSION:=16259
-TREMOR_NAME:=Tremor-svn-r$(TREMOR_VERSION)
-TREMOR_DIR:=$(BUILD_DIR)/$(TREMOR_NAME)
-TREMOR_SOURCE:=$(TREMOR_NAME).tar.bz2
-TREMOR_CAT=$(BZCAT)
+TREMOR_SVNDIR = Tremor-svn-r$(TREMOR_VERSION)
+TREMOR_SOURCE:= $(TREMOR_SVNDIR).tar.bz2
TREMOR_AUTORECONF = YES
TREMOR_INSTALL_STAGING = YES
TREMOR_INSTALL_TARGET = YES
$(DL_DIR)/$(TREMOR_SOURCE):
- $(SVN_CO) -r $(TREMOR_VERSION) $(TREMOR_TRUNK) $(TREMOR_DIR)
- tar -cv -C $(BUILD_DIR) $(TREMOR_NAME) | bzip2 - -c > $@
-
-$(eval $(call AUTOTARGETS,package/multimedia,tremor))
+ $(SVN_CO) -r $(TREMOR_VERSION) $(TREMOR_SITE) $(BUILD_DIR)/$(TREMOR_SVNDIR)
+ tar -cv -C $(BUILD_DIR) $(TREMOR_SVNDIR) | bzip2 - -c > $@
+ rm -rf $(BUILD_DIR)/$(TREMOR_SVNDIR)
+# use custom download step
+TREMOR_TARGET_SOURCE := $(DL_DIR)/$(TREMOR_SOURCE)
-############################################################
-#
-# Toplevel Makefile options
-#
-############################################################
-ifeq ($(BR2_PACKAGE_TREMOR),y)
-TARGETS+=tremor
-endif
+$(eval $(call AUTOTARGETS,package/multimedia,tremor))