Skip to content
Snippets Groups Projects
Commit 9737fb58 authored by nkour's avatar nkour
Browse files

adding autopackage sources

parent 3c200bea
No related branches found
No related tags found
No related merge requests found
[Meta]
RootName: @python.org/python
DisplayName: Python language runtime
ShortName: python
Skeleton-Author: Mike Hearn <mike@theoretic.com>
Skeleton-Version: 1
[Notes]
INTERFACE_VERSIONS are set to match the currently installed version using the "python" executable name.
For instance, python 2.2 causes INTERFACE_VERSIONS to contain "2.2 2.1 2.0". This skeleton assumes python1 and python2 are not parallel installed.
SOFTWARE_VERSIONS is set to the result of python -V
[Test]
SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 )
if [[ "$?" != "0" ]]; then
INTERFACE_VERSIONS=""
else
local v
v=$( echo $SOFTWARE_VERSIONS | awk '{print $2}' | awk -F. '{print $1 "." $2}' )
INTERFACE_VERSIONS=$( countDownVersions $v )
fi
# -*-shell-script-*-
[Meta]
RootName: @gajim.org/gajim:$SOFTWAREVERSION
DisplayName: Gajim Jabber Client
ShortName: gajim
Maintainer: The Gajim Developers <gajim-devel-subscribe@gajim.org>
Packager: Filippos Papadopoulos <filip@cs.uoi.gr>
Summary: Gajim is a Jabber client written in Python.
URL: http://www.gajim.org/
License: GNU General Public License, Version 2
SoftwareVersion: 0.6.1
AutopackageTarget: 1.0
PackageVersion: 1
# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
#
# InterfaceVersion: 0.0
[Description]
Gajim is a Jabber client based on a plugin system. At this time, 2 plugins have been written: one in GTK2 and one that log messages. Features: Tabbed chat windows, Groupchat support (with MUC protocol), Emoticons, URL grabber, Systray icon,
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 install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
[BuildUnprepare]
unprepareBuild
[Imports]
##################make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
echo '*' | import
import <<EOF
$source_dir/gajim.desktop
$source_dir/gajim.1
EOF
[Prepare]
# Dependency checking
require @python.org/python 2.2
recommend @python.org/python 2.3
[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
installMan 1 gajim.1
[Uninstall]
# Usually just the following line is enough to uninstall everything
uninstallFromLog
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment