mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
debian: Build libguestfs-ocaml and libguestfs-ocaml-dev subpackages.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -205,6 +205,7 @@ Makefile
|
||||
Makefile.in
|
||||
missing
|
||||
*.o
|
||||
ocamlinit-stamp
|
||||
ocaml/bindtests
|
||||
ocaml/bindtests.ml
|
||||
ocaml/dllmlguestfs.so
|
||||
|
||||
5
debian/.gitignore
vendored
5
debian/.gitignore
vendored
@@ -3,10 +3,15 @@
|
||||
*.substvars
|
||||
changelog
|
||||
files
|
||||
guestfsd/
|
||||
guestfish/
|
||||
guestmount/
|
||||
libguestfs-dev/
|
||||
libguestfs-doc/
|
||||
libguestfs-ocaml/
|
||||
libguestfs-ocaml.install
|
||||
libguestfs-ocaml-dev/
|
||||
libguestfs-ocaml-dev.install
|
||||
libguestfs-perl/
|
||||
libguestfs-tools/
|
||||
libguestfs0-dbg/
|
||||
|
||||
52
debian/control
vendored
52
debian/control
vendored
@@ -25,7 +25,9 @@ Build-Depends: debhelper (>= 7), dpkg-dev, devscripts, autotools-dev,
|
||||
# FUSE
|
||||
libfuse-dev, fuse-utils,
|
||||
# virt-resize
|
||||
libpcre-ocaml-dev
|
||||
libpcre-ocaml-dev,
|
||||
# Debian OCaml
|
||||
dh-ocaml
|
||||
Homepage: http://libguestfs.org
|
||||
Standards-Version: 3.8.2
|
||||
|
||||
@@ -243,3 +245,51 @@ Description: library for accessing and modifying guest disk images
|
||||
the guest. Also you can upload and download files and directories.
|
||||
.
|
||||
This package contains the Perl bindings.
|
||||
|
||||
Package: libguestfs-ocaml
|
||||
Architecture: any
|
||||
Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||
Provides: ${ocaml:Provides}
|
||||
Description: library for accessing and modifying guest disk images
|
||||
libguestfs is a library for accessing and modifying guest disk images. Amongst
|
||||
the things this is good for: making batch configuration changes to guests,
|
||||
viewing and editing files inside guests, getting disk used/free statistics,
|
||||
migrating between virtualization systems, performing partial backups,
|
||||
performing partial guest clones, cloning guests and changing
|
||||
registry/UUID/hostname info, and much else besides.
|
||||
.
|
||||
It uses Linux kernel and qemu code, and can access any type of guest
|
||||
filesystem that Linux and qemu can, including but not limited to: ext2/3/4,
|
||||
btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2,
|
||||
vmdk.
|
||||
.
|
||||
libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what
|
||||
filesystem is in each LV, etc.). It can also run commands in the context of
|
||||
the guest. Also you can upload and download files and directories.
|
||||
.
|
||||
This package contains the OCaml bindings (runtime).
|
||||
|
||||
Package: libguestfs-ocaml-dev
|
||||
Architecture: any
|
||||
Depends: libguestfs-ocaml, libguestfs-dev, ocaml-findlib,
|
||||
${ocaml:Depends},
|
||||
${misc:Depends}
|
||||
Provides: ${ocaml:Provides}
|
||||
Description: library for accessing and modifying guest disk images
|
||||
libguestfs is a library for accessing and modifying guest disk images. Amongst
|
||||
the things this is good for: making batch configuration changes to guests,
|
||||
viewing and editing files inside guests, getting disk used/free statistics,
|
||||
migrating between virtualization systems, performing partial backups,
|
||||
performing partial guest clones, cloning guests and changing
|
||||
registry/UUID/hostname info, and much else besides.
|
||||
.
|
||||
It uses Linux kernel and qemu code, and can access any type of guest
|
||||
filesystem that Linux and qemu can, including but not limited to: ext2/3/4,
|
||||
btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2,
|
||||
vmdk.
|
||||
.
|
||||
libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what
|
||||
filesystem is in each LV, etc.). It can also run commands in the context of
|
||||
the guest. Also you can upload and download files and directories.
|
||||
.
|
||||
This package contains the OCaml bindings.
|
||||
|
||||
1
debian/libguestfs-ocaml-dev.examples
vendored
Normal file
1
debian/libguestfs-ocaml-dev.examples
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ocaml/examples/*.ml
|
||||
4
debian/libguestfs-ocaml-dev.install.in
vendored
Normal file
4
debian/libguestfs-ocaml-dev.install.in
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
@OCamlStdlibDir@/guestfs/META
|
||||
@OCamlStdlibDir@/guestfs/*.a
|
||||
@OCamlStdlibDir@/guestfs/*.cm*
|
||||
@OCamlStdlibDir@/guestfs/*.ml*
|
||||
1
debian/libguestfs-ocaml.install.in
vendored
Normal file
1
debian/libguestfs-ocaml.install.in
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@OCamlDllDir@/*.so
|
||||
3
debian/rules
vendored
3
debian/rules
vendored
@@ -12,6 +12,7 @@ DEB_BUILD_OPTIONS=nocheck
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||
include /usr/share/cdbs/1/rules/ocaml.mk
|
||||
|
||||
DEB_CONFIGURE_EXTRA_FLAGS := \
|
||||
--with-java-home=no \
|
||||
@@ -19,7 +20,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
|
||||
--disable-haskell \
|
||||
--disable-php \
|
||||
--with-readline \
|
||||
--enable-install-daemon \
|
||||
--enable-install-daemon \
|
||||
--with-python-installdir=/usr/share/pyshared
|
||||
|
||||
DEB_DBG_PACKAGES = libguestfs0-dbg
|
||||
|
||||
Reference in New Issue
Block a user