libcgroup: don't build tests 13121/head
authorRosen Penev <rosenp@gmail.com>
Wed, 12 Aug 2020 19:50:43 +0000 (12:50 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 14 Aug 2020 04:50:27 +0000 (21:50 -0700)
Speeds up compile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libcgroup/Makefile
libs/libcgroup/patches/020-tests.patch [new file with mode: 0644]

index 2545c78cf1dd701ea8dbd4aa033b402bd859ee9e..2258e11456449e6e04dc3520df73440efb4b010d 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libcgroup
 PKG_VERSION:=0.41
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/libcg
@@ -12,6 +12,7 @@ PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
 PKG_LICENSE:=LGPL-2.1-or-later
 PKG_LICENSE_FILES:=COPYING
 
+PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 
diff --git a/libs/libcgroup/patches/020-tests.patch b/libs/libcgroup/patches/020-tests.patch
new file mode 100644 (file)
index 0000000..72d64b4
--- /dev/null
@@ -0,0 +1,9 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = foreign
+-SUBDIRS = dist doc include samples scripts src tests
++SUBDIRS = dist include samples scripts src
+ EXTRA_DIST = README_daemon libcgroup.doxyfile README_systemd