diff options
author | Nikos Kouremenos <kourem@gmail.com> | 2005-05-07 18:00:31 +0400 |
---|---|---|
committer | Nikos Kouremenos <kourem@gmail.com> | 2005-05-07 18:00:31 +0400 |
commit | 1b6db2b672fc6c11fc02ecd0c87f50c3bb693dfd (patch) | |
tree | de35755e96262b60ff58a05b02a8752b69dd6128 /autopackage | |
parent | 4f6af83ef4f5efd223924058e6496fff3d940401 (diff) |
default.apspec better [rest will follow]
Diffstat (limited to 'autopackage')
-rw-r--r-- | autopackage/default.apspec | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/autopackage/default.apspec b/autopackage/default.apspec index 13727fee4..3f6f4e64c 100644 --- a/autopackage/default.apspec +++ b/autopackage/default.apspec @@ -26,10 +26,10 @@ GPG support, Multiple accounts support and more! [BuildPrepare] echo "-------==========$USER i am making the package...===============------" -export APKG_BUILD_SKIP_CONFIGURE=1 export build_root="/tmp/build-root.$$" echo "Build root is $build_root" mkdir "$build_root" +make PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 @@ -39,7 +39,6 @@ unprepareBuild [Imports] -##################make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 echo '*' | import import <<EOF $source_dir/gajim.desktop @@ -49,17 +48,25 @@ EOF [Prepare] # Dependency checking -require @python.org/python 2.2 -recommend @python.org/python 2.3 +#PyGTK 2.4 requires python 2.3 + +require @python.org/python 2.3 +require @gtk.org/gtk 2.4 +require @pygtk.org/pygtk 2.4 +require @glade.gnome.org/libglade 2 + [Install] # Put your installation script here -installExe bin/* + copyFiles lib/gajim "$PREFIX/lib" copyFiles share/gajim "$PREFIX/share/" installIcon share/gajim/gajim.xpm -installDesktop "Networking/Instant Messaging" gajim.desktop +installDesktop "Network/Instant Messaging" gajim.desktop installMan 1 gajim.1 +installExe bin/* +safeSed "$PREFIX/bin/gajim" "s!PREFIX!$PREFIX!g" +chmod +x "$PREFIX/bin/gajim" [Uninstall] # Usually just the following line is enough to uninstall everything |