kiss-repo

personal package repository
git clone git://bvnf.space/kiss-repo.git
Log | Files | Refs | README | LICENSE

build (385B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
#!/bin/sh -e

sed 's#InitFile "init.scm"#InitFile "'"$KISS_ROOT"'/usr/share/tinyscheme/init.scm"#' \
    scheme.c > _
mv _ scheme.c

make all

mkdir -p \
    "$1/usr/bin/" \
    "$1/usr/lib/" \
    "$1/usr/share/tinyscheme/"

cp scheme           "$1/usr/bin/tinyscheme"
cp libtinyscheme.a  "$1/usr/lib/"
cp libtinyscheme.so "$1/usr/lib/"
cp init.scm         "$1/usr/share/tinyscheme/"