mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
libtirpc: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a677e7d248
commit
a6a210e0ce
@ -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 <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. 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
|
|
@ -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 <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. 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
|
|
||||||
|
|
@ -23,12 +23,14 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://sourceforge.net/projects/libtirpc/"
|
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_URL="https://downloads.sourceforge.net/project/libtirpc/libtirpc/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="libgssglue"
|
PKG_DEPENDS_TARGET="libgssglue"
|
||||||
PKG_BUILD_DEPENDS="toolchain libgssglue"
|
PKG_BUILD_DEPENDS_TARGET="toolchain libgssglue"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="network"
|
PKG_SECTION="network"
|
||||||
PKG_SHORTDESC="libtirpc: Transport Independent RPC Library"
|
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_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_AUTORECONF="yes"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--enable-gss --with-gnu-ld"
|
10
packages/network/libtirpc/patches/libtirpc-buildfix.patch
Normal file
10
packages/network/libtirpc/patches/libtirpc-buildfix.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user