From: Michael Tremer Date: Thu, 10 Mar 2011 15:00:36 +0000 (+0100) Subject: libcap: Add some tests. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05db332b071fd4e387b7a5cc69889a639fed7feb;p=ipfire-3.x.git libcap: Add some tests. --- diff --git a/pkgs/libcap/libcap.nm b/pkgs/libcap/libcap.nm index 7e1b56cad..34cf31be4 100644 --- a/pkgs/libcap/libcap.nm +++ b/pkgs/libcap/libcap.nm @@ -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