diff --git a/programming/misc/log4c/actions.py b/programming/misc/log4c/actions.py new file mode 100644 index 0000000000..4fef6a464d --- /dev/null +++ b/programming/misc/log4c/actions.py @@ -0,0 +1,31 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + # suppress compiler warnings + pisitools.cflags.add("-Wno-format -Wno-misleading-indentation -Wno-unused-const-variable \ + -Wno-pointer-to-int-cast -Wno-unused-function -Wno-int-to-pointer-cast") + autotools.configure("--disable-static \ + --disable-doc \ + --disable-dependency-tracking") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.insinto("/usr/include", "src/log4c.h") + + # Move the example config file to docdir + pisitools.domove("/etc/log4crc.sample", "/%s/log4c" % get.docDIR()) + pisitools.removeDir("/etc") + + pisitools.dodoc("README", "AUTHORS", "COPYING", "ChangeLog", "TODO", "NEWS") \ No newline at end of file diff --git a/programming/misc/log4c/pspec.xml b/programming/misc/log4c/pspec.xml new file mode 100644 index 0000000000..1ffd2f88bd --- /dev/null +++ b/programming/misc/log4c/pspec.xml @@ -0,0 +1,52 @@ + + + + + log4c + http://log4c.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + programming.misc + LGPLv2.1 + library + A C library for flexible logging + log4c is a C language library for flexible logging to files, syslog and other destinations. It is modeled after the Log for Java library (log4j), staying as close to their API as is reasonable. + mirrors://sourceforge/log4c/log4c-1.2.4.tar.gz + + + + log4c + A C library for flexible logging + + /usr/lib + /usr/share/doc + /usr/share/man + + + + + log4c-devel + Development files for log4c + + log4c + + + /usr/bin + /usr/include + /usr/share/aclocal + /usr/share/man/man3 + + + + + + 2020-01-23 + 1.2.4 + Rebuild for new toolchain + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/misc/log4c/translations.xml b/programming/misc/log4c/translations.xml new file mode 100644 index 0000000000..a3a2173069 --- /dev/null +++ b/programming/misc/log4c/translations.xml @@ -0,0 +1,14 @@ + + + + log4c + C için bir günlük kitaplığı + log4c, dosyalara, syslog hizmetine ve diğer hedeflere kolayca günlük tutmayı sağlayan bir C kitaplığıdır. + + + + log4c-devel + log4c için geliştirme dosyaları + log4c-devel, log4c için geliştirme dosyalarını içerir. + + \ No newline at end of file