Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=c84b304fd124604ac98286c6ac5ee40e5d349bb6
commit c84b304fd124604ac98286c6ac5ee40e5d349bb6 Author: bouleetbil <[email protected]> Date: Sat Apr 30 23:15:06 2011 +0200 calibre-0.7.59-1-x86_64 *fixe x86_64 build diff --git a/source/xapps-extra/calibre/FrugalBuild b/source/xapps-extra/calibre/FrugalBuild index 50e7f84..7b3d510 100644 --- a/source/xapps-extra/calibre/FrugalBuild +++ b/source/xapps-extra/calibre/FrugalBuild @@ -31,29 +31,30 @@ sha1sums=('075b39eae4ca7961c224f5f819d857a3fddd43e2' \ '03b4412f2acf256fd4478f2b94f024617c488e02') build() { - Fcd $pkgname - Fmake - python setup.py resources || Fdie - python setup.py translations || Fdie - Fmkdir usr/lib/python2.7/site-packages - Fsed "(prefix=.*)" "(prefix='${Fdestdir}/usr')" setup/install.py - Fmakeinstall --staging-bindir=${Fdestdir}/usr/bin \ + Fcd $pkgname + [ "$CARCH" == "x86_64" ] && CFLAGS="$CFLAGS -fPIC" + Fmake + python setup.py resources || Fdie + python setup.py translations || Fdie + Fmkdir usr/lib/python2.7/site-packages + Fsed "(prefix=.*)" "(prefix='${Fdestdir}/usr')" setup/install.py + Fmakeinstall --staging-bindir=${Fdestdir}/usr/bin \ --staging-libdir=${Fdestdir}/usr/lib \ --staging-sharedir=${Fdestdir}/usr/share - # change env from python2 to python (I wonder why python2 is set... iirc just archlinux use this config) - for i in $(ls $Fdestdir/usr/bin/ | grep -v mount-helper) - do - Fsed "/usr/bin/env python2" "/usr/bin/env python" $Fdestdir/usr/bin/$i - done + # change env from python2 to python (I wonder why python2 is set... iirc just archlinux use this config) + for i in $(ls $Fdestdir/usr/bin/ | grep -v mount-helper) + do + Fsed "/usr/bin/env python2" "/usr/bin/env python" $Fdestdir/usr/bin/$i + done - # install some missing stuff, hopefully this will be fixed soon - Ffile /usr/share/applications/$pkgname-gui.desktop - Ffile /usr/share/applications/$pkgname-ebook-viewer.desktop - Ffile /usr/share/applications/$pkgname-lrfviewer.desktop - Ffile /usr/share/pixmaps/$pkgname-gui.png - Ffile /usr/share/pixmaps/$pkgname-viewer.png - Ffile /usr/share/pixmaps/$pkgname-lrf.png - Ffile /usr/share/mime/packages/$pkgname.xml + # install some missing stuff, hopefully this will be fixed soon + Ffile /usr/share/applications/$pkgname-gui.desktop + Ffile /usr/share/applications/$pkgname-ebook-viewer.desktop + Ffile /usr/share/applications/$pkgname-lrfviewer.desktop + Ffile /usr/share/pixmaps/$pkgname-gui.png + Ffile /usr/share/pixmaps/$pkgname-viewer.png + Ffile /usr/share/pixmaps/$pkgname-lrf.png + Ffile /usr/share/mime/packages/$pkgname.xml } # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
