10362
|
1 # -*-shell-script-*-
|
|
2
|
|
3 [Meta]
|
|
4 RootName: @gaim.sourceforge.net/gaim:$SOFTWAREVERSION
|
|
5 DisplayName: Gaim Internet Messenger
|
|
6 ShortName: gaim
|
|
7 Maintainer: The Gaim Developers - http://gaim.sourceforge.net/
|
|
8 Packager: Tim Ringenbach <marv_sf@users.sourceforge.net>
|
|
9 Summary: Gaim allows you to talk to friends on a variety of chat network, such as AIM, ICQ, Yahoo!, MSN, and IRC.
|
|
10 SoftwareVersion: @VERSION@
|
|
11
|
|
12 # Only uncomment InterfaceVersion if your package exposes interfaces to other software,
|
|
13 # for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
|
|
14 # or ask on autopackage-dev if you don't understand interface versioning in autopackage.
|
|
15 #
|
|
16 InterfaceVersion: 2.0
|
|
17
|
|
18 PackageVersion: 1
|
|
19
|
|
20
|
|
21 [Description]
|
|
22 Gaim is a modular messaging client capable of using AIM, MSN, Yahoo!, Jabber,
|
|
23 ICQ, IRC, SILC, Novell GroupWise, Napster, Zephyr, and Gadu-Gadu all at once.
|
|
24 It is written using Gtk+ and is licensed under the GPL.
|
|
25
|
|
26 Gaim is NOT affiliated with or endorsed by AOL.
|
|
27
|
|
28 [BuildPrepare]
|
|
29 prepareBuild --disable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl
|
|
30
|
|
31
|
|
32 [BuildUnprepare]
|
|
33 unprepareBuild
|
|
34
|
|
35 [Imports]
|
|
36 rm -rf include
|
|
37 find -name '*.la' | xargs rm
|
|
38 echo '*' | import
|
|
39
|
|
40 [Prepare]
|
|
41 # Dependency checking
|
|
42 require @gtk.org/gtk 2.2
|
|
43 require @68k.org/libaudiofile 0.0
|
|
44 require @xiph.org/libao 2.0
|
|
45 require @gtkspell.sourceforge.net/gtkspell 0.0
|
|
46
|
|
47 # ap alpha: while gnutls do not provide autopackages, we package this ourselves
|
|
48 repo="http://autopackage.org/downloads/0.7"
|
|
49 registerRepository @gnutls.org/gnutls $repo/gnutls.xml
|
|
50 registerRepository @gnupg.org/libgcrypt $repo/libgcrypt.xml
|
|
51 registerRepository @gnupg.org/libgpg-error $repo/libgpg-error.xml
|
|
52 unset repo
|
|
53
|
|
54 require @gnutls.org/gnutls 11.1
|
|
55
|
|
56 [Install]
|
|
57 # Put your installation script here
|
|
58 installExe ./bin/*
|
|
59 installLib ./lib/libgaim-remote.so.0.0.0
|
|
60 # do the plugins
|
|
61 copyFiles ./lib/gaim "$PREFIX/lib"
|
|
62 installMan 1 ./man/man1/gaim.1
|
|
63 installDesktop "Networking/Instant messaging" ./share/applications/gaim.desktop
|
|
64 copyFiles ./share/locale "$PREFIX/share"
|
|
65 copyFiles ./share/pixmaps "$PREFIX/share"
|
|
66 copyFiles ./share/sounds "$PREFIX/share"
|
|
67 installIcon ./share/pixmaps/gaim.png
|
|
68 # install and fix the .pc file
|
|
69 # move this to the -devel package when I make one
|
|
70 # copyFile ./lib/pkgconfig/gaim.pc "$PREFIX/lib/pkgconfig/gaim.pc"
|
|
71 # safeSed "$PREFIX/lib/pkgconfig/gaim.pc" "s|prefix=/usr/local|prefix=$PREFIX|"
|
|
72
|
|
73 [Uninstall]
|
|
74 # Usually just the following line is enough to uninstall everything
|
|
75 uninstallFromLog
|