[SCM] liblo/master: Switch from CDBS to short-form dh
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Sat Jul 23 16:07:03 UTC 2016
The following commit has been merged in the master branch:
commit ab85a2c2161177b9652779579e4213485d1424ef
Author: Felipe Sateler <fsateler at debian.org>
Date: Sat Jul 23 12:06:46 2016 -0400
Switch from CDBS to short-form dh
diff --git a/debian/rules b/debian/rules
index f9af413..a9ccf68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,46 +1,21 @@
#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2004-2006 Robert Jordens <rjo at gmx.de>
-# Copyright © 2008-2013 Felipe Sateler <fsateler at debian.org>
-# Copyright © 2010-2011 Jonas Smedegaard <dr at jones.dk>
-# Description: Main Debian packaging script for LibLO
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
--include /usr/share/cdbs/1/rules/upstream-tarball.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
-# suppress optional build-dependencies
-CDBS_BUILD_DEPENDS_rules_upstream-tarball =
-CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
-DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+.PHONY: build
+%:
+ dh $@ --with buildinfo,autoreconf --parallel
-pre-build::
+build: build-arch
+
+override_dh_auto_configure:
test "$(DEB_HOST_ARCH_CPU)" != "sparc"
test "$(DEB_HOST_ARCH_CPU)" != "sparc64"
+ dh_auto_configure -- \
+ --enable-static \
+ --disable-network-tests \
+ --enable-tests \
+ --enable-examples
-DEB_UPSTREAM_URL = http://downloads.sourceforge.net/liblo
-
-DEB_UPSTREAM_TARBALL_MD5 = e2a4391a08b49bb316c03e2034e06fa2
-
-#DEB_SHLIBDEPS_INCLUDE = lib/.libs
-DEB_CONFIGURE_USER_FLAGS = --enable-static \
- --disable-network-tests \
- --enable-tests \
- --enable-examples
-DEB_MAKE_CHECK_TARGET=test
--
liblo packaging
More information about the pkg-multimedia-commits
mailing list