]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: add lib{ceph,rados,crush}-dev packages
authorSage Weil <sage@newdream.net>
Wed, 2 Sep 2009 20:55:31 +0000 (13:55 -0700)
committerSage Weil <sage@newdream.net>
Wed, 2 Sep 2009 20:55:31 +0000 (13:55 -0700)
debian/control
debian/libceph-dev.dirs [new file with mode: 0644]
debian/libceph-dev.install [new file with mode: 0644]
debian/libcrush-dev.dirs [new file with mode: 0644]
debian/libcrush-dev.install [new file with mode: 0644]
debian/librados-dev.dirs [new file with mode: 0644]
debian/librados-dev.install [new file with mode: 0644]
src/Makefile.am

index 7ad6b3d83bb93e78379cd1d74b66505223c3b991..4856dc99084d8c60a309593d0bcb06bc32fb5c18 100644 (file)
@@ -54,6 +54,15 @@ Description: CRUSH mapping algorithm
  in storage clusters, where one wants to minimize movement of objects
  between servers when servers fail or are added to the cluster.
 
+Package: libcrush-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CRUSH mapping algorithm (development files)
+ CRUSH is a pseudo-random hash-like algorithm for mapping inputs to
+ a changing hierarchy of devices.  It was originally designed for use
+ in storage clusters, where one wants to minimize movement of objects
+ between servers when servers fail or are added to the cluster.
+
 Package: librados
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libcrush
@@ -63,6 +72,15 @@ Description: RADOS distributed object store client library
  shared library allowing applications to access the distributed object
  store using a simple file-like interface.
 
+Package: librados-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcrush, librados
+Description: RADOS distributed object store client library (development files)
+ RADOS is a reliable, autonomic distributed object storage cluster
+ developed as part of the Ceph distributed storage system.  This is a
+ shared library allowing applications to access the distributed object
+ store using a simple file-like interface.
+
 Package: libceph
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libcrush
@@ -72,3 +90,12 @@ Description: Ceph distributed file system client library
  shared library allowing applications to access a Ceph distributed
  file system via a POSIX-like interface.
 
+Package: libceph-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcrush
+Description: Ceph distributed file system client library (development files)
+ Ceph is a distributed network file system designed to provide
+ excellent performance, reliability, and scalability.  This is a
+ shared library allowing applications to access a Ceph distributed
+ file system via a POSIX-like interface.
+
diff --git a/debian/libceph-dev.dirs b/debian/libceph-dev.dirs
new file mode 100644 (file)
index 0000000..6ec7917
--- /dev/null
@@ -0,0 +1,2 @@
+/usr/lib
+/usr/include/ceph
diff --git a/debian/libceph-dev.install b/debian/libceph-dev.install
new file mode 100644 (file)
index 0000000..9b7f55a
--- /dev/null
@@ -0,0 +1,3 @@
+/usr/lib/libceph.a
+/usr/lib/libceph.la
+/usr/include/ceph/libceph.h
diff --git a/debian/libcrush-dev.dirs b/debian/libcrush-dev.dirs
new file mode 100644 (file)
index 0000000..2540a7f
--- /dev/null
@@ -0,0 +1,2 @@
+/usr/lib
+/usr/include/crush
\ No newline at end of file
diff --git a/debian/libcrush-dev.install b/debian/libcrush-dev.install
new file mode 100644 (file)
index 0000000..542017a
--- /dev/null
@@ -0,0 +1,6 @@
+/usr/lib/libcrush.a
+/usr/lib/libcrush.la
+/usr/include/crush/hash.h
+/usr/include/crush/types.h
+/usr/include/crush/mapper.h
+/usr/include/crush/crush.h
diff --git a/debian/librados-dev.dirs b/debian/librados-dev.dirs
new file mode 100644 (file)
index 0000000..692c321
--- /dev/null
@@ -0,0 +1,2 @@
+/usr/lib
+/usr/include/rados
diff --git a/debian/librados-dev.install b/debian/librados-dev.install
new file mode 100644 (file)
index 0000000..6b840a8
--- /dev/null
@@ -0,0 +1,3 @@
+/usr/lib/librados.a
+/usr/lib/librados.la
+/usr/include/rados/librados.h
\ No newline at end of file
index 42ae83aeab9a486f56e9c25562261e0a47d90558..fac736ae205b355183ba71917363726bc959d291 100644 (file)
@@ -245,6 +245,15 @@ install-data-local:
        $(install_sh_SCRIPT) -m 0755 init-ceph $(DESTDIR)/etc/init.d/ceph
        mkdir -p $(DESTDIR)$(sysconfdir)/init.d
        $(install_sh_SCRIPT) -m 0600 sample.ceph.conf $(DESTDIR)$(sysconfdir)/ceph/sample.ceph.conf
+       mkdir -p $(DESTDIR)$(includedir)/ceph
+       $(install_sh_SCRIPT) -m 0600 client/libceph.h $(DESTDIR)$(includedir)/ceph/libceph.h
+       mkdir -p $(DESTDIR)$(includedir)/rados
+       $(install_sh_SCRIPT) -m 0600 include/librados.h $(DESTDIR)$(includedir)/rados/librados.h
+       mkdir -p $(DESTDIR)$(includedir)/crush
+       $(install_sh_SCRIPT) -m 0600 crush/hash.h $(DESTDIR)$(includedir)/crush/hash.h
+       $(install_sh_SCRIPT) -m 0600 crush/crush.h $(DESTDIR)$(includedir)/crush/crush.h
+       $(install_sh_SCRIPT) -m 0600 crush/types.h $(DESTDIR)$(includedir)/crush/types.h
+       $(install_sh_SCRIPT) -m 0600 crush/mapper.h $(DESTDIR)$(includedir)/crush/mapper.h
 
 .make_last_ver:
        ./make_version --check