diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/ipw2100-fw | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/ipw2100-fw')
-rw-r--r-- | abs/core/ipw2100-fw/PKGBUILD | 36 | ||||
-rw-r--r-- | abs/core/ipw2100-fw/ipw2100-fw.install | 18 |
2 files changed, 54 insertions, 0 deletions
diff --git a/abs/core/ipw2100-fw/PKGBUILD b/abs/core/ipw2100-fw/PKGBUILD new file mode 100644 index 0000000..52cd9f5 --- /dev/null +++ b/abs/core/ipw2100-fw/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer : Tobias Powalowski <tpowa@archlinux.org> + +pkgname=ipw2100-fw +pkgver=1.3 +pkgrel=2 +pkgdesc="Intel Centrino Drivers firmware for IPW2100" +arch=(i686 x86_64) +url="http://ipw2100.sourceforge.net/" +depends=('wireless_tools') +#source=(ipw2100-fw-1.3.tgz http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz) +source=(http://bughost.org/firmware/$pkgname-$pkgver.tgz) +install=ipw2100-fw.install +replaces=ipw2100 + +build() { + #cd $startdir/src/$pkgname-$pkgver + #make + #Install kernel modules + #for i in *.ko + #do + #install -D -m 644 $i $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/wireless/ipw2100/$i + #done + + cd $startdir/src + + # Install firmware + for i in *.fw + do + install -D -m 644 $i $startdir/pkg/lib/firmware/$i + done + + # Install firmware license + install -D -m 644 LICENSE $startdir/pkg/lib/firmware/LICENSE.ipw2100-fw + } +md5sums=('46aa75bcda1a00efa841f9707bbbd113') diff --git a/abs/core/ipw2100-fw/ipw2100-fw.install b/abs/core/ipw2100-fw/ipw2100-fw.install new file mode 100644 index 0000000..1a0ff6b --- /dev/null +++ b/abs/core/ipw2100-fw/ipw2100-fw.install @@ -0,0 +1,18 @@ +# arg 1: the new package version +post_install() { +cat << EOF +IMPORTANT +==> In order to use the firmware you have to agree to Intel's license located in +==> /lib/firmware/LICENSE.ipw2100-fw else please remove this package +EOF +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { +post_install $1 +} + +op=$1 +shift +$op $* |