uhubctl: update to 2.4.0
This commit is contained in:
parent
77c68e78f5
commit
218484cf29
2 changed files with 6 additions and 15 deletions
|
@ -1,21 +1,10 @@
|
|||
diff --git Makefile Makefile
|
||||
index f6d69d3..58a9d98 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -4,7 +4,7 @@ UNAME_S := $(shell uname -s)
|
||||
|
||||
DESTDIR ?=
|
||||
prefix ?= /usr
|
||||
-sbindir ?= $(prefix)/sbin
|
||||
+sbindir ?= $(prefix)/bin
|
||||
|
||||
INSTALL := install
|
||||
INSTALL_DIR := $(INSTALL) -m 755 -d
|
||||
@@ -14,7 +14,7 @@ RM := rm -rf
|
||||
@@ -14,7 +14,7 @@
|
||||
CC ?= gcc
|
||||
CFLAGS ?= -g -O0
|
||||
CFLAGS += -Wall -Wextra -std=c99 -pedantic
|
||||
-GIT_VERSION := $(shell git describe --abbrev=8 --dirty --always --tags)
|
||||
-GIT_VERSION := $(shell git describe --match "v[0-9]*" --abbrev=8 --dirty --tags | cut -c2-)
|
||||
+GIT_VERSION := $(shell basename "$(CURDIR)" | cut -d '-' -f 2)
|
||||
ifeq ($(GIT_VERSION),)
|
||||
GIT_VERSION := $(shell cat VERSION)
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
# Template file for 'uhubctl'
|
||||
pkgname=uhubctl
|
||||
version=2.1.0
|
||||
version=2.4.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
make_install_args="sbindir=/usr/bin"
|
||||
hostmakedepends="pkg-config which"
|
||||
makedepends="libusb-devel"
|
||||
short_desc="USB hub per-port power control"
|
||||
maintainer="Pavel Fatin <mail@pavelfatin.com>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/mvp/uhubctl"
|
||||
distfiles="https://github.com/mvp/uhubctl/archive/v${version}.tar.gz"
|
||||
checksum=227fdd541067b84eaa0e15cdc171458a56de7591f7a1deaff3e6d42d2809450b
|
||||
checksum=391f24fd1f89cacce801df38ecc289b34c3627bc08ee69eec515af7e1a283d97
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue