mirror of https://git.wownero.com/dsc/mxe.git
qca: use GH_CONF
This commit is contained in:
parent
922ff5bce5
commit
68f5df6744
10
src/qca.mk
10
src/qca.mk
|
@ -6,17 +6,9 @@ $(PKG)_DESCR := Qt Cryptographic Architecture
|
|||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.1.3
|
||||
$(PKG)_CHECKSUM := a5135ffb0250a40e9c361eb10cd3fe28293f0cf4e5c69d3761481eafd7968067
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://github.com/KDE/qca/archive/v$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_GH_CONF := KDE/qca,v
|
||||
$(PKG)_DEPS := gcc qtbase
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://github.com/KDE/qca/tags' | \
|
||||
$(SED) -n 's,.*/KDE/qca/archive/v\([0-9][^>]*\)\.tar\.gz.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
|
||||
-DBUILD_TESTS=OFF \
|
||||
|
|
Loading…
Reference in New Issue