[SCM] xvidcore packaging branch, master, updated. debian/1.2.2+debian-0ubuntu1-10-g149381e

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Sat May 8 05:29:53 UTC 2010


The following commit has been merged in the master branch:
commit d722cea7a25a86570eba82cda61e332d1f5bdd7b
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Sat May 8 00:56:49 2010 -0400

    Remove dependence on cdbs and just use debhelper.
    Also removes dependence on autotools-dev

diff --git a/debian/control b/debian/control
index c234063..db4e464 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,7 @@ Uploaders: Loïc Martin <loic.martin3 at gmail.com>,
            Reinhard Tartler <siretart at tauware.de>,
            Fabian Greffrath <fabian at debian-unofficial.org>,
            Andres Mejia <mcitadel at gmail.com>
-Build-Depends: autotools-dev,
-               cdbs,
-               debhelper (>= 7),
+Build-Depends: debhelper (>= 7.0.50~),
                yasm (>= 0.8) [i386 amd64]
 Standards-Version: 3.8.4
 Homepage: http://www.xvid.org/
diff --git a/debian/rules b/debian/rules
index 2a52920..9df77a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,25 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+%:
+	dh $@
 
-DEB_SRCDIR := build/generic
-DEB_BUILDDIR := build/generic
+override_dh_auto_configure:
+	dh_testdir
+	cd $(CURDIR)/build/generic && \
+	./configure --prefix=/usr
 
-DEB_INSTALL_CHANGELOGS_ALL += ChangeLog
-DEB_INSTALL_DOCS_ALL += AUTHORS README TODO
+override_dh_auto_build:
+	dh_testdir
+	cd $(CURDIR)/build/generic && \
+	make
+
+override_dh_auto_install:
+	dh_testdir
+	dh_testroot
+	cd $(CURDIR)/build/generic && \
+	make install DESTDIR=../../debian/tmp
+
+override_dh_auto_clean:
+	dh_testdir
+	cd $(CURDIR)/build/generic && \
+	make clean distclean

-- 
xvidcore packaging



More information about the pkg-multimedia-commits mailing list