Hi,
the patch itself is okay.
On Sun, 2016-03-20 at 14:14 +0100, Marcel Lorenz wrote:
This package is only need for build kbd version 2.0.3 No files from this package are needed in the distribution. The package was original named "check" but the make.sh can't handle this name. ;-)
Please do not include those comments in the commit message because they don't really have any long-term use. Use the "cover letter" functionality of git send- email instead.
Why did naming the package "check" not work?
-Michael
Signed-off-by: Marcel Lorenz marcel.lorenz@ipfire.org
config/rootfiles/common/libcheck | 43 ++++++++++++++++++++++ lfs/libcheck | 77 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 config/rootfiles/common/libcheck create mode 100644 lfs/libcheck
diff --git a/config/rootfiles/common/libcheck b/config/rootfiles/common/libcheck new file mode 100644 index 0000000..0af3fcf --- /dev/null +++ b/config/rootfiles/common/libcheck @@ -0,0 +1,43 @@ +#usr/bin/checkmk +#usr/include/check.h +#usr/include/check_stdint.h +#usr/lib/libcheck.a +#usr/lib/libcheck.la +#usr/lib/libcheck.so +#usr/lib/libcheck.so.0 +#usr/lib/libcheck.so.0.0.0 +#usr/lib/pkgconfig/check.pc +#usr/share/aclocal/check.m4 +#usr/share/doc/check +#usr/share/doc/check/COPYING.LESSER +#usr/share/doc/check/ChangeLog +#usr/share/doc/check/ChangeLogOld +#usr/share/doc/check/NEWS +#usr/share/doc/check/README +#usr/share/doc/check/SVNChangeLog +#usr/share/doc/check/example +#usr/share/doc/check/example/Makefile.am +#usr/share/doc/check/example/README +#usr/share/doc/check/example/configure.ac +#usr/share/doc/check/example/src +#usr/share/doc/check/example/src/Makefile.am +#usr/share/doc/check/example/src/main.c +#usr/share/doc/check/example/src/money.1.c +#usr/share/doc/check/example/src/money.1.h +#usr/share/doc/check/example/src/money.2.h +#usr/share/doc/check/example/src/money.3.c +#usr/share/doc/check/example/src/money.4.c +#usr/share/doc/check/example/src/money.5.c +#usr/share/doc/check/example/src/money.6.c +#usr/share/doc/check/example/src/money.c +#usr/share/doc/check/example/src/money.h +#usr/share/doc/check/example/tests +#usr/share/doc/check/example/tests/Makefile.am +#usr/share/doc/check/example/tests/check_money.1.c +#usr/share/doc/check/example/tests/check_money.2.c +#usr/share/doc/check/example/tests/check_money.3.c +#usr/share/doc/check/example/tests/check_money.6.c +#usr/share/doc/check/example/tests/check_money.7.c +#usr/share/doc/check/example/tests/check_money.c +#usr/share/info/check.info +#usr/share/man/man1/checkmk.1 diff --git a/lfs/libcheck b/lfs/libcheck new file mode 100644 index 0000000..6e6291e --- /dev/null +++ b/lfs/libcheck @@ -0,0 +1,77 @@ +############################################################################# ## +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2012 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################# ##
+############################################################################# ## +# Definitions +############################################################################# ##
+include Config
+VER = 0.10.0
+THISAPP = check-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP)
+############################################################################# ## +# Top-level Rules +############################################################################# ##
+objects = $(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE)_MD5 = 53c5e5c77d090e103a17f3ed7fd7d8b8
+install : $(TARGET)
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+md5 : $(subst %,%_MD5,$(objects))
+############################################################################# ## +# Downloading, checking, md5sum +############################################################################# ##
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
+$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+############################################################################# ## +# Installation Details +############################################################################# ##
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr
- cd $(DIR_APP) && make $(MAKETUNING)
- cd $(DIR_APP) && make install
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)