diff --git a/astronaut/astronaut b/astronaut/astronaut index 95edf96..da36028 100755 --- a/astronaut/astronaut +++ b/astronaut/astronaut @@ -43,12 +43,15 @@ while getopts "h?s:b:i:cC" opt; do exit 0 ;; s) + mkdir -p "$OPTARG" dir_source="$(realpath "$OPTARG")" ;; b) + mkdir -p "$OPTARG" dir_build="$(realpath "$OPTARG")" ;; i) + mkdir -p "$OPTARG" dir_install="$(realpath "$OPTARG")" ;; c) diff --git a/astronaut/hello.sat b/astronaut/hello.sat index 3bce414..2a69726 100644 --- a/astronaut/hello.sat +++ b/astronaut/hello.sat @@ -20,7 +20,7 @@ extract "$name-$version.tar.gz" \ # Compilation instructions cd "$name-$version" -./configure +./configure --prefix=/usr make # Know if the user wants the package to be checked diff --git a/tools/satellites/linux-api.sat b/tools/satellites/linux-api.sat index 75cdff8..b5ed394 100644 --- a/tools/satellites/linux-api.sat +++ b/tools/satellites/linux-api.sat @@ -1,5 +1,5 @@ name=linux -version=3.17.3 +version=3.17.4 dlextract "https://www.kernel.org/pub/$name/kernel/v3.x/$name-$version.tar.xz" \ "d0e66347360aceb3cdb94f5d1d7880f2" diff --git a/tools/satellites/perl.sat b/tools/satellites/perl.sat index c125da2..01b75dc 100644 --- a/tools/satellites/perl.sat +++ b/tools/satellites/perl.sat @@ -9,6 +9,6 @@ cd "$name-$version" sh Configure -des -Dprefix=/tools -Dlibs=-lm make -cp perl cpan/podlators/pod2man "$dir_install/tools/bin" +cp perl "$dir_install/tools/bin" mkdir -p "$dir_install/tools/lib/perl5" cp -r lib "$dir_install/tools/lib/perl5/$version"