From 14ebb58d158db5d6b8cd56db76464cc4c43807b5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 2 Mar 2011 03:39:37 +0100 Subject: [PATCH] new package: add package 'wlan-firmware' Signed-off-by: Stephan Raue --- packages/linux-firmware/wlan-firmware/build | 27 ++++++++++++++ packages/linux-firmware/wlan-firmware/install | 26 ++++++++++++++ packages/linux-firmware/wlan-firmware/meta | 36 +++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100755 packages/linux-firmware/wlan-firmware/build create mode 100755 packages/linux-firmware/wlan-firmware/install create mode 100644 packages/linux-firmware/wlan-firmware/meta diff --git a/packages/linux-firmware/wlan-firmware/build b/packages/linux-firmware/wlan-firmware/build new file mode 100755 index 0000000000..16f37ff021 --- /dev/null +++ b/packages/linux-firmware/wlan-firmware/build @@ -0,0 +1,27 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +cd $PKG_BUILD + +DESTDIR=.install ./install \ No newline at end of file diff --git a/packages/linux-firmware/wlan-firmware/install b/packages/linux-firmware/wlan-firmware/install new file mode 100755 index 0000000000..e15be287d7 --- /dev/null +++ b/packages/linux-firmware/wlan-firmware/install @@ -0,0 +1,26 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +mkdir -p $INSTALL + cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/linux-firmware/wlan-firmware/meta b/packages/linux-firmware/wlan-firmware/meta new file mode 100644 index 0000000000..55d96a0dd3 --- /dev/null +++ b/packages/linux-firmware/wlan-firmware/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="wlan-firmware" +PKG_VERSION="0.0.1" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="Free-to-use" +PKG_SITE="https://github.com/OpenELEC/wlan-firmware" +PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="firmware" +PKG_SHORTDESC="wlan-firmware: firmwares for various WLAN drivers" +PKG_LONGDESC="wlan-firmware: firmwares for various WLAN drivers" +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"