summaryrefslogtreecommitdiffstats
path: root/src/libomemo.mk
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2017-03-28 21:34:39 (GMT)
committerBoris Pek <tehnick-8@yandex.ru>2017-03-29 11:48:29 (GMT)
commit3c943d249c9fc3c65a30293b85ec6108f3dfcf6f (patch)
treef74987d405f555e63cc303d22b1a55bc36012cdb /src/libomemo.mk
parentd70a7c025cb5114e594b504e3ea43edac4ce8ca5 (diff)
downloadmxe-3c943d249c9fc3c65a30293b85ec6108f3dfcf6f.zip
mxe-3c943d249c9fc3c65a30293b85ec6108f3dfcf6f.tar.gz
mxe-3c943d249c9fc3c65a30293b85ec6108f3dfcf6f.tar.bz2
libomemo: use GH_CONF
Diffstat (limited to 'src/libomemo.mk')
-rw-r--r--src/libomemo.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libomemo.mk b/src/libomemo.mk
index a23d18b..06aaaff 100644
--- a/src/libomemo.mk
+++ b/src/libomemo.mk
@@ -6,17 +6,9 @@ $(PKG)_DESCR := Implementation of OMEMO in C
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.4.1
$(PKG)_CHECKSUM := af66fd2958dc5d6b23bc488b69e9f431bfb308d79bdd1b1c31de4575862c5142
-$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := https://github.com/gkdr/libomemo/archive/v$($(PKG)_VERSION).tar.gz
+$(PKG)_GH_CONF := gkdr/libomemo, v
$(PKG)_DEPS := gcc glib libgcrypt mxml sqlite
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://github.com/gkdr/libomemo/releases' | \
- $(SED) -n 's,.*/gkdr/libomemo/archive/v\([0-9\.]*\)\.tar.*,\1,p' | \
- head -1
-endef
-
define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)' all \
CC='$(TARGET)-gcc' \