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
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -4,7 +4,7 @@ UNAME_S := $(shell uname -s)
|
@@ -14,7 +14,7 @@
|
||||||
|
|
||||||
DESTDIR ?=
|
|
||||||
prefix ?= /usr
|
|
||||||
-sbindir ?= $(prefix)/sbin
|
|
||||||
+sbindir ?= $(prefix)/bin
|
|
||||||
|
|
||||||
INSTALL := install
|
|
||||||
INSTALL_DIR := $(INSTALL) -m 755 -d
|
|
||||||
@@ -14,7 +14,7 @@ RM := rm -rf
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS ?= -g -O0
|
CFLAGS ?= -g -O0
|
||||||
CFLAGS += -Wall -Wextra -std=c99 -pedantic
|
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)
|
+GIT_VERSION := $(shell basename "$(CURDIR)" | cut -d '-' -f 2)
|
||||||
ifeq ($(GIT_VERSION),)
|
ifeq ($(GIT_VERSION),)
|
||||||
GIT_VERSION := $(shell cat VERSION)
|
GIT_VERSION := $(shell cat VERSION)
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
# Template file for 'uhubctl'
|
# Template file for 'uhubctl'
|
||||||
pkgname=uhubctl
|
pkgname=uhubctl
|
||||||
version=2.1.0
|
version=2.4.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_use_env=yes
|
make_use_env=yes
|
||||||
|
make_install_args="sbindir=/usr/bin"
|
||||||
|
hostmakedepends="pkg-config which"
|
||||||
makedepends="libusb-devel"
|
makedepends="libusb-devel"
|
||||||
short_desc="USB hub per-port power control"
|
short_desc="USB hub per-port power control"
|
||||||
maintainer="Pavel Fatin <mail@pavelfatin.com>"
|
maintainer="Pavel Fatin <mail@pavelfatin.com>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://github.com/mvp/uhubctl"
|
homepage="https://github.com/mvp/uhubctl"
|
||||||
distfiles="https://github.com/mvp/uhubctl/archive/v${version}.tar.gz"
|
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