[Pkg-lustre-svn-commit] r441 - in /trunk/debian: control lustre-tests.install rules
goswin-guest at users.alioth.debian.org
goswin-guest at users.alioth.debian.org
Wed Feb 13 15:10:24 UTC 2008
Author: goswin-guest
Date: Wed Feb 13 15:10:23 2008
New Revision: 441
URL: http://svn.debian.org/wsvn/pkg-lustre/?sc=1&rev=441
Log:
Add lustre-tests package with the test suite.
Added:
trunk/debian/lustre-tests.install
Modified:
trunk/debian/control
trunk/debian/rules
Modified: trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-lustre/trunk/debian/control?rev=441&op=diff
==============================================================================
--- trunk/debian/control (original)
+++ trunk/debian/control Wed Feb 13 15:10:23 2008
@@ -54,6 +54,18 @@
This package provides a number of userspace utilities for
maintaining Lustre filesystems.
+Package: lustre-tests
+Section: admin
+Architecture: i386 powerpc amd64 ia64
+Priority: optional
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Test suite for the Lustre filesystem
+ Lustre is a scalable, secure, robust, highly-available cluster file system.
+ It is maintained by Cluster Filesystems, Inc. and available from
+ http://www.lustre.org
+ .
+ This package provides a number of test utilities for the Lustre filesystem.
+
Package: liblustre
Priority: optional
Architecture: i386 powerpc amd64 ia64
Added: trunk/debian/lustre-tests.install
URL: http://svn.debian.org/wsvn/pkg-lustre/trunk/debian/lustre-tests.install?rev=441&op=file
==============================================================================
--- trunk/debian/lustre-tests.install (added)
+++ trunk/debian/lustre-tests.install Wed Feb 13 15:10:23 2008
@@ -1,0 +1,2 @@
+debian/tmp/usr/lib/lustre/tests/* usr/lib/lustre/tests/
+
Modified: trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lustre/trunk/debian/rules?rev=441&op=diff
==============================================================================
--- trunk/debian/rules (original)
+++ trunk/debian/rules Wed Feb 13 15:10:23 2008
@@ -38,6 +38,7 @@
# Packages
PATCH_PKG=linux-patch-lustre
UTILS_PKG=lustre-utils
+TESTS_PKG=lustre-tests
DEV_PKG=lustre-dev
LIB_PKG=liblustre
SOURCE_PKG=lustre-source
@@ -64,12 +65,11 @@
mkdir -p $(BUILDDIR)/build $(BUILDDIR)/lustre/contrib $(BUILDDIR)/libsysio
cp build/Makefile $(BUILDDIR)/build/
cp lustre/contrib/mpich-*.patch $(BUILDDIR)/lustre/contrib/
-# ln -s libsysio/include $(BUILDDIR)/libsysio/
+ ln -s ../../../libsysio/include $(BUILDDIR)/libsysio/
( cd $(BUILDDIR) && \
../../configure --disable-dependency-tracking \
--disable-modules \
--enable-snmp \
- --disable-tests \
--disable-client \
--enable-quota \
--disable-server )
@@ -90,7 +90,7 @@
$(MAKE) -C $(BUILDDIR) DESTDIR=$(TOP_DIR)/debian/tmp install
touch $@
-binary-arch: binary-$(UTILS_PKG) binary-$(DEV_PKG) binary-$(LIB_PKG)
+binary-arch: binary-$(UTILS_PKG) binary-$(TESTS_PKG) binary-$(DEV_PKG) binary-$(LIB_PKG)
binary-indep: binary-$(PATCH_PKG) binary-$(SOURCE_PKG)
@@ -152,6 +152,25 @@
dh_gencontrol -p $(UTILS_PKG)
dh_md5sums -p $(UTILS_PKG)
dh_builddeb -p $(UTILS_PKG)
+
+binary-$(TESTS_PKG): build-stamp
+ dh_testdir
+ dh_testroot
+ dh_installdirs -p $(TESTS_PKG)
+ dh_installdocs -p $(TESTS_PKG)
+ dh_installman -p $(TESTS_PKG)
+ dh_install -p $(TESTS_PKG)
+ dh_makeshlibs -p $(TESTS_PKG)
+ dh_shlibdeps -L $(LIB_PKG) -l debian/$(LIB_PKG)/usr/lib
+ dh_installexamples -p $(TESTS_PKG)
+ dh_installchangelogs -p $(TESTS_PKG) lustre/ChangeLog
+ dh_compress -p $(TESTS_PKG)
+ dh_strip -p $(TESTS_PKG)
+ dh_installdeb -p $(TESTS_PKG)
+ dh_fixperms -p $(TESTS_PKG)
+ dh_gencontrol -p $(TESTS_PKG)
+ dh_md5sums -p $(TESTS_PKG)
+ dh_builddeb -p $(TESTS_PKG)
binary-$(DEV_PKG): build-stamp
dh_testdir
More information about the Pkg-lustre-svn-commit
mailing list