libtraceevent new package

This commit is contained in:
Rmys
2025-11-18 17:43:25 +03:00
parent fcfe9b831c
commit 495fe9e433
8 changed files with 5526 additions and 2123 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/env 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
# def setup():
# autotools.configure()
def build():
autotools.make('EXTRA_CFLAGS="%s" -j1' % get.CFLAGS())
autotools.make("-C Documentation")
def install():
autotools.rawInstall("libdir_relative=lib prefix=/usr DESTDIR=%s" % get.installDIR())
autotools.rawInstall("-C Documentation libdir_relative=lib prefix=/usr DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSES/*")
@@ -0,0 +1,12 @@
diff -ruN a/Documentation/Makefile b/Documentation/Makefile
--- a/Documentation/Makefile 2021-12-20 03:09:42.000000000 +0100
+++ b/Documentation/Makefile 2021-12-20 16:24:43.651313119 +0100
@@ -13,8 +13,6 @@
_MAN_HTML=$(patsubst %.txt,%.html,$(MAN_TXT))
_DOC_MAN3=$(patsubst %.txt,%.m,$(MAN3_TXT))
-OUTPUT := $(obj)/Documentation/
-
MAN_XML=$(addprefix $(OUTPUT),$(_MAN_XML))
MAN_HTML=$(addprefix $(OUTPUT),$(_MAN_HTML))
DOC_MAN3=$(addprefix $(OUTPUT),$(_DOC_MAN3))
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libtraceevent</Name>
<Homepage>https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/about/</Homepage>
<Packager>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Linux kernel trace event library</Summary>
<Description>Linux çekirdek izleme olayı kitaplığı</Description>
<Archive sha1sum="6a8e1990865053e2f630e78d19c4784e911bca08" type="targz">https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-1.8.6.tar.gz</Archive>
<BuildDependencies>
<Dependency>xmlto</Dependency>
<Dependency>asciidoc</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">libtraceevent-1.5.0-documentation.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libtraceevent</Name>
<!--
<RuntimeDependencies>
<Dependency>Dep1</Dependency>
</RuntimeDependencies>
-->
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libtraceevent-devel</Name>
<Summary>Development files for libtraceevent</Summary>
<RuntimeDependencies>
<Dependency release="current">libtraceevent</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-11-18</Date>
<Version>1.8.6</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libtraceevent</Name>
<Summary xml:lang="tr">Linux kernel trace event library</Summary>
<Description xml:lang="tr">Linux çekirdek izleme olayı kitaplığı</Description>
</Source>
</PISI>