diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-05-25 21:45:51 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-05-25 21:45:51 +0200 |
commit | 76ef5cde8b97eb5936b232e1c67123ead6e07b29 (patch) | |
tree | 2abdb312b707a6b63296d281938904128ea1bb34 /cross.mk | |
parent | 907ba9435589b79db592702ff99127f52c49458a (diff) | |
download | gnutls-76ef5cde8b97eb5936b232e1c67123ead6e07b29.tar.gz |
Added DevPak package.
Diffstat (limited to 'cross.mk')
-rw-r--r-- | cross.mk | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,6 +1,6 @@ - -GNUTLS_FILE:=gnutls-3.0.18.tar.xz -GNUTLS_DIR:=gnutls-3.0.18 +GNUTLS_VERSION:=3.0.19 +GNUTLS_FILE:=gnutls-$(GNUTLS_VERSION).tar.xz +GNUTLS_DIR:=gnutls-$(GNUTLS_VERSION) GMP_FILE:=gmp-5.0.4.tar.bz2 GMP_DIR:=gmp-5.0.4 @@ -15,6 +15,7 @@ CROSS_DIR:=$(PWD)/win32 BIN_DIR:=$(CROSS_DIR)/bin LIB_DIR:=$(CROSS_DIR)/lib HEADERS_DIR:=$(CROSS_DIR)/include +DEVCPP_DIR:=$(PWD)/devcpp all: update-gpg-keys gnutls-w32 @@ -26,6 +27,14 @@ $(GNUTLS_DIR)-w32.zip: $(LIB_DIR) $(BIN_DIR) $(GNUTLS_DIR)/.installed cd $(CROSS_DIR) && zip -r $(PWD)/$@ * gpg --sign --detach $(GNUTLS_DIR)-w32.zip +gnutls-$(GNUTLS_VERSION)-1gn.DevPak: $(GNUTLS_DIR)-w32.zip + rm -rf $(DEVCPP_DIR) + mkdir -p $(DEVCPP_DIR) + cd $(DEVCPP_DIR) && unzip ../$(GNUTLS_DIR)-w32.zip && tar xf ../devcpp.tar && sed -i 's/@VERSION@/$(GNUTLS_VERSION)/g' gnutls.DevPackage + cd $(DEVCPP_DIR) && tar -cjf ../$@ . + +devpak: gnutls-$(GNUTLS_VERSION)-1gn.DevPak + gnutls-w32: $(GNUTLS_DIR)-w32.zip nettle: $(NETTLE_DIR)/.installed |