Got stuck building a package for vdr-xineliboutput

  • Hi all,

    as my first development project I tried building a package for vdr-plugin-xineliboutput. Building the necessary xine-lib worked without problems, running configure for xineliboutput showed no errors but it looks as if make could not find a makefile: "make: *** No targets specified and no makefile found. Stop."

    This is the xine-lib package

    Code
    PKG_NAME="xine-lib"PKG_VERSION="1.2.9"
    PKG_ARCH="any"PKG_LICENSE="GPL"
    PKG_SITE="https://www.xine-project.org/releases"
    PKG_URL="http://sourceforge.net/projects/xine/files/xine-lib/$PKG_VERSION/xine-lib-$PKG_VERSION.tar.xz"
    PKG_DEPENDS_TARGET="toolchain vdr libva"
    PKG_SHORTDESC="xine-lib"
    PKG_LONGDESC="xine-lib is the xine core engine"
    PKG_IS_ADDON="no"
    PKG_AUTORECONF="no"
    PKG_LOCALE_INSTALL="yes"

    This is the package for xineliboutput. The make_target is copied from libreelec's vdr-plugins folder. It's just one version of many that I tried.

    Command line output:

    I hope that someone can help. Thanks in advance.

    Alex

  • In vdr-plugin-xineliboutput package add pre_configure_target function and use ./configure.

    Code
    pre_configure_target() {
      cd $PKG_BUILD
      rm -rf .$TARGET_NAME
    }