35 lines
1.0 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ipw3945/ipw3945.conf
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# 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; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
ipw3945_extract() {
tar $taropt $( match_source_file -p ipw3945-ucode )
tar $taropt $( match_source_file -p ipw3945d )
}
ipw3945_install() {
mv -v ipw3945-ucode*/{README,LICENSE}.* $root$docdir/
mv -v ipw3945-ucode*/* $root/lib/firmware/
mv -v ipw3945d*/{README,LICENSE}.* $root$docdir/
mv -v ipw3945d*/ipw3945d-* $root$docdir/
mv -v ipw3945d*/$arch/* $root$sbindir/
}
autoextract=0
hook_add preconf 5 'ipw3945_extract'
makeopt=
makeinstopt=
hook_add postmake 5 'ipw3945_install'