Package: pike7.5
Version: 7.5.21
Revision: 0
Description: Programming language with a C-like syntax
DescDetail: <<
 Pike is an interpreted, object-oriented programming language. 
 It looks a bit like C and C++, but it is much easier to learn and use. It 
 can be used for small scripts as well as for large programs. 
 
 Pike is 
 - High-level and powerful, which means that even very complex 
  things are easy to do.
 - Object-oriented, which means that you can use modern programming
  techniques to divide a large program into  small pieces, which are much
  easier to write than it would be to write 
  the entire program at once.
 - Interpreted, which means that you don't have to wait for a program to
  compile and link when you want to run it,
 - One of the fastest "scripting" languages available.
 - Garbage-collected, which makes programming much simpler, and removes 
  the risk for memory leaks and other memory-related bugs.
 - Easy to extend, which means that you can create plug-ins, written in
  Pike as well as in C or C++, and integrate them with the rest of Pike.
<<
CustomMirror: <<
Primary: ftp://ftp.oav.net/pike/7.5/export/
Secondary-http: http://ftp.oav.net/pike/7.5/export/
<<
Source: mirror:custom:Pike-v%v.tar.gz
Source-MD5: 877ba7a831656bb98b0b4369e94d2603
BuildDepends: gmp,fileutils,libjpeg,freetype,freetype2,gdbm,pdflib,fftw,dlcompat-dev,mysql12-dev
Depends: gmp-shlibs,libjpeg-shlibs,freetype-shlibs,freetype2-shlibs,gdbm-shlibs,pdflib-shlibs,libtiff-shlibs,ffmpeg,fftw-shlibs,dlcompat-shlibs,mysql12-shlibs
SourceDirectory: Pike-v%v
CompileScript: <<
make CONFIGUREARGS="%c --without-GL --without-postgres --with-freetype --without-GTK --with-mysql=%p --with-libpdf --without-debug --with-double-precision --disable-rpath --without-rtldebug --without-cdebug --without-copt --without-security --with-oob --with-max-fd=60000 --without-relocatable-dumped-modules --without-libpanda --without-perl --with-threads --with-readline --with-tiff --without-ssleay --with-ttflib --without-pgsql --without-msql --without-sane --without-GLUT --without-gnome --without-glade --without-poll --without-machine-code --with-relocatable-dumped-module"
<<
InstallScript: <<
 cd build/`uname -s -r -m|sed "s/ /-/g"|tr "[A-Z]" "[a-z]"|tr "/()" "___"`
 make install prefix=%p buildroot=%d exec_prefix=%p/bin/ share_prefix=%p/share/pike/%n/ lib_prefix=%p/lib/pike/%n/ man_prefix=%p/share/man/ include_path=%p/inclide/pike74/ INSTALLARGS=--traditional
 make doc
 mkdir -p %i/share/doc/%n
 cp -rf refdoc/modref %i/share/doc/%n/
 cp -rf refdoc/traditional_manual %i/share/doc/%n/
 mv %i/bin/pike %i/bin/pike75
 mv %i/bin/hilfe %i/bin/hilfe75
 mv %i/share/man/man1/pike.1 %i/share/man/man1/pike75.1
<<
DocFiles: ANNOUNCE COPYING COPYRIGHT README README-CVS
License: GPL/LGPL
Homepage: http://pike.ida.liu.se/
Maintainer: Xavier BEAUDOUIN <kiwi@caudium.net>
PostInstScript: <<
update-alternatives --install %p/bin/pike pike %p/bin/pike75 40
update-alternatives --install %p/bin/hilfe hilfe %p/bin/hifle75 40
update-alternatives --install %p/share/man/man1/pike.1 pike.1 %p/share/man/man/pike75.1 40
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
  update-alternatives --remove pike %p/bin/pike75
  update-alternatives --remove pike %p/bin/hilfe75
  update-alternatives --remove pike %p/share/man/man1/pike75.1
fi
<<

