update libdca (untested)
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 14 Apr 2007 16:50:43 +0000 (16:50 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 14 Apr 2007 16:50:43 +0000 (16:50 +0000)
extras/contrib/src/Makefile
extras/contrib/src/packages.mak

index ac27ba4..5d2e674 100644 (file)
@@ -1182,25 +1182,19 @@ DISTCLEAN_PKG += libcaca-$(LIBCACA_VERSION).tar.gz
 # libdca
 # ***************************************************************************
 
-libdca:
-       $(SVN) co $(LIBDCA_SVN) -r 35 libdca
-       (cd $@; ./bootstrap)
+libdca-$(LIBDCA_VERSION).tar.bz2:
+       $(WGET) $(LIBDCA_URL)
+
+libdca: libdca-$(LIBDCA_VERSION).tar.bz2
+       $(EXTRACT_BZ2)
 
 .libdca: libdca
        (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
        touch $@
 
-ifdef SVN
-libdca-source: libdca
-       cd libdca;   find . -depth -iname ".svn" -exec rm -rf {} \;
-       cd ..;
-       tar cfvz libdca-$(DATE).tar.gz libdca
-
-SOURCE += libdca-source
-endif
-
 CLEAN_FILE += .libdca
 CLEAN_PKG += libdca
+DISTCLEAN_PKG += libdca-$(LIBDCA_VERSION).tar.bz2
 
 # ***************************************************************************
 # libx264
index 26cf966..d60f21e 100644 (file)
@@ -99,6 +99,8 @@ GOOM2k4_VERSION=2k4-0
 GOOM2k4_URL=$(SF)/goom/goom-$(GOOM2k4_VERSION)-src.tar.gz
 LIBCACA_VERSION=0.9
 LIBCACA_URL=http://libcaca.zoy.org/files/libcaca-$(LIBCACA_VERSION).tar.gz
+LIBDCA_VERSION=0.0.5
+LIBDCA_URL=ftp://ftp.videolan.org/pub/videolan/libdca/$(LIBDCA_VERSION)/libdca-$(LIBDCA_VERSION).tar.bz2
 LIBDC1394_VERSION=1.2.1
 LIBDC1394_URL=$(SF)/libdc1394/libdc1394-$(LIBDC1394_VERSION).tar.gz
 LIBDC1394_SVN=https://svn.sourceforge.net/svnroot