diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-09-12 17:18:42 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-09-12 17:25:25 +0200 |
commit | 40764118789f79f79e943a95b805db4e929ec5d7 (patch) | |
tree | 3245894722bcd065d12857360dd0df9b0d1ccae2 /bigclown-control-tools/Makefile | |
parent | df3d314797ebc02e0e0ffcd3d53dcc7186964296 (diff) | |
download | openwrt-personal-pkgs-40764118789f79f79e943a95b805db4e929ec5d7.tar.gz openwrt-personal-pkgs-40764118789f79f79e943a95b805db4e929ec5d7.tar.bz2 openwrt-personal-pkgs-40764118789f79f79e943a95b805db4e929ec5d7.zip |
Tweak bigclown packages
Diffstat (limited to 'bigclown-control-tools/Makefile')
-rw-r--r-- | bigclown-control-tools/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bigclown-control-tools/Makefile b/bigclown-control-tools/Makefile index c11aea7..723e29a 100644 --- a/bigclown-control-tools/Makefile +++ b/bigclown-control-tools/Makefile @@ -1,14 +1,7 @@ -# -## Copyright (C) 2016-2017 CZ.NIC z.s.p.o. (http://www.nic.cz/) -# -## This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# # -# include $(TOPDIR)/rules.mk PKG_NAME:=bigclown-control-tools -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-control-tool.git PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> @@ -21,7 +14,13 @@ define Package/$(PKG_NAME) DEPENDS:=+python3 endef +define Py3Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) ./files/bch $(1)/usr/bin/bch +endef + define Build/Compile + sed -i 's/@@VERSION@@/$(PKG_VERSION)/' "$(PKG_BUILD_DIR)/setup.py" $(call Build/Compile/Py3Mod,,install --prefix="/usr" --root=$(PKG_INSTALL_DIR)) endef |