forked from pittmesh/pittmesh-autoconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (32 loc) · 984 Bytes
/
Makefile
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
36
37
38
39
40
41
42
43
#
## Copyright (C) 2016 metamesh/pittmesh
#
##
include $(TOPDIR)/rules.mk
PKG_NAME:=pittmesh-autoconf
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/pittmesh/pittmesh-autoconf
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)
pittmesh_platform=glinet-ar150
pittmesh_type=generic
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/pittmesh-autoconf
SECTION:=Utilities
CATEGORY:=Utilities
TITLE:=auto-configuration utility used for pittmesh
DEPENDS:=
Maintainer:[email protected] for Pittmesh
endef
define Package/$(PKG_NAME)/description
A suite of files making mesh networking and management easier - pittmesh
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)/files/$(pittmesh_platform)/$(pittmesh_type) $(1)/etc/init.d/
endef
$(eval $(call Buildpackage,$(PKG_NAME)))