forked from wiire-a/pixiewps
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 639 Bytes
/
Makefile
File metadata and controls
32 lines (24 loc) · 639 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
include $(TOPDIR)/rules.mk
include version.mk
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/pixiewps
SECTION:=net
CATEGORY:=Network
SUBMENU:=wireless
TITLE:=An offline WPS bruteforce utility
URL:=https://github.com/wiire/pixiewps
DEPENDS:=+libpthread
endef
define Package/pixiewps/description
An offline WPS bruteforce utility
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Package/pixiewps/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pixiewps $(1)/usr/bin/
endef
$(eval $(call BuildPackage,pixiewps))