mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:17:23 +08:00
24 lines
599 B
Bash
24 lines
599 B
Bash
# Core packages for Chakra
|
|
|
|
pkgname=ipw2200-fw
|
|
pkgver=3.1
|
|
pkgrel=4
|
|
pkgdesc="Firmware for the Intel PRO/Wireless 2200BG"
|
|
arch=('any')
|
|
url='http://ipw2200.sourceforge.net/'
|
|
license=('custom')
|
|
depends=()
|
|
source=(http://bughost.org/firmware/${pkgname}-${pkgver}.tgz)
|
|
replaces=('ipw2200')
|
|
md5sums=('eaba788643c7cc7483dd67ace70f6e99')
|
|
|
|
package() {
|
|
cd "${srcdir}/ipw2200-fw-${pkgver}"
|
|
# Install firmware
|
|
for i in ipw*.fw; do
|
|
install -D -m 644 $i "${pkgdir}/usr/lib/firmware/$i"
|
|
done
|
|
# Install license
|
|
install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|