[PATCH] Add udeb

Loïc Minier lool at dooz.org
Sun May 30 14:04:53 UTC 2010


---
 debian/control              |   16 ++++++++++++++++
 debian/libxml2-udeb.install |    1 +
 debian/rules                |    2 +-
 3 files changed, 18 insertions(+), 1 deletions(-)
 create mode 100644 debian/libxml2-udeb.install

diff --git a/debian/control b/debian/control
index db3cf16..658020a 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,22 @@ Description: GNOME XML library
  This package provides a library providing an extensive API to handle
  such XML data files.
 
+Package: libxml2-udeb
+XC-Package-Type: udeb
+Architecture: any
+Section: debian-installer
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GNOME XML library - minimal runtime
+ XML is a metalanguage to let you design your own markup language.
+ A regular markup language defines a way to describe information in
+ a certain class of documents (eg HTML). XML lets you define your
+ own customized markup languages for many classes of document. It
+ can do this because it's written in SGML, the international standard
+ metalanguage for markup languages.
+ .
+ This is a minimal package for use in debian-installer that yields a
+ library providing an extensive API to handle such XML data files.
+
 Package: libxml2-utils
 Architecture: any
 Section: text
diff --git a/debian/libxml2-udeb.install b/debian/libxml2-udeb.install
new file mode 100644
index 0000000..59ed997
--- /dev/null
+++ b/debian/libxml2-udeb.install
@@ -0,0 +1 @@
+usr/lib/libxml2.so.*
diff --git a/debian/rules b/debian/rules
index d2ed9f3..7203244 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,7 @@ override_dh_strip:
 		fi;)
 
 override_dh_makeshlibs:
-	dh_makeshlibs -a -V 'libxml2 (>= 2.7.4)' -- -c4
+	dh_makeshlibs -a --add-udeb=libxml2-udeb -V 'libxml2 (>= 2.7.4)' -- -c4
 
 %:
 	dh $@
-- 
1.7.0.4


--fdj2RfSjLxBAspz7--





More information about the debian-xml-sgml-pkgs mailing list