mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
can-utils: Update to 2018.02.0
Switched to codeload for simplicity. Switched to PKG_INSTALL for consistency. Added PKG_BUILD_PARALLEL for faster compilation. Added extra utilities added by the newer version. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+13
-8
@@ -8,18 +8,19 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=canutils
|
||||
PKG_RELEASE=2
|
||||
PKG_VERSION:=2018.02.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/linux-can/can-utils
|
||||
PKG_SOURCE_DATE:=2017-02-16
|
||||
PKG_SOURCE_VERSION:=cb33a55720716cbe01e6025a2bda74a1b7e492d3
|
||||
PKG_MIRROR_HASH:=d9c01eeff3d81a28161ca5c3937ec005a1f49ca3eb97bee0164d53cc66365786
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/linux-can/can-utils/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=370ad4b19447c29099f7300548f1a3362d6e123c4a6a827dbbd3110bc2c26839
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/can-utils-$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=Anton Glukhov <anton.a.glukhov@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0-or-later
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -52,11 +53,15 @@ FILES:=canbusload can-calc-bit-timing candump \
|
||||
canfdtest asc2log log2asc log2long bcmserver \
|
||||
canlogserver isotpdump isotpperf isotprecv \
|
||||
isotpsend isotpserver isotpsniffer isotptun \
|
||||
jacd jspy jsr testj1939 \
|
||||
slcan_attach slcand slcanpty
|
||||
|
||||
|
||||
$(foreach a,$(FILES),$(eval $(call GenPlugin,$(a))))
|
||||
|
||||
MAKE_FLAGS += \
|
||||
PREFIX="$(CONFIGURE_PREFIX)"
|
||||
|
||||
define Package/canutils/install
|
||||
true
|
||||
endef
|
||||
@@ -65,7 +70,7 @@ define PartInstall
|
||||
define Package/canutils-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_BUILD_DIR)/$(1) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/$(1) \
|
||||
$$(1)/usr/bin/
|
||||
endef
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user