2 # Copyright (C) 2010-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=madwimax-0.1
.1.
tar.gz
13 PKG_SOURCE_URL
:=http
://madwimax.googlecode.com
/files
/
14 PKG_MD5SUM
:=4ebd2d74e887e6f9d6f23067a4ad8272
16 include $(INCLUDE_DIR
)/package.mk
18 define Package
/madwimax
21 TITLE
:=driver for WiMAX devices based on Samsung CMC-730 chip
22 URL
:=http
://code.google.com
/p
/madwimax
/
23 DEPENDS
:=+libusb-1.0
+kmod-tun
+libpthread
26 define Package
/madwimax
/description
27 madWiMAX is a reverse-engineered Linux driver for mobile WiMAX
(802.16e
) devices based on Samsung CMC-730 chip. These devices are currently supported
:
31 Samsung SWM-S10R
(built in Samsung NC-10 netbook
)
34 TARGET_CFLAGS
+= $(FPIC
)
36 CONFIGURE_ARGS
+= --without-man-pages
38 define Package
/madwimax
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/madwimax
$(1)/usr
/sbin
/
41 $(INSTALL_DIR
) $(1)/etc
/madwimax
42 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/usb
43 $(INSTALL_DIR
) $(1)/etc
/init.d
44 $(INSTALL_BIN
) .
/files
/20-madwimax
$(1)/etc
/hotplug.d
/usb
/
45 $(INSTALL_BIN
) .
/files
/event.sh
$(1)/etc
/madwimax
/
46 $(INSTALL_BIN
) .
/files
/madwimax.init
$(1)/etc
/init.d
/madwimax
49 $(eval
$(call BuildPackage
,madwimax
))