r961 - in /unstable/mpeg2dec/debian: changelog rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Sun Dec 16 14:00:29 UTC 2007
Author: lool
Date: Sun Dec 16 14:00:29 2007
New Revision: 961
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=961
Log:
* Cleanup rules.
* Retrieve the shared library package name (with SONAME) from control.
Modified:
unstable/mpeg2dec/debian/changelog
unstable/mpeg2dec/debian/rules
Modified: unstable/mpeg2dec/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/mpeg2dec/debian/changelog?rev=961&op=diff
==============================================================================
--- unstable/mpeg2dec/debian/changelog (original)
+++ unstable/mpeg2dec/debian/changelog Sun Dec 16 14:00:29 2007
@@ -6,6 +6,8 @@
* Wrap build-deps, deps, and uploaders.
* Use ${binary:Version} instead of ${Source-Version}; build-dep on dpkg-dev
>= 1.13.19.
+ * Cleanup rules.
+ * Retrieve the shared library package name (with SONAME) from control.
-- Loic Minier <lool at dooz.org> Sun, 16 Dec 2007 14:48:42 +0100
Modified: unstable/mpeg2dec/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/mpeg2dec/debian/rules?rev=961&op=diff
==============================================================================
--- unstable/mpeg2dec/debian/rules (original)
+++ unstable/mpeg2dec/debian/rules Sun Dec 16 14:00:29 2007
@@ -1,15 +1,17 @@
#!/usr/bin/make -f
-
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/autotools.mk
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared
-DEB_SHLIBDEPS_INCLUDE := debian/libmpeg2-4/usr/lib
+# retrieve the shared library package name (with SONAME) from control
+libmpeg2N := $(shell sed -rn 's/Package:[[:space:]]*(libmpeg2-[0-9]+)[[:space:]]*$$/\1/p' debian/control)
+
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-shared
+DEB_SHLIBDEPS_INCLUDE += debian/$(libmpeg2N)/usr/lib
DEB_INSTALL_DOCS_ALL += debian/README.Debian
-DEB_C_DEFAULT_OPT := ""
DEB_AC_AUX_DIR := autotools
+# XXX -dev package name should be renamed to libmpeg2-dev
DEB_INSTALL_DOCS_libmpeg2-4-dev += doc/libmpeg2.txt
+
More information about the pkg-multimedia-commits
mailing list