diff --git a/packages/other/libdaemon/build b/packages/other/libdaemon/build deleted file mode 100755 index a4a052e2c8..0000000000 --- a/packages/other/libdaemon/build +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -ac_cv_func_setpgrp_void=no \ -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-static \ - --disable-shared \ - --disable-lynx \ - -make - -$MAKEINSTALL diff --git a/packages/other/libdaemon/meta b/packages/other/libdaemon/package.mk similarity index 87% rename from packages/other/libdaemon/meta rename to packages/other/libdaemon/package.mk index daf293d0b5..55af9274a4 100644 --- a/packages/other/libdaemon/meta +++ b/packages/other/libdaemon/package.mk @@ -24,11 +24,16 @@ PKG_LICENSE="GPL" PKG_SITE="http://0pointer.de/lennart/projects/libdaemon/" PKG_URL="http://0pointer.de/lennart/projects/libdaemon/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_BUILD_DEPENDS_TARGET="toolchain" PKG_PRIORITY="optional" PKG_SECTION="other" PKG_SHORTDESC="libdaemon: A lightweight C library which eases the writing of UNIX daemons" PKG_LONGDESC="A wrapper around fork() which does the correct daemonization procedure of a process. A wrapper around syslog() for simpler and compatible log output to Syslog or STDERR. An API for writing PID files. An API for serializing UNIX signals into a pipe for usage with select() or poll()." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_setpgrp_void=no \ + --enable-static \ + --disable-shared \ + --disable-lynx"