Browse Source

Moved extrafiles to subdir, added stow patch, vim options

master
mid-kid 10 years ago
parent
commit
ee9a004346
  1. BIN
      astronaut/.astronaut.swp
  2. 2
      astronaut/astronaut
  3. 2
      astronaut/hello.sat
  4. 2
      tools/satellites/astronaut.sat
  5. 2
      tools/satellites/binutils-1.sat
  6. 2
      tools/satellites/binutils-2.sat
  7. 2
      tools/satellites/busybox.sat
  8. 0
      tools/satellites/extrafiles/busybox/busybox.config
  9. 12
      tools/satellites/extrafiles/stow/fix-warning-message-perl5.20.patch
  10. 2
      tools/satellites/gcc-1.sat
  11. 2
      tools/satellites/gcc-2.sat
  12. 2
      tools/satellites/glibc.sat
  13. 2
      tools/satellites/libstdc.sat
  14. 2
      tools/satellites/linux-api.sat
  15. 2
      tools/satellites/make.sat
  16. 2
      tools/satellites/perl.sat
  17. 5
      tools/satellites/stow.sat

BIN
astronaut/.astronaut.swp

Binary file not shown.

2
astronaut/astronaut

@ -119,7 +119,7 @@ dlextract() {
} }
extrafile() { extrafile() {
cp "$(dirname "$satellite")/$1" "$dir_build/$1" cp "$(dirname "$satellite")/extrafiles/$name/$1" "$dir_build/$1"
} }
do_check() { do_check() {

2
astronaut/hello.sat

@ -31,3 +31,5 @@ fi
#do_check make check #do_check make check
make DESTDIR="$dir_install" install make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/astronaut.sat

@ -2,3 +2,5 @@
msg "Installing astronaut" msg "Installing astronaut"
install -Dm755 "$(command -v "$0")" "$dir_install/tools/bin/astronaut" install -Dm755 "$(command -v "$0")" "$dir_install/tools/bin/astronaut"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/binutils-1.sat

@ -21,3 +21,5 @@ case $(uname -m) in
esac esac
make DESTDIR="$dir_install" install make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/binutils-2.sat

@ -21,3 +21,5 @@ make; make DESTDIR="$dir_install" install
make -C ld clean make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib make -C ld LIB_PATH=/usr/lib:/lib
cp ld/ld-new "$dir_install/tools/bin/ld-new" cp ld/ld-new "$dir_install/tools/bin/ld-new"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/busybox.sat

@ -9,3 +9,5 @@ cat busybox.config | sed 's@./_install@'"$dir_install/tools"'@' > "$name-$versio
cd "$name-$version" cd "$name-$version"
make; make install make; make install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

0
tools/satellites/busybox.config → tools/satellites/extrafiles/busybox/busybox.config

12
tools/satellites/extrafiles/stow/fix-warning-message-perl5.20.patch

@ -0,0 +1,12 @@
# https://projects.archlinux.org/svntogit/community.git/plain/trunk/01-fix-warning-message-perl5.20.patch?h=packages/stow
--- a/lib/Stow.pm.in 2012-02-18 20:33:34.000000000 +0000
+++ b/lib/Stow.pm.in 2014-06-08 22:46:03.420893651 +0100
@@ -1732,7 +1732,7 @@
}
elsif (-l $path) {
debug(4, " read_a_link($path): real link");
- return readlink $path
+ (return readlink $path)
or error("Could not read link: $path");
}
internal_error("read_a_link() passed a non link path: $path\n");

2
tools/satellites/gcc-1.sat

@ -66,3 +66,5 @@ mkdir "../$name-build"; cd "../$name-build"
--enable-languages=c,c++ --enable-languages=c,c++
make; make DESTDIR="$dir_install" install make; make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/gcc-2.sat

@ -60,3 +60,5 @@ RANLIB="$target-ranlib" \
make; make DESTDIR="$dir_install" install make; make DESTDIR="$dir_install" install
ln -s gcc "$dir_install/tools/bin/cc" ln -s gcc "$dir_install/tools/bin/cc"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/glibc.sat

@ -18,3 +18,5 @@ mkdir "$name-build"; cd "$name-build"
libc_cv_c_cleanup=yes libc_cv_c_cleanup=yes
make; make DESTDIR="$dir_install" install make; make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/libstdc.sat

@ -17,3 +17,5 @@ mkdir "$name-build"; cd "$name-build"
--with-gxx-include-dir="/tools/$target/include/c++/$version" --with-gxx-include-dir="/tools/$target/include/c++/$version"
make; make DESTDIR="$dir_install" install make; make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/linux-api.sat

@ -8,3 +8,5 @@ cd "$name-$version"
make mrproper make mrproper
make INSTALL_HDR_PATH="$dir_install/tools" headers_install make INSTALL_HDR_PATH="$dir_install/tools" headers_install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/make.sat

@ -8,3 +8,5 @@ cd "$name-$version"
./configure --prefix=/tools --without-guile ./configure --prefix=/tools --without-guile
make; make DESTDIR="$dir_install" install make; make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
tools/satellites/perl.sat

@ -12,3 +12,5 @@ make
cp perl cpan/podlators/pod2man "$dir_install/tools/bin" cp perl cpan/podlators/pod2man "$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"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

5
tools/satellites/stow.sat

@ -3,8 +3,13 @@ version=2.2.0
dlextract "http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2" \ dlextract "http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2" \
"5bb56592eff9aaf9dfb6c975b3004240" "5bb56592eff9aaf9dfb6c975b3004240"
extrafile "fix-warning-message-perl5.20.patch"
patch -p1 -i "fix-warning-message-perl5.20.patch" -d "$name-$version"
cd "$name-$version" cd "$name-$version"
./configure --prefix=/tools ./configure --prefix=/tools
make DESTDIR="$dir_install" install-exec-am install-pmDATA install-dist_pmstowDATA make DESTDIR="$dir_install" install-exec-am install-pmDATA install-dist_pmstowDATA
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

Loading…
Cancel
Save