| 1 |
# |
| 2 |
# boxes - Command line filter to draw/remove ASCII boxes around text |
| 3 |
# Copyright (c) 1999-2024 Thomas Jensen and the boxes contributors |
| 4 |
# |
| 5 |
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public |
| 6 |
# License, version 3, as published by the Free Software Foundation. |
| 7 |
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
| 8 |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 9 |
# details. |
| 10 |
# You should have received a copy of the GNU General Public License along with this program. |
| 11 |
# If not, see <https://www.gnu.org/licenses/>. |
| 12 |
#____________________________________________________________________________________________________________________ |
| 13 |
# |
| 14 |
# File: $(TOPDIR)/feeds/packages/utils/boxes/Makefile |
| 15 |
# Date created: 2014-09-12 23:28 |
| 16 |
# Author: Lu Weifeng <[email protected]> |
| 17 |
# Usage: |
| 18 |
# +-------------------------------------------------------------------------+ |
| 19 |
# |$cd $(TOPDIR) | |
| 20 |
# |$./scripts/feeds update -i | |
| 21 |
# |$./scripts/feeds install boxes | |
| 22 |
# |$apt-get install binutils-multiarch | |
| 23 |
# |$make package/boxes/compile package/index | |
| 24 |
# |$scp $(TOPDIR)/bin/ar71xx/packages/boxes_1.1-1_ar71xx.ipk openwrt:/tmp/| |
| 25 |
# |$opkg install --force-depends /tmp/boxes_1.1-1_ar71xx.ipk | |
| 26 |
# +-------------------------------------------------------------------------+ |
| 27 |
#==================================================================================================================== |
| 28 |
|
| 29 |
|
| 30 |
include $(TOPDIR)/rules.mk |
| 31 |
PKG_NAME:=boxes |
| 32 |
PKG_VERSION:=2.3.1 |
| 33 |
PKG_RELEASE:=1 |
| 34 |
PKG_BUILD_DIR:=$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE) |
| 35 |
|
| 36 |
|
| 37 |
PKG_SOURCE:=v2.3.1.tar.gz |
| 38 |
PKG_SOURCE_URL:=https://github.com/ascii-boxes/boxes/archive/refs/tags/ |
| 39 |
|
| 40 |
include $(INCLUDE_DIR)/package.mk |
| 41 |
define Package/boxes |
| 42 |
SECTION:=utils |
| 43 |
CATEGORY:=Utilities |
| 44 |
TITLE:=HW |
| 45 |
endef |
| 46 |
define Package/boxes/description |
| 47 |
boxes |
| 48 |
endef |
| 49 |
define Package/boxes/Build/Compile |
| 50 |
$(MAKE) -C $(PKG_BUILD_DIR) boxes |
| 51 |
endef |
| 52 |
define Package/boxes/install |
| 53 |
$(INSTALL_DIR) $(1)/bin/ |
| 54 |
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/boxes $(1)/bin/ |
| 55 |
|
| 56 |
endef |
| 57 |
$(eval $(call BuildPackage,boxes)) |