Skip to content

Commit

Permalink
expat: use release archive
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray committed Apr 11, 2021
1 parent ce7d822 commit 9490964
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
14 changes: 4 additions & 10 deletions cross/expat/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
PKG_NAME = expat
PKG_VERS = 2.2.7
PKG_EXT = tar.gz
PKG_DIST_NAME = R_2_2_7.$(PKG_EXT)
PKG_DIST_SITE = https://github.com/lib$(PKG_NAME)/lib$(PKG_NAME)/archive/refs/tags
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = lib$(PKG_NAME)-R_2_2_7/$(PKG_NAME)
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libexpat/lib$(PKG_NAME)/releases/download/R_$(subst .,_,$(PKG_VERS))
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =

Expand All @@ -13,13 +12,8 @@ COMMENT = Expat is an XML parser library written in C. It is a stream-oriented
LICENSE = MIT

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = expat_pre_configure

# TODO check "getrandom" syscall availability for each arch/DSM versions
CONFIGURE_ARGS = CFLAGS=-DXML_POOR_ENTROPY

include ../../mk/spksrc.cross-cc.mk

.PHONY: expat_pre_configure
expat_pre_configure:
$(RUN) ./buildconf.sh
6 changes: 3 additions & 3 deletions cross/expat/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
expat-2.2.7.tar.gz SHA1 fedb0c4c822374fc4e03fbd1ca996f3ac8aa2781
expat-2.2.7.tar.gz SHA256 4efe89dfd8c2f9b971bf9089efa4cc163ac997a75da92c08be14d80a091474e6
expat-2.2.7.tar.gz MD5 bbcf74b466f9f49a985921e26f7244de
expat-2.2.7.tar.bz2 SHA1 9c8a268211e3f1ae31c4d550e5be7708973ec6a6
expat-2.2.7.tar.bz2 SHA256 cbc9102f4a31a8dafd42d642e9a3aa31e79a0aedaa1f6efd2795ebc83174ec18
expat-2.2.7.tar.bz2 MD5 72f36b87cdb478aba1e78473393766aa

0 comments on commit 9490964

Please sign in to comment.