mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
72cb71c827
Now SHA256 has been shown to be an adequate replacement for SHA1, use SHA256 for verifying all port downloads. Ref #2767
27 lines
695 B
Plaintext
27 lines
695 B
Plaintext
LICENSE := BSD
|
|
VERSION := 8.30
|
|
DOWNLOADS := pcre.archive
|
|
|
|
URL(pcre) := http://sourceforge.net/projects/pcre/files/pcre/$(VERSION)/pcre-$(VERSION).tar.bz2
|
|
SHA(pcre) := c1113fd7db934e97ad8b3917d432e5b642e9eb9afd127eb797804937c965f4ac
|
|
SIG(pcre) := ${URL(pcre)}.sig
|
|
KEY(pcre) := ph10@cam.ac.uk
|
|
DIR(pcre) := src/lib/pcre
|
|
|
|
default: include/pcre/pcre.h
|
|
|
|
include/pcre/pcre.h: $(DOWNLOADS)
|
|
|
|
subst := \
|
|
"@PCRE_MAJOR@/8" \
|
|
"@PCRE_MINOR@/30" \
|
|
"@PCRE_PRERELEASE@/" \
|
|
"@PCRE_DATE@/2012-02-04"
|
|
|
|
apply_substitutions = for i in $(subst); do sed -i "s/$$i/g" $(1); done
|
|
|
|
include/pcre/pcre.h:
|
|
$(VERBOSE)mkdir -p $(dir $@)
|
|
$(VERBOSE)cp src/lib/pcre/pcre.h.in $@
|
|
$(VERBOSE)$(call apply_substitutions,$@)
|