mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
644 B

  1. squeak_preconf () {
  2. mkdir bld
  3. cd bld
  4. }
  5. squeak_premake () {
  6. mkdir -p $root/prefix/sbin
  7. cp -a inisqueak $root/$prefix/sbin
  8. }
  9. squeak_postinstall () {
  10. mkdir -p $root/opt/squeak
  11. unzip -o -d $root/opt/squeak/ $archdir/Squeak$image_ver-full.zip
  12. tar xvIf $archdir/SqueakV${ver:0:1}.sources.tar.bz2
  13. mv `find . -name SqueakV${ver:0:1}.sources` /opt/squeak
  14. cat > $root/etc/profile.d/squeak <<-EOP
  15. SQUEAK_IMAGE=/opt/squeak/Squeak$image_ver-full.image
  16. export SQUEAK_IMAGE
  17. EOP
  18. }
  19. configscript="../platforms/unix/config/configure"
  20. hook_add preconf 3 squeak_preconf
  21. hook_add premake 3 squeak_premake
  22. hook_add postinstall 3 squeak_postinstall