From 414b490a7463ff979f4ebd5ec8a007c847827f2b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 18 Sep 2013 19:40:52 +0200 Subject: [PATCH] ethtool: update to ethtool-3.11, convert to new package format Signed-off-by: Stephan Raue --- packages/network/ethtool/build | 35 ------------------- packages/network/ethtool/install | 27 -------------- packages/network/ethtool/{meta => package.mk} | 6 ++-- 3 files changed, 3 insertions(+), 65 deletions(-) delete mode 100755 packages/network/ethtool/build delete mode 100755 packages/network/ethtool/install rename packages/network/ethtool/{meta => package.mk} (96%) diff --git a/packages/network/ethtool/build b/packages/network/ethtool/build deleted file mode 100755 index 032a43bdea..0000000000 --- a/packages/network/ethtool/build +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program 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, or (at your option) -# any later version. -# -# This Program 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.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -LDFLAGS="$LDFLAGS -fwhole-program" - -cd $PKG_BUILD - -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - -make diff --git a/packages/network/ethtool/install b/packages/network/ethtool/install deleted file mode 100755 index 76e2a10629..0000000000 --- a/packages/network/ethtool/install +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program 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, or (at your option) -# any later version. -# -# This Program 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.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/sbin - cp $PKG_BUILD/ethtool $INSTALL/usr/sbin - diff --git a/packages/network/ethtool/meta b/packages/network/ethtool/package.mk similarity index 96% rename from packages/network/ethtool/meta rename to packages/network/ethtool/package.mk index 477dfd8081..31257ba7f2 100644 --- a/packages/network/ethtool/meta +++ b/packages/network/ethtool/package.mk @@ -19,18 +19,18 @@ ################################################################################ PKG_NAME="ethtool" -PKG_VERSION="3.9" +PKG_VERSION="3.11" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.kernel.org/pub/software/network/ethtool/" PKG_URL="http://www.kernel.org/pub/software/network/ethtool/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_BUILD_DEPENDS_TARGET="toolchain" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="ethtool: Display or change ethernet card settings" PKG_LONGDESC="Ethtool is used for querying settings of an ethernet device and changing them." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes"