summaryrefslogtreecommitdiffstats
path: root/extra/b43-fwcutter/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 15:21:03 +0200
committertnut <tnut at nutyx dot com>2011-10-15 15:21:03 +0200
commitb2456b657d67dc1358a0799000846ba9113480e8 (patch)
tree2e722bd6c07cdf44cec11aef30e76fa2607d6b5a /extra/b43-fwcutter/Pkgfile
parent04bec0a5aba9773aad1efc7690269f547b4448ef (diff)
downloadnutyx-pakxe-b2456b657d67dc1358a0799000846ba9113480e8.tar.gz
nutyx-pakxe-b2456b657d67dc1358a0799000846ba9113480e8.tar.bz2
nutyx-pakxe-b2456b657d67dc1358a0799000846ba9113480e8.tar.xz
nutyx-pakxe-b2456b657d67dc1358a0799000846ba9113480e8.zip
b43-fwcutter dans extra
Diffstat (limited to 'extra/b43-fwcutter/Pkgfile')
-rw-r--r--extra/b43-fwcutter/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/b43-fwcutter/Pkgfile b/extra/b43-fwcutter/Pkgfile
new file mode 100644
index 000000000..e9d9d6b3a
--- /dev/null
+++ b/extra/b43-fwcutter/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Extracteur de firmware pour la carte réseau sans fils basé sur bc43
+# URL: http://bcm43xx.berlios.de"
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=b43-fwcutter
+version=013
+release=1
+source=(http://bu3sch.de/b43/fwcutter/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ sed -i "s|CFLAGS =.*|CFLAGS = $CFLAGS -fomit-frame-pointer -D_BSD_SOURCE|g" Makefile
+ make
+ mkdir -p $PKG/usr/bin
+ install -m755 b43-fwcutter $PKG/usr/bin/
+ mkdir -p $PKG/usr/share/man/man1
+ install -m644 b43-fwcutter.1 $PKG/usr/share/man/man1/
+}