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