forked from aanarchyy/bully
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 661 Bytes
/
Makefile
File metadata and controls
35 lines (25 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
include $(TOPDIR)/rules.mk
include version.mk
include $(INCLUDE_DIR)/package.mk
define Package/bully
SECTION:=net
CATEGORY:=Network
SUBMENU:=wireless
TITLE:=Brute force attack against WPS, that actually works
DEPENDS:=+libpcap
endef
define Package/bully/description
Brute force attack against WPS, that actually works
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) -rf ./src $(PKG_BUILD_DIR)/
endef
CONFIGURE_PATH:=src
MAKE_PATH:=src
TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
define Package/bully/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bully $(1)/usr/bin/
endef
$(eval $(call BuildPackage,bully))