Changeset 8182 for trunk/autopackage
- Timestamp:
- 05/31/07 17:14:39 (18 months ago)
- Files:
-
- 1 modified
-
trunk/autopackage/default.apspec (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/autopackage/default.apspec
r6264 r8182 10 10 URL: http://www.gajim.org/ 11 11 License: GNU General Public License, Version 2 12 SoftwareVersion: 0.1 012 SoftwareVersion: 0.11.1 13 13 AutopackageTarget: 1.0 14 14 PackageVersion: 1 … … 29 29 30 30 [BuildPrepare] 31 echo "-------==========$USER i am making the package...===============------" 32 export build_root="/tmp/build-root.$$" 33 echo "Build root is $build_root" 34 mkdir "$build_root" 35 make PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 36 make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 37 31 prepareBuild 38 32 39 33 … … 45 39 echo '*' | import 46 40 import <<EOF 47 $source_dir/gajim.desktop48 $source_dir/gajim.149 41 EOF 50 42 … … 52 44 [Prepare] 53 45 # Dependency checking 46 #PyGTK 2.4 requires python 2.3 54 47 55 48 require @python.org/python 2.4 56 49 require @python.org/python-xml 2.4 57 50 require @gtk.org/gtk 2.6 58 59 ########The 2.5 version is for SUSE 9.360 51 require @gnome.org/pygtk 2.5 61 52 require @gnome.org/pyglade 2.5 … … 63 54 require @pysqlite.org/pysqlite 2 64 55 recommend @gtkspell.sourceforge.net/gtkspell 0 56 if ! require @dnspython.org/dnspython 1; then 57 recommend @pydns.sourceforge.net/pydns 2 58 fi 59 60 #recommend @dnspython.org/dnspython 1 61 #recommend @pydns.sourceforge.net/pydns 2 62 65 63 66 64 … … 70 68 copyFiles lib/gajim "$PREFIX/lib" 71 69 copyFiles share/gajim "$PREFIX/share/" 70 copyFiles share/doc "$PREFIX/share/" 72 71 installLocale share/locale 73 72 installIcon share/pixmaps/gajim.png 74 installDesktop "Network/Instant Messaging" gajim.desktop 75 installMan 1 gajim.1 73 installIcon share/pixmaps/gajim_about.png 74 installDesktop "Network/Instant Messaging" share/applications/gajim.desktop 75 installMan 1 share/man/man1/gajim.1 share/man/man1/gajim-remote.1 76 76 77 #In the following safeSed we assume that the original Makefile is a bit modified so that to be relocatable by AP 77 78 #so you have to manually remove the sed in Makefile for AP to work 78 79 safeSed bin/gajim "s!PREFIX!$PREFIX!g" 79 80 safeSed bin/gajim-remote "s!PREFIX!$PREFIX!g" 81 locateCommand python 82 safeSed bin/gajim "s!PYBIN!$lc_location!g" 83 safeSed bin/gajim-remote "s!PYBIN!$lc_location!g" 80 84 installExe bin/* 81 chmod +x "$PREFIX/bin/gajim" 82 chmod +x "$PREFIX/bin/gajim-remote" 85 #chmod +x "$PREFIX/bin/gajim" 86 #chmod +x "$PREFIX/bin/gajim-remote" 87 88 83 89 84 90
