diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-10-15 10:12:17 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-11-26 05:48:53 (GMT) |
commit | a6ba06c5260d26e805d9fdf54c587636bb861d4a (patch) | |
tree | fd2ab9aaba1aa8b0337f543a505af28d40925b24 /plugins/apps/keepassx.mk | |
parent | d6c4884455cec15d24fbdb5a07dd2ea68978bc14 (diff) | |
download | mxe-a6ba06c5260d26e805d9fdf54c587636bb861d4a.zip mxe-a6ba06c5260d26e805d9fdf54c587636bb861d4a.tar.gz mxe-a6ba06c5260d26e805d9fdf54c587636bb861d4a.tar.bz2 |
add native and apps plugin packages
Diffstat (limited to 'plugins/apps/keepassx.mk')
-rw-r--r-- | plugins/apps/keepassx.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/apps/keepassx.mk b/plugins/apps/keepassx.mk new file mode 100644 index 0000000..a05dc89 --- /dev/null +++ b/plugins/apps/keepassx.mk @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := keepassx +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.4.3 +$(PKG)_CHECKSUM := cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://www.keepassx.org/releases/$($(PKG)_FILE) +$(PKG)_WEBSITE := https://www.keepassx.org +$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST))) +$(PKG)_OWNER := https://github.com/starius +$(PKG)_DEPS := gcc qt + +define $(PKG)_UPDATE +$(WGET) -q -O- 'https://www.keepassx.org/downloads/' | \ + $(SED) -n 's,.*keepassx-\([0-9][^"]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && '$(TARGET)-qmake-qt4' \ + "PREFIX=$(PREFIX)/$(TARGET)/bin/" + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef |