From c4253f4f698eb4a688f0394c2d49ba858fc2c466 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Mon, 1 Dec 2014 21:17:02 +0100 Subject: [PATCH] Some changes --- astronaut/astronaut | 3 +++ astronaut/hello.sat | 2 +- tools/satellites/linux-api.sat | 2 +- tools/satellites/perl.sat | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) 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"