mps-derleme-ayrac
This commit is contained in:
parent
245334ccaa
commit
22dfede41a
4
bin/mpsd
4
bin/mpsd
|
@ -26,7 +26,7 @@ abort_on_build() {
|
||||||
exit $E_BUILD
|
exit $E_BUILD
|
||||||
}
|
}
|
||||||
get_filename() {
|
get_filename() {
|
||||||
if [[ "$1" =~ "--"(.+) ]] ;then
|
if [[ "$1" =~ "::"(.+) ]] ;then
|
||||||
echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[1]}"
|
echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[1]}"
|
||||||
elif [[ $1 =~ ^(http|https|ftp|file)://.*/(.+) ]]; then
|
elif [[ $1 =~ ^(http|https|ftp|file)://.*/(.+) ]]; then
|
||||||
echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[2]}"
|
echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[2]}"
|
||||||
|
@ -146,7 +146,7 @@ downloads_file_with_curl() {
|
||||||
}
|
}
|
||||||
download_file() {
|
download_file() {
|
||||||
|
|
||||||
if [[ "$1" =~ (.+)"--" ]] ;then
|
if [[ "$1" =~ (.+)"::" ]] ;then
|
||||||
adres="${BASH_REMATCH[0]}"
|
adres="${BASH_REMATCH[0]}"
|
||||||
adres=`echo $adres | sed s'/..$//' `
|
adres=`echo $adres | sed s'/..$//' `
|
||||||
else
|
else
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=argon2
|
name=argon2
|
||||||
version=20161029
|
version=20161029
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version.tar.gz--$name-$version.tar.gz)
|
source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version.tar.gz::$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd phc-winner-argon2-$version
|
cd phc-winner-argon2-$version
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=kashmir
|
name=kashmir
|
||||||
version=20150805
|
version=20150805
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/Corvusoft/kashmir-dependency/archive/master.tar.gz--$name-$version.tar.gz)
|
source=(https://github.com/Corvusoft/kashmir-dependency/archive/master.tar.gz::$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd kashmir-dependency-master
|
cd kashmir-dependency-master
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=libringclient
|
name=libringclient
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/savoirfairelinux/ring-lrc/archive/master.tar.gz--$name-$version-master.tar.gz)
|
source=(https://github.com/savoirfairelinux/ring-lrc/archive/master.tar.gz::$name-$version-master.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "ring-lrc-master"
|
cd "ring-lrc-master"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=libsrtp
|
name=libsrtp
|
||||||
version=1.5.4
|
version=1.5.4
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/cisco/libsrtp/archive/v$version.tar.gz--$name-$version.tar.gz)
|
source=(https://github.com/cisco/libsrtp/archive/v$version.tar.gz::$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
|
@ -7,8 +7,8 @@ name=nim
|
||||||
_name=Nim
|
_name=Nim
|
||||||
version=0.17.0
|
version=0.17.0
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/nim-lang/Nim/archive/v$version.tar.gz--${_name}-$version.tar.gz
|
source=(https://github.com/nim-lang/Nim/archive/v$version.tar.gz::${_name}-$version.tar.gz
|
||||||
https://github.com/nim-lang/csources/archive/v$version.tar.gz--csources-$version.tar.gz)
|
https://github.com/nim-lang/csources/archive/v$version.tar.gz::csources-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${_name}-${version}
|
cd ${_name}-${version}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=nimble
|
name=nimble
|
||||||
version=0.8.6
|
version=0.8.6
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/nim-lang/nimble/archive/v$version.tar.gz--nimble-$version.tar.gz)
|
source=(https://github.com/nim-lang/nimble/archive/v$version.tar.gz::nimble-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${name}-${version}
|
cd ${name}-${version}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=opendht
|
name=opendht
|
||||||
version=1.3.5
|
version=1.3.5
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/savoirfairelinux/opendht/archive/1.3.5.tar.gz--$name-$version.tar.gz)
|
source=(https://github.com/savoirfairelinux/opendht/archive/1.3.5.tar.gz::$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=restbed
|
name=restbed
|
||||||
version=4.6
|
version=4.6
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/Corvusoft/restbed/archive/$version.tar.gz--$name-$version.tar.gz
|
source=(https://github.com/Corvusoft/restbed/archive/$version.tar.gz::$name-$version.tar.gz
|
||||||
strand.patch)
|
strand.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=ring-daemon
|
name=ring-daemon
|
||||||
version=4.0.0
|
version=4.0.0
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/savoirfairelinux/$name/archive/$version.tar.gz--$name-$version.tar.gz)
|
source=(https://github.com/savoirfairelinux/$name/archive/$version.tar.gz::$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${name}-$version"
|
cd "${name}-$version"
|
||||||
|
|
|
@ -7,7 +7,7 @@ name=xarchiver
|
||||||
version=0.5.4.11
|
version=0.5.4.11
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(https://github.com/ib/xarchiver/archive/$version.tar.gz--$name-$version.tar.gz)
|
source=(https://github.com/ib/xarchiver/archive/$version.tar.gz::$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
Loading…
Reference in New Issue