File: boxes-pkg.openwrt

package info (click to toggle)
boxes 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,800 kB
  • sloc: ansic: 10,566; lex: 517; sh: 503; makefile: 309; yacc: 272; lisp: 78
file content (57 lines) | stat: -rw-r--r-- 2,428 bytes parent folder | download
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
52
53
54
55
56
57
#
# boxes - Command line filter to draw/remove ASCII boxes around text
# Copyright (c) 1999-2024 Thomas Jensen and the boxes contributors
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
# License, version 3, as published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
# You should have received a copy of the GNU General Public License along with this program.
# If not, see <https://www.gnu.org/licenses/>.
#____________________________________________________________________________________________________________________
#
#   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:=2.3.1
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE)


PKG_SOURCE:=v2.3.1.tar.gz
PKG_SOURCE_URL:=https://github.com/ascii-boxes/boxes/archive/refs/tags/

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))