diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-09-02 08:09:48 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-03 13:45:11 (GMT) |
commit | e006e5d88d67884680441eaf50f125f45e20312f (patch) | |
tree | c1d4816d6f5d72e0f55812dfbc3f03e3e74c2931 | |
parent | d4f90351e951bdd93a1de593a74e8394ae6c4ba3 (diff) | |
download | mxe-e006e5d88d67884680441eaf50f125f45e20312f.zip mxe-e006e5d88d67884680441eaf50f125f45e20312f.tar.gz mxe-e006e5d88d67884680441eaf50f125f45e20312f.tar.bz2 |
db: add update script
-rw-r--r-- | src/db.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -11,8 +11,9 @@ $(PKG)_URL := http://download.oracle.com/berkeley-db/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - echo 'TODO: Updates for package db need to be fixed.' >&2; - echo $(db_VERSION) + $(WGET) -q -O- 'http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html' | \ + $(SED) -n 's,.*/db-\([0-9\.]\+\)\.tar.gz.*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |