diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-12-14 07:27:33 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-12-14 07:27:33 (GMT) |
commit | 3fe2e72fec0a4488e16b4bf0396e32e01c2191e0 (patch) | |
tree | f803c66fbc31439ffe1c86b4e8f848d7cecbfe24 /src | |
parent | de45bde5b9e30e125279f66d307646b1b7fefafd (diff) | |
parent | 1974c8ecfeb86f2953ff87abddc0ffb7c979ddd6 (diff) | |
download | mxe-3fe2e72fec0a4488e16b4bf0396e32e01c2191e0.zip mxe-3fe2e72fec0a4488e16b4bf0396e32e01c2191e0.tar.gz mxe-3fe2e72fec0a4488e16b4bf0396e32e01c2191e0.tar.bz2 |
Merge pull request #1050 from LuaAndC/torrent2
add packages geoip-database (to src/) and qbitorrent (to plugin/apps/)
Diffstat (limited to 'src')
-rw-r--r-- | src/geoip-database.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/geoip-database.mk b/src/geoip-database.mk new file mode 100644 index 0000000..eaa2eb3 --- /dev/null +++ b/src/geoip-database.mk @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := geoip-database +$(PKG)_IGNORE := +$(PKG)_VERSION := 20150317-1 +$(PKG)_CHECKSUM := 45be84939fd22bef1ccaa1189f83c667fef275a16bbfb91f82b7b2068b4e3735 +$(PKG)_SUBDIR := . +$(PKG)_FILE := $(PKG)_$($(PKG)_VERSION)_all.deb +$(PKG)_URL := http://http.debian.net/debian/pool/main/g/$(PKG)/$($(PKG)_FILE) +$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS) + +define $(PKG)_UPDATE + $(WGET) -q -O- 'https://packages.debian.org/jessie/all/geoip-database/download' | \ + $(SED) -n 's,.*geoip-database_\([0-9\-]*\)_all.deb.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD_$(BUILD) + mkdir -p '$(PREFIX)/$(BUILD)/share/GeoIP' + cp '$(1)/usr/share/GeoIP/GeoIP.dat' \ + '$(PREFIX)/$(BUILD)/share/GeoIP/GeoIP.dat' +endef |