forked from ascii-boxes/boxes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboxes-pkg.openwrt
More file actions
51 lines (45 loc) · 1.82 KB
/
Copy pathboxes-pkg.openwrt
File metadata and controls
51 lines (45 loc) · 1.82 KB
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
44
45
46
47
48
49
50
51
# Copyright (C) boxes (c)1999 by Thomas Jensen
# <boxes(at)thomasjensen.com> All rights reserved.
#
# This is free software, licensed under the GNU General Public License
# See /LICENSE for more information.
#
# File: $(TOPDIR)/feeds/packages/utils/boxes/Makefile
# Date created: 2014-09-12 23:28
# Author: Lu Weifeng <lyredsoft@gmail.com>
# usage:
# +-------------------------------------------------------------------------+
# |$cd $(TOPDIR) |
# |$./scripts/feeds update -i |
# |$./scripts/feeds install boxes |
# |$apt-get install binutils-multiarch |
# |$make package/boxes/compile package/index |
# |$scp $(TOPDIR)/bin/ar71xx/packages/boxes_1.1-1_ar71xx.ipk openwrt:/tmp/|
# |$opkg install --force-depends /tmp/boxes_1.1-1_ar71xx.ipk |
# +-------------------------------------------------------------------------+
#____________________________________________________________________________
#============================================================================
include $(TOPDIR)/rules.mk
PKG_NAME:=boxes
PKG_VERSION:=1.3
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE)
PKG_SOURCE:=v1.3.tar.gz
PKG_SOURCE_URL:=http://github.com/ascii-boxes/boxes/archive/
include $(INCLUDE_DIR)/package.mk
define Package/boxes
SECTION:=utils
CATEGORY:=Utilities
TITLE:=HW
endef
define Package/boxes/description
boxes
endef
define Package/boxes/Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) boxes
endef
define Package/boxes/install
$(INSTALL_DIR) $(1)/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/boxes $(1)/bin/
endef
$(eval $(call BuildPackage,boxes))