mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
uhubctl: update to 2.1.0.
This commit is contained in:
parent
30dc00fdd6
commit
30b80510de
2 changed files with 11 additions and 9 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
diff --git Makefile Makefile
|
||||||
|
index f6d69d3..58a9d98 100644
|
||||||
--- Makefile
|
--- Makefile
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -4,7 +4,7 @@
|
@@ -4,7 +4,7 @@ UNAME_S := $(shell uname -s)
|
||||||
|
|
||||||
DESTDIR ?=
|
DESTDIR ?=
|
||||||
prefix ?= /usr
|
prefix ?= /usr
|
||||||
|
@ -9,12 +11,12 @@
|
||||||
|
|
||||||
INSTALL := install
|
INSTALL := install
|
||||||
INSTALL_DIR := $(INSTALL) -m 755 -d
|
INSTALL_DIR := $(INSTALL) -m 755 -d
|
||||||
@@ -14,7 +14,7 @@
|
@@ -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=4 --dirty --always --tags)
|
-GIT_VERSION := $(shell git describe --abbrev=8 --dirty --always --tags)
|
||||||
+GIT_VERSION := $(shell basename "$(CURDIR)" | cut -d '-' -f 2)
|
+GIT_VERSION := $(shell basename "$(CURDIR)" | cut -d '-' -f 2)
|
||||||
CFLAGS += -DPROGRAM_VERSION=\"$(GIT_VERSION)\"
|
ifeq ($(GIT_VERSION),)
|
||||||
|
GIT_VERSION := $(shell cat VERSION)
|
||||||
ifeq ($(UNAME_S),Linux)
|
endif
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'uhubctl'
|
# Template file for 'uhubctl'
|
||||||
pkgname=uhubctl
|
pkgname=uhubctl
|
||||||
version=2.0.0
|
version=2.1.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_use_env=yes
|
make_use_env=yes
|
||||||
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"
|
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=4c31278b2c03e5be5a696c3088bc86cf2557a70e00f697799c163aba18e3c40e
|
checksum=227fdd541067b84eaa0e15cdc171458a56de7591f7a1deaff3e6d42d2809450b
|
||||||
|
|
Loading…
Add table
Reference in a new issue