]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libcap: Add some tests.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Mar 2011 15:00:36 +0000 (16:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Mar 2011 15:00:36 +0000 (16:00 +0100)
pkgs/libcap/libcap.nm

index 7e1b56cad4c7067750fe032120718d045f94d84a..34cf31be433b42aeaba2d68ab771b2d4294a61a9 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = libcap
 PKG_VER        = 2.19
-PKG_REL        = 0
+PKG_REL        = 1
 
 PKG_MAINTAINER =
 PKG_GROUP      = System/Libraries
@@ -41,7 +41,7 @@ define PKG_DESCRIPTION
        draft 15 capabilities.
 endef
 
-PKG_BUILD_DEPS+= libattr-devel pam-devel perl
+PKG_BUILD_DEPS+= libattr-devel pam-devel perl /bin/ping
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
@@ -49,6 +49,10 @@ define STAGE_BUILD
        cd $(DIR_APP) && make DYNAMIC=yes LIBATTR=yes
 endef
 
+define STAGE_TEST
+       cd $(DIR_APP)/progs && ./quicktest.sh
+endef
+
 define STAGE_INSTALL
        cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) lib=/lib