Created
March 21, 2016 01:49
-
-
Save MilhouseVH/968b78e51b070ae1ba2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/path b/config/path | |
index f302c70..fde2e22 100644 | |
--- a/config/path | |
+++ b/config/path | |
@@ -61,6 +61,7 @@ SED="sed -i" | |
PKG_LICENSE="unknown" | |
PKG_SITE="" | |
PKG_URL="" | |
+ PKG_GIT_URL="" | |
PKG_SOURCE_NAME="" | |
PKG_SOURCE_DIR="" | |
PKG_DEPENDS_TARGET="" | |
@@ -154,6 +155,8 @@ SED="sed -i" | |
. $PKG_DIR/package.mk | |
fi | |
+ [ -n "$PKG_GIT_URL" -a -z "$PKG_URL" ] && PKG_URL=$PKG_GIT_URL/archive/$PKG_VERSION.tar.gz" | |
+ | |
if [ "$PKG_IS_ADDON" = "yes" ] ; then | |
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME" | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment