Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=56900aab94b6a3976220d81e8543093eaf078f7d

commit 56900aab94b6a3976220d81e8543093eaf078f7d
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Aug 31 16:52:36 2010 +0200

libpst-0.6.47-2-i686

- rebuilt with python-2.7

diff --git a/source/xlib-extra/libpst/FrugalBuild 
b/source/xlib-extra/libpst/FrugalBuild
index e5f65f8..9bdb44b 100644
--- a/source/xlib-extra/libpst/FrugalBuild
+++ b/source/xlib-extra/libpst/FrugalBuild
@@ -3,27 +3,31 @@

pkgname=libpst
pkgver=0.6.47
-pkgrel=1
+pkgrel=2
pkgdesc="Utilities to convert Outlook .pst files to other formats"
url="http://www.five-ten-sg.com/$pkgname";
up2date="Flasttar $url/packages/"
-source=($url/packages/$pkgname-$pkgver.tar.gz)
+source=($url/packages/$pkgname-$pkgver.tar.gz python-2.6.patch)
depends=('imagemagick' 'libboost')
Finclude python
makedepends=('boost')
groups=('xlib-extra')
archs=('i686' 'x86_64' 'ppc')
-sha1sums=('2d319ab323f0b003f642010ea3ff1d80d58711f8')
+sha1sums=('2d319ab323f0b003f642010ea3ff1d80d58711f8' \
+          'b3feb9c2e94dc7232022d8f2829de04ced778aca')

subpkgs=("${subpk...@]}" "$pkgname-python")
subdescs=("${subdes...@]}" "$pkgname python binding")
-subdepends=("${subdepen...@]}" "python")
+subdepends=("${subdepen...@]}" "python>=2.7")
subrodepends=("${subrodepen...@]}" "$pkgname")
subgroups=("${subgrou...@]}" 'devel-extra')
subarchs=("${subarc...@]}" 'i686 x86_64 ppc')

build() {
-       Fbuild --enable-libpst-shared --enable-python
+       Fpatchall
+       Fautoreconf
+       Fmake --enable-libpst-shared --enable-python
+       Fmakeinstall
Fsplit $pkgname-python $_F_python_libdir
}

diff --git a/source/xlib-extra/libpst/python-2.6.patch 
b/source/xlib-extra/libpst/python-2.6.patch
new file mode 100644
index 0000000..cc53597
--- /dev/null
+++ b/source/xlib-extra/libpst/python-2.6.patch
@@ -0,0 +1,13 @@
+diff --git a/m4/ax_python.m4 b/m4/ax_python.m4
+index 17975e0..ba13a68 100644
+--- a/m4/ax_python.m4
++++ b/m4/ax_python.m4
+@@ -59,7 +59,7 @@ AC_DEFUN([AX_PYTHON],
+ [
+ AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 
python; do
++for python in python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 
python2.1 python; do
+     AC_CHECK_PROGS(PYTHON_BIN, [$python])
+     ax_python_bin=$PYTHON_BIN
+     if test x$ax_python_bin != x; then
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to