Browse code

fix urls

Nat! authored on 08-11-2016 17:03:57
Showing 2 changed files
... ...
@@ -7,7 +7,7 @@
7 7
 
8 8
 PROJECT="MulleVararg"    # requires camel-case
9 9
 DESC="Access variable arguments in struct layout fashion"
10
-DEPENDENCIES='${REMOTEROOTDIR}/software/mulle-c11' # no camel case, will be evaled later!
10
+DEPENDENCIES='${DEPENDENCY_TAP}/mulle-c11' # no camel case, will be evaled later!
11 11
 LANGUAGE=c               # c,cpp, objc
12 12
 
13 13
 #
... ...
@@ -1,11 +1,18 @@
1 1
 #! /bin/sh
2 2
 
3
+# ARCHIVEURL will be evaled later! keep it in single quotes
4
+# where homebrew grabs the archive off
5
+ARCHIVEURL='https://github.com/mulle-nat/${NAME}/archive/${VERSION}.tar.gz'
6
+
7
+# written into formula for homebrew, will be evaled
3 8
 HOMEPAGE='https://github.com/mulle-nat/${NAME}'
4
-ORIGIN=public                                    # git repo to push
5
-REMOTEROOTDIR="mulle-kybernetik"
6 9
 
7
-REMOTEHOST="https://github.com"
8
-REMOTEURL="${REMOTEHOST}/${REMOTEROOTDIR}"
9
-ARCHIVEURL='${REMOTEURL}/${NAME}/archive/${VERSION}.tar.gz'  # ARCHIVEURL will be evaled later! keep it in single quotes
10
+# git remote to push to, usually origin
11
+ORIGIN='public'
12
+
13
+# base tap for dependencies
14
+DEPENDENCY_TAP='mulle-kybernetik/software'
15
+
10 16
 
17
+# keep this
11 18
 :