[SCM] liblrdf packaging branch, master, updated. debian/0.4.0-1.2-36-g835fab0
js at users.alioth.debian.org
js at users.alioth.debian.org
Fri Mar 12 05:58:56 UTC 2010
The following commit has been merged in the master branch:
commit efc44733dd52fc88e1ce65827005f89d15cfb379
Author: Jonas Smedegaard <dr at jones.dk>
Date: Fri Mar 12 06:14:33 2010 +0100
Enable CDBS relibtoolization.
diff --git a/debian/control b/debian/control
index e9fd3d1..f237763 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Source: liblrdf
Priority: optional
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
Uploaders: Jonas Smedegaard <dr at jones.dk>
-Build-Depends: cdbs, autotools-dev, debhelper (>= 6),
+Build-Depends: cdbs, autotools-dev, libtool, automake1.11, autoconf, debhelper (>= 6),
d-shlibs,
ladspa-sdk,
libraptor1-dev
diff --git a/debian/rules b/debian/rules
index 7b9e0a7..254a122 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,13 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
+
+DEB_AUTO_UPDATE_LIBTOOL = pre
+DEB_AUTO_UPDATE_AUTOCONF = 2.65
+DEB_AUTO_UPDATE_AUTOHEADER = 2.65
+DEB_AUTO_UPDATE_ACLOCAL = 1.11
+DEB_AUTO_UPDATE_AUTOMAKE = 1.11
+
-include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
@@ -27,6 +33,37 @@ CDBS_BUILD_DEPENDS_upstream-tarball =
DEB_UPSTREAM_URL = http://downloads.sourceforge.net/lrdf
+# put aside upstream-shipped temp files during build but after copyright-check
+upstreamtmpfiles = INSTALL \
+ Makefile.in \
+ aclocal.m4 \
+ config.guess \
+ config.sub \
+ configure \
+ depcomp \
+ examples/Makefile.in \
+ install-sh \
+ ltmain.sh \
+ missing \
+ mkinstalldirs \
+ src/Makefile.am \
+ src/Makefile.in \
+ src/lrdf_md5.h
+pre-build:: debian/stamp-upstreamtmpstuff
+debian/stamp-upstreamtmpstuff: debian/stamp-copyright-check
+ for file in $(upstreamtmpfiles); do \
+ [ ! -e $$file ] || [ -e $$file.upstream ] || mv $$file $$file.upstream; \
+ done
+ touch $@
+clean::
+ for file in $(upstreamtmpfiles); do \
+ [ ! -e $$file.upstream ] || mv -f $$file.upstream $$file; \
+ done
+ rm -f debian/stamp-upstreamtmpstuff
+
+clean::
+ rm -f stamp-h
+
binary-post-install/liblrdf0::
d-shlibmove --commit \
--movedev "debian/tmp/usr/include/*" usr/include/ \
--
liblrdf packaging
More information about the pkg-multimedia-commits
mailing list