mirror of
https://gitlab.com/prpl-foundation/prplos/feeds/feed_amx.git
synced 2025-12-20 01:02:01 +08:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
633cc133c7 | ||
|
|
a82bb3214a | ||
|
|
2155e50e10 | ||
|
|
a9ef9c35f8 | ||
|
|
0e55becb1c | ||
|
|
e41be415d0 | ||
|
|
b2e1314a6f | ||
|
|
4ba12f1863 | ||
|
|
79e907dca1 | ||
|
|
c345eb3d69 | ||
|
|
fae027e273 | ||
|
|
35a7da36e1 | ||
|
|
310f3b08a5 | ||
|
|
03fad2e5fc | ||
|
|
23b38a281e | ||
|
|
00833d6313 |
54
apps/amx-cli/Makefile
Normal file
54
apps/amx-cli/Makefile
Normal file
@@ -0,0 +1,54 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amx-cli
|
||||
PKG_VERSION:=v0.2.12
|
||||
|
||||
PKG_SOURCE:=amx-cli-v0.2.12.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amx-cli/-/archive/v0.2.12
|
||||
PKG_HASH:=911595d9b9b7acc6da40023c6388df8c602bdeadb89156fbdbb64b89fb5872e7
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.2.12
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(PKG_NAME)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amx-cli
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxt
|
||||
DEPENDS += +libamxm
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +libamxj
|
||||
DEPENDS += +libevent2
|
||||
DEPENDS += +yajl
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
endef
|
||||
|
||||
define Build/Install
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amxb-inspect
|
||||
PKG_VERSION:=v1.0.2
|
||||
PKG_VERSION:=v1.0.4
|
||||
SHORT_DESCRIPTION:=Ambiorix Backend inspector/validation tool
|
||||
|
||||
PKG_SOURCE:=amxb-inspect-v1.0.2.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxb-inspect/-/archive/v1.0.2
|
||||
PKG_HASH:=51e7f28a8c371a32217e233bb77700ba68d1f40b87c6938b1de73129f153899f
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb-inspect-v1.0.2
|
||||
PKG_SOURCE:=amxb-inspect-v1.0.4.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxb-inspect/-/archive/v1.0.4
|
||||
PKG_HASH:=33b92b1902652a8a0c57cb27e6c2daf3730287649382d2eb12fbf07faa0e0b16
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb-inspect-v1.0.4
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -21,7 +21,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxo-cg
|
||||
URL:=git@gitlab.com:soft.at.home/ambiorix/applications/amxo-cg
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxo
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amxrt
|
||||
PKG_VERSION:=v1.0.2
|
||||
PKG_VERSION:=v1.0.3
|
||||
SHORT_DESCRIPTION:=Data model runtime
|
||||
|
||||
PKG_SOURCE:=amxrt-v1.0.2.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxrt/-/archive/v1.0.2
|
||||
PKG_HASH:=4de4f8d45e3ceb31b436229bd5d0860f108a5b4896b745f1d8fa2ab969b325fd
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v1.0.2
|
||||
PKG_SOURCE:=amxrt-v1.0.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxrt/-/archive/v1.0.3
|
||||
PKG_HASH:=63ac8782aae42a98261c78d38fdf01df4514e8942cb227779deb26ad1a8759ff
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v1.0.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxb
|
||||
PKG_VERSION:=v3.1.2
|
||||
PKG_VERSION:=v3.1.7
|
||||
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
|
||||
|
||||
PKG_SOURCE:=libamxb-v3.1.2.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxb/-/archive/v3.1.2
|
||||
PKG_HASH:=05d735c4a24ec810f8853139cc6a4bb5c3260932f7975b5d2ba0f3f2bf541c86
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v3.1.2
|
||||
PKG_SOURCE:=libamxb-v3.1.7.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxb/-/archive/v3.1.7
|
||||
PKG_HASH:=b481a0c1822062cdfbc99ad55444ec8d04bb67806f82dba6575c31dc5898da62
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v3.1.7
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxc
|
||||
PKG_VERSION:=v1.0.14
|
||||
PKG_VERSION:=v1.0.15
|
||||
SHORT_DESCRIPTION:=Libamxc is a library containing data containers, implemented in ansi C (C99)
|
||||
|
||||
PKG_SOURCE:=libamxc-v1.0.14.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc/-/archive/v1.0.14
|
||||
PKG_HASH:=365cab7abc78ac9cafc37724d67d18c55fd479188b5253c395b8bd85cc98d2d4
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v1.0.14
|
||||
PKG_SOURCE:=libamxc-v1.0.15.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc/-/archive/v1.0.15
|
||||
PKG_HASH:=c3ab7297092b60b96df3adb82edd3f5765d165ea5a040e502af238d02dbce948
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v1.0.15
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxd
|
||||
PKG_VERSION:=v2.0.10
|
||||
PKG_VERSION:=v3.0.3
|
||||
SHORT_DESCRIPTION:=Data model C-API
|
||||
|
||||
PKG_SOURCE:=libamxd-v2.0.10.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd/-/archive/v2.0.10
|
||||
PKG_HASH:=8458fc3f1637cf3391d687d6c82bd0e80e7a9d12ca981c24fc118ed409a23108
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v2.0.10
|
||||
PKG_SOURCE:=libamxd-v3.0.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd/-/archive/v3.0.3
|
||||
PKG_HASH:=74b0687d1c076344d22ce8bbc8b1fc334d85dc4521c3876887df7b069f75d324
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v3.0.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxj
|
||||
PKG_VERSION:=v0.3.16
|
||||
PKG_VERSION:=v0.3.17
|
||||
SHORT_DESCRIPTION:=JSON parser & generator using yajl and libamxc variants
|
||||
|
||||
PKG_SOURCE:=libamxj-v0.3.16.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj/-/archive/v0.3.16
|
||||
PKG_HASH:=70e49b4754f92304148a270468d8c8eaf02e2ca30973d81acd8e6bc74252f0b9
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v0.3.16
|
||||
PKG_SOURCE:=libamxj-v0.3.17.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj/-/archive/v0.3.17
|
||||
PKG_HASH:=3d856568502b35194e30155027a494bf71444ae78bbca8111bf2263e7806efce
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v0.3.17
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxm
|
||||
PKG_VERSION:=v0.0.20
|
||||
PKG_VERSION:=v0.0.22
|
||||
SHORT_DESCRIPTION:=modularity api, simplifies creation of add-ons (plug-ins, modules)
|
||||
|
||||
PKG_SOURCE:=libamxm-v0.0.20.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm/-/archive/v0.0.20
|
||||
PKG_HASH:=9f2ebad0dc1e76019f2c46a15d9054f439cbc0e5ecd67d263d0be648949ee5ed
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.0.20
|
||||
PKG_SOURCE:=libamxm-v0.0.22.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm/-/archive/v0.0.22
|
||||
PKG_HASH:=c676bfc80e7a514c20ab60d6e59e0ca4fbf624ec8e95417ab961e0266e631a30
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.0.22
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxo
|
||||
PKG_VERSION:=v1.1.6
|
||||
PKG_VERSION:=v1.2.3
|
||||
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
|
||||
|
||||
PKG_SOURCE:=libamxo-v1.1.6.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo/-/archive/v1.1.6
|
||||
PKG_HASH:=a0287eeb448fce234e1b3f3dbfe6627bced3be45829d9e6b9a14971f70938cbd
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v1.1.6
|
||||
PKG_SOURCE:=libamxo-v1.2.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo/-/archive/v1.2.3
|
||||
PKG_HASH:=51732f02be2a41fae11dd5dd6f35ad4d4a7bf5b842e3150c04a3c9444a36a75e
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v1.2.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxp
|
||||
PKG_VERSION:=v0.7.3
|
||||
PKG_VERSION:=v0.7.4
|
||||
SHORT_DESCRIPTION:=Common patterns implementation
|
||||
|
||||
PKG_SOURCE:=libamxp-v0.7.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp/-/archive/v0.7.3
|
||||
PKG_HASH:=cb2cedb4e4b0f1be3927e50799235492c120eb53d141fb708a859f7b2c83f842
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v0.7.3
|
||||
PKG_SOURCE:=libamxp-v0.7.4.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp/-/archive/v0.7.4
|
||||
PKG_HASH:=e168a0d3e6f6e65f35853b3f109cdfa6a1785aa494ab6e955ff25e2eb4fe355d
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v0.7.4
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxt
|
||||
PKG_VERSION:=v0.1.19
|
||||
PKG_VERSION:=v0.1.20
|
||||
SHORT_DESCRIPTION:=Common patterns implementation
|
||||
|
||||
PKG_SOURCE:=libamxt-v0.1.19.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt/-/archive/v0.1.19
|
||||
PKG_HASH:=2558f9773e7e00d26231a9cde834a5abfb101c692db57ed35dc0292f9a3306a7
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v0.1.19
|
||||
PKG_SOURCE:=libamxt-v0.1.20.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt/-/archive/v0.1.20
|
||||
PKG_HASH:=fc92fd0c850919793c543dc5f5c4a1c5ad70c74a8a07b1e73444069aa0fb7c0f
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v0.1.20
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mod-amxb-ubus
|
||||
PKG_VERSION:=v2.0.11
|
||||
PKG_VERSION:=v2.0.17
|
||||
SHORT_DESCRIPTION:=Ubus Backend
|
||||
|
||||
PKG_SOURCE:=amxb_ubus-v2.0.11.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v2.0.11
|
||||
PKG_HASH:=623943bf7efcead25e785a4f8bbd1a09c74179bcd5a67e3b0bc3e1149b8c74e3
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v2.0.11
|
||||
PKG_SOURCE:=amxb_ubus-v2.0.17.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v2.0.17
|
||||
PKG_HASH:=777d0fc7c592b25d35e3e0fb55941bea01d2d75c850ee2c7239e6650fea9dad6
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v2.0.17
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
24
mods/mod-ba-cli/Config.in
Normal file
24
mods/mod-ba-cli/Config.in
Normal file
@@ -0,0 +1,24 @@
|
||||
config PACKAGE_mod-ba-cli
|
||||
tristate
|
||||
select SAH_MOD_BA_CLI
|
||||
|
||||
if PACKAGE_mod-ba-cli
|
||||
|
||||
menu "Select mod-ba-cli build options"
|
||||
depends on PACKAGE_mod-ba-cli
|
||||
|
||||
config SAH_MOD_BA_CLI
|
||||
bool "Build Bus Agnostic Command Line Interface Module"
|
||||
default y
|
||||
|
||||
config SAH_MOD_BA_CLI_INSTALL_UBUS_CLI
|
||||
bool "Install ubus cli"
|
||||
default y
|
||||
|
||||
config SAH_MOD_BA_CLI_INSTALL_PCB_CLI
|
||||
bool "Install pcb cli"
|
||||
default y
|
||||
|
||||
endmenu
|
||||
|
||||
endif
|
||||
62
mods/mod-ba-cli/Makefile
Normal file
62
mods/mod-ba-cli/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mod-ba-cli
|
||||
PKG_VERSION:=v0.3.1
|
||||
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
|
||||
|
||||
PKG_SOURCE:=mod-ba-cli-v0.3.1.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.3.1
|
||||
PKG_HASH:=79f20995d44a1b7afa795e086e57aec00c55d26ef6c40551e44828377fd351aa
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.3.1
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Modules
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxt
|
||||
DEPENDS += +libamxm
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxb
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +amx-cli
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Bus Agnostic Command Line Interface
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
endef
|
||||
|
||||
define Build/Install
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
Reference in New Issue
Block a user