diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/fityk/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/fityk/PKGBUILD')
-rw-r--r-- | community/fityk/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/fityk/PKGBUILD b/community/fityk/PKGBUILD new file mode 100644 index 000000000..fc973936a --- /dev/null +++ b/community/fityk/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Cuneyt Unlu <unlucu AT gmail.com> + +pkgname=fityk +pkgver=1.0.1 +pkgrel=1 +pkgdesc='A program for nonlinear fitting of analytical functions to data.' +arch=('i686' 'x86_64') +url='http://www.unipress.waw.pl/fityk/' +license=('GPL') +depends=('boost-libs' 'xylib' 'wxgtk' 'shared-mime-info') +makedepends=('boost' 'git' 'python-sphinx') +options=('!libtool') +install=${pkgname}.install +source=('http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.9.1.tar.bz2') +md5sums=('81c20d7b2ba31becb18e467dbe09be8f') + +build() { + cd wxWidgets-2.9.1 + ./configure --prefix=${srcdir}/usr --disable-shared --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys + make + make install + + cd ${srcdir} + git clone git://github.com/wojdyr/fityk.git + cd fityk + ##git checkout v${pkgver} + #cd ${pkgname}-${pkgver} + + # disable xyconvert because wxwidgets>=2.9 is needed (dev version) and it isn't standard with arch yet + #--disable-xyconvert \ + ./autogen.sh \ + --prefix=/usr \ + --without-doc \ + --with-wx-prefix=${srcdir}/usr + #./configure \ + + make +} + +package() { + cd fityk + + make DESTDIR=${pkgdir} install +} |