Browse Source

Some changes

master
mid-kid 10 years ago
parent
commit
c4253f4f69
  1. 3
      astronaut/astronaut
  2. 2
      astronaut/hello.sat
  3. 2
      tools/satellites/linux-api.sat
  4. 2
      tools/satellites/perl.sat

3
astronaut/astronaut

@ -43,12 +43,15 @@ while getopts "h?s:b:i:cC" opt; do
exit 0 exit 0
;; ;;
s) s)
mkdir -p "$OPTARG"
dir_source="$(realpath "$OPTARG")" dir_source="$(realpath "$OPTARG")"
;; ;;
b) b)
mkdir -p "$OPTARG"
dir_build="$(realpath "$OPTARG")" dir_build="$(realpath "$OPTARG")"
;; ;;
i) i)
mkdir -p "$OPTARG"
dir_install="$(realpath "$OPTARG")" dir_install="$(realpath "$OPTARG")"
;; ;;
c) c)

2
astronaut/hello.sat

@ -20,7 +20,7 @@ extract "$name-$version.tar.gz" \
# Compilation instructions # Compilation instructions
cd "$name-$version" cd "$name-$version"
./configure ./configure --prefix=/usr
make make
# Know if the user wants the package to be checked # Know if the user wants the package to be checked

2
tools/satellites/linux-api.sat

@ -1,5 +1,5 @@
name=linux name=linux
version=3.17.3 version=3.17.4
dlextract "https://www.kernel.org/pub/$name/kernel/v3.x/$name-$version.tar.xz" \ dlextract "https://www.kernel.org/pub/$name/kernel/v3.x/$name-$version.tar.xz" \
"d0e66347360aceb3cdb94f5d1d7880f2" "d0e66347360aceb3cdb94f5d1d7880f2"

2
tools/satellites/perl.sat

@ -9,6 +9,6 @@ cd "$name-$version"
sh Configure -des -Dprefix=/tools -Dlibs=-lm sh Configure -des -Dprefix=/tools -Dlibs=-lm
make make
cp perl cpan/podlators/pod2man "$dir_install/tools/bin" cp perl "$dir_install/tools/bin"
mkdir -p "$dir_install/tools/lib/perl5" mkdir -p "$dir_install/tools/lib/perl5"
cp -r lib "$dir_install/tools/lib/perl5/$version" cp -r lib "$dir_install/tools/lib/perl5/$version"

Loading…
Cancel
Save