diff --git a/README.md b/README.md new file mode 100644 index 0000000..a059bbc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# libtree + +Утилита командной строки, которая визуализирует дерево зависимостей динамических библиотек в Linux. Она помогает понять, какие библиотеки загружаются исполняемым файлом или процессом, и как они связаны между собой. diff --git a/files/prefix.patch b/files/prefix.patch new file mode 100644 index 0000000..bcb86d3 --- /dev/null +++ b/files/prefix.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2025-05-13 22:52:36.140148274 +0300 ++++ b/Makefile 2025-05-13 22:52:52.137245618 +0300 +@@ -3,7 +3,7 @@ + LIBTREE_DEFINES = -D_FILE_OFFSET_BITS=64 + + # uppercase variables for backwards compatibility only: +-PREFIX = /usr/local ++PREFIX = /usr + + prefix = $(PREFIX) + exec_prefix = $(prefix) diff --git a/files/series b/files/series new file mode 100644 index 0000000..0455b8c --- /dev/null +++ b/files/series @@ -0,0 +1 @@ +prefix.patch diff --git a/package.yml b/package.yml new file mode 100644 index 0000000..e9b29b3 --- /dev/null +++ b/package.yml @@ -0,0 +1,17 @@ +name : libtree +version : 3.1.1 +release : 1 +source : + - git|https://github.com/haampie/libtree.git : 95d8992968a18ae957fef723f103b416d0843398 +homepage : https://github.com/haampie/libtree +license : MIT +component : system.util +summary : ldd as a tree +description: | + A command-line utility that visualizes the dependency tree of dynamic libraries in Linux. It helps identify which libraries are loaded by an executable or process and how they are interconnected. +setup : | + %apply_patches +build : | + %make +install : | + %make_install DESTDIR="$installdir"