upstream_archive = readline-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz upstream_url = http://ftp.gnu.org/pub/gnu/readline/$(upstream_archive) source_archive = ../readline-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz $(source_archive): wget -c '$(upstream_url)' set -e; if gpg --version >/dev/null 2>&1; then \ wget -c '$(upstream_url).sig'; \ if [ ! -e ../keyring.gpg ]; then \ wget -c -O chet.asc \ http://cnswww.cns.cwru.edu/~chet/gpgkey.asc; \ gpg --keyring ../keyring.gpg --no-default-keyring \ --import chet.asc; \ rm -f ../keyring.gpg~; \ fi; \ gpg --verify --keyring ../keyring.gpg \ '$(upstream_archive).sig'; \ fi mv '$(upstream_archive)' '$(source_archive)' source: $(source_archive)