diff --git a/packages/addons/addon-depends/system-tools-depends/strace/package.mk b/packages/addons/addon-depends/system-tools-depends/strace/package.mk new file mode 100644 index 0000000000..f419f9712c --- /dev/null +++ b/packages/addons/addon-depends/system-tools-depends/strace/package.mk @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC 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 2 of the License, or +# (at your option) any later version. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="strace" +PKG_VERSION="4.11" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="BSD" +PKG_SITE="http://sourceforge.net/projects/strace/" +PKG_URL="$SOURCEFORGE_SRC/strace/strace/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="strace: Trace system calls and signals" +PKG_LONGDESC="In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are received by a process. The name of each system call, its arguments and its return value are printed on standard error or to the file specified with the -o option." +PKG_AUTORECONF="yes" + +makeinstall_target() { + : # nothing to do here +} diff --git a/packages/addons/addon-depends/system-tools-depends/strace/patches/strace-4.8-autoreconf.patch b/packages/addons/addon-depends/system-tools-depends/strace/patches/strace-4.8-autoreconf.patch new file mode 100644 index 0000000000..bf7efa09c6 --- /dev/null +++ b/packages/addons/addon-depends/system-tools-depends/strace/patches/strace-4.8-autoreconf.patch @@ -0,0 +1,13 @@ +diff -Naur strace-4.8/configure.ac strace-4.8.patch/configure.ac +--- strace-4.8/configure.ac 2013-05-04 21:51:57.000000000 +0200 ++++ strace-4.8.patch/configure.ac 2013-09-04 03:30:12.478057723 +0200 +@@ -1,8 +1,6 @@ + dnl Process this file with autoconf to create configure. Use autoreconf. + AC_PREREQ(2.57) +-AC_INIT([strace], +- m4_esyscmd([./git-version-gen .tarball-version]), +- [strace-devel@lists.sourceforge.net]) ++AC_INIT([strace],[4.8]) + AC_CONFIG_SRCDIR([strace.c]) + AC_CONFIG_AUX_DIR([.]) + AC_CONFIG_HEADERS([config.h])