]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
zd1211-firmware: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 12 Dec 2012 19:51:46 +0000 (20:51 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 12 Dec 2012 19:51:46 +0000 (20:51 +0100)
Fixes #10108.

zd1211-firmware/zd1211-firmware.nm [new file with mode: 0644]

diff --git a/zd1211-firmware/zd1211-firmware.nm b/zd1211-firmware/zd1211-firmware.nm
new file mode 100644 (file)
index 0000000..5ba916f
--- /dev/null
@@ -0,0 +1,40 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = zd1211-firmware
+version    = 1.4
+release    = 1
+arch       = noarch
+
+maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
+groups     = System/Libraries
+url        = http://sourceforge.net/projects/zd1211/
+license    = GPLv2
+summary    = Firmware Binaries for ZyDAS ZD1211 WLAN USB devices.
+
+description
+       This package contains the firmware files needed for the zd1211 devices to work.
+end
+
+source_dl  = http://sourceforge.net/projects/zd1211/files/%{name}/%{version}/
+sources    = %{thisapp}.tar.bz2
+
+build
+       DIR_APP = %{DIR_SRC}/%{name}
+
+       build
+               : # Nothing to do.
+       end
+
+       install
+               mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware/zd1211/
+               cp -prv zd1211_* %{BUILDROOT}%{prefix}/lib/firmware/zd1211/
+               cp -prv zd1211b_* %{BUILDROOT}%{prefix}/lib/firmware/zd1211/
+       end
+end
+
+packages
+       package %{name}
+end