diff --git a/packages/network/libtirpc/build b/packages/network/libtirpc/build deleted file mode 100755 index a3f36cd171..0000000000 --- a/packages/network/libtirpc/build +++ /dev/null @@ -1,34 +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 -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --disable-static \ - --enable-shared \ - --enable-gss \ - --with-gnu-ld - -make -$MAKEINSTALL diff --git a/packages/network/libtirpc/install b/packages/network/libtirpc/install deleted file mode 100755 index 275c20fe6c..0000000000 --- a/packages/network/libtirpc/install +++ /dev/null @@ -1,28 +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 - -mkdir -p $INSTALL/usr/lib - cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib - -mkdir -p $INSTALL/etc - cp $PKG_BUILD/doc/etc_netconfig $INSTALL/etc/netconfig - diff --git a/packages/network/libtirpc/meta b/packages/network/libtirpc/package.mk similarity index 91% rename from packages/network/libtirpc/meta rename to packages/network/libtirpc/package.mk index 0381cda514..f7d28098a9 100644 --- a/packages/network/libtirpc/meta +++ b/packages/network/libtirpc/package.mk @@ -23,12 +23,14 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="https://sourceforge.net/projects/libtirpc/" PKG_URL="https://downloads.sourceforge.net/project/libtirpc/libtirpc/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="libgssglue" -PKG_BUILD_DEPENDS="toolchain libgssglue" +PKG_DEPENDS_TARGET="libgssglue" +PKG_BUILD_DEPENDS_TARGET="toolchain libgssglue" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="libtirpc: Transport Independent RPC Library" PKG_LONGDESC="Libtirpc is a port of Suns Transport-Independent RPC library to Linux. It's being developed by the Bull GNU/Linux NFSv4 project." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--enable-gss --with-gnu-ld" diff --git a/packages/network/libtirpc/patches/libtirpc-buildfix.patch b/packages/network/libtirpc/patches/libtirpc-buildfix.patch new file mode 100644 index 0000000000..c2814c74f7 --- /dev/null +++ b/packages/network/libtirpc/patches/libtirpc-buildfix.patch @@ -0,0 +1,10 @@ +diff -Naur libtirpc-0.2.2/doc/Makefile.am libtirpc-0.2.2.patch/doc/Makefile.am +--- libtirpc-0.2.2/doc/Makefile.am 2011-05-02 14:10:40.000000000 +0200 ++++ libtirpc-0.2.2.patch/doc/Makefile.am 2014-01-10 06:17:51.829113901 +0100 +@@ -1,5 +1,5 @@ + + install: install-am + $(mkinstalldirs) $(DESTDIR)/$(sysconfdir) +- cp -p ./etc_netconfig $(DESTDIR)/$(sysconfdir)/netconfig ++ cp -p $(top_srcdir)/doc/etc_netconfig $(DESTDIR)/$(sysconfdir)/netconfig + chmod 0644 $(DESTDIR)/$(sysconfdir)/netconfig