From b024a0ce0e3fdae41b7ad93e03d1704360098604 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 5 Jan 2014 11:02:55 +0100 Subject: [PATCH] wlan-firmware: convert to new package format Signed-off-by: Stephan Raue --- packages/linux-firmware/wlan-firmware/build | 25 ------------------- packages/linux-firmware/wlan-firmware/install | 24 ------------------ .../wlan-firmware/{meta => package.mk} | 14 ++++++++--- 3 files changed, 11 insertions(+), 52 deletions(-) delete mode 100755 packages/linux-firmware/wlan-firmware/build delete mode 100755 packages/linux-firmware/wlan-firmware/install rename packages/linux-firmware/wlan-firmware/{meta => package.mk} (89%) diff --git a/packages/linux-firmware/wlan-firmware/build b/packages/linux-firmware/wlan-firmware/build deleted file mode 100755 index 5f715ab493..0000000000 --- a/packages/linux-firmware/wlan-firmware/build +++ /dev/null @@ -1,25 +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 - -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 deleted file mode 100755 index b390e5800c..0000000000 --- a/packages/linux-firmware/wlan-firmware/install +++ /dev/null @@ -1,24 +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 - cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/linux-firmware/wlan-firmware/meta b/packages/linux-firmware/wlan-firmware/package.mk similarity index 89% rename from packages/linux-firmware/wlan-firmware/meta rename to packages/linux-firmware/wlan-firmware/package.mk index 2051da459a..ebf7502bbb 100644 --- a/packages/linux-firmware/wlan-firmware/meta +++ b/packages/linux-firmware/wlan-firmware/package.mk @@ -23,12 +23,20 @@ PKG_ARCH="any" PKG_LICENSE="Free-to-use" PKG_SITE="https://github.com/OpenELEC/wlan-firmware" PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_DEPENDS_TARGET="" +PKG_BUILD_DEPENDS_TARGET="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_IS_ADDON="no" PKG_AUTORECONF="no" + +make_target() { + : # nothing todo +} + +makeinstall_target() { + DESTDIR=$INSTALL ./install +}