# Description: Multiple sequence alignment and phylogeny GUI # URL: http://doua.prabi.fr/software/seaview # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: gblocks fltk pdflib-lite xorg-libsm xorg-libxcursor muscle clustalo treerecs name=seaview version=5.0.5 release=1 source=(ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/$name/archive/${name}_${version}.tar.gz $name.desktop) build() { cd $name # Use our CFLAGS sed -i "/^CFLAGS/s/=/+=/" Makefile # Enable PDF output. If you do not want it, comment out the next four # lines. Then you do not need to install PDFlib-Lite. sed -i "8 c PDF_INC = /usr/include" Makefile sed -i "9 c PDF_LIB = /usr/lib" Makefile sed -i "s:#PDF_PS_FLAGS:PDF_PS_FLAGS:" Makefile sed -i "s:#LPDF:LPDF:" Makefile # Point to the correct documentation path and phyml executable name sed -i "s:#HELPFILE:HELPFILE:" Makefile sed -i "s:/share/doc/seaview:/share/$name/:" Makefile sed -i "s:#PHYMLNAME:PHYMLNAME:" Makefile CFLAGS="$CFLAGS -fcommon" \ CXXFLAGS="$CXXFLAGS -fcommon" \ make install -D -m755 $name $PKG/usr/bin/$name install -D -m644 $name.1 $PKG/usr/share/man/man1/$name.1 # I _do_ want to have this documentation mkdir -p $PKG/usr/share/$name cp -a $name.html $PKG/usr/share/$name mkdir -p $PKG/usr/share/{applications,pixmaps} cp $SRC/$name.desktop $PKG/usr/share/applications cp $name.xpm $PKG/usr/share/pixmaps }