Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $maintainer = 'Thomas Chace <ithomashc@gmail.com>'
- $package = 'smalltalk'
- $version = '3.2.2'
- $license = 'GPL'
- $arch = ['i686']
- $deps = []
- $url = ''
- $desc = 'A fast smalltalk-80 implementation.'
- $longdesc = ''
- $source = "ftp://ftp.gnu.org/gnu/smalltalk/#{$package}-#{$version}.tar.xz"
- $sourcetype = 'ftp'
- $builddeps = []
- def install()
- `ln -s /usr/bin/gst /usr/bin/smalltalk`
- end
- def remove()
- `rm /usr/bin/smalltalk`
- end
- def build()
- base_path = File.expand_path(File.dirname("data"))
- system("tar -xf #{$package}-#{$version}.tar.xz")
- Dir.chdir("#{$package}-#{$version}")
- system("./configure --prefix=/usr --with-imagedir=/var/lib/smalltalk --with-system-libffi --with-system-libsigsegv --enable-jit --disable-gtktest --enable-gtk=no --with-x=no")
- system("make -s DESTDIR=#{base_path} install")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement