[22056] | 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 |
---|
| 8 | URL: http://gaim.sourceforge.net/ |
---|
| 9 | Packager: Tim Ringenbach <marv_sf@users.sourceforge.net> |
---|
| 10 | Summary: A GTK+ based multiprotocol instant messaging client |
---|
| 11 | SoftwareVersion: @VERSION@ |
---|
| 12 | InterfaceVersion: 1.2 |
---|
| 13 | PackageVersion: 1 |
---|
| 14 | |
---|
| 15 | [Description] |
---|
| 16 | Gaim allows you to talk to anyone using a variety of messaging protocols, |
---|
| 17 | including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN Messenger, Jabber, |
---|
| 18 | Gadu-Gadu, Napster, and Zephyr. These protocols are implemented using a |
---|
| 19 | modular, easy to use design. To use a protocol, just add an account using the |
---|
| 20 | account editor. |
---|
| 21 | |
---|
| 22 | Gaim supports many common features of other clients, as well as many unique |
---|
| 23 | features, such as perl scripting, TCL scripting and C plugins. |
---|
| 24 | |
---|
| 25 | Gaim is NOT affiliated with or endorsed by America Online, Inc., Microsoft |
---|
| 26 | Corporation, Yahoo! Inc., or ICQ Inc. |
---|
| 27 | |
---|
| 28 | [BuildPrepare] |
---|
| 29 | prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-gtktest |
---|
| 30 | |
---|
| 31 | [BuildUnprepare] |
---|
| 32 | unprepareBuild |
---|
| 33 | |
---|
| 34 | [Imports] |
---|
| 35 | rm -rf include |
---|
| 36 | rm -rf lib/pkgconfig |
---|
| 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 | require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; } |
---|
| 47 | |
---|
| 48 | [Install] |
---|
| 49 | # Put your installation script here |
---|
| 50 | installExe ./bin/* |
---|
| 51 | installLib ./lib/libgaim-remote.so.0.0.0 |
---|
| 52 | # do the plugins |
---|
| 53 | copyFiles ./lib/gaim "$PREFIX/lib" |
---|
| 54 | installMan 1 ./man/man1/gaim.1 |
---|
| 55 | installDesktop "Networking/Instant Messaging" ./share/applications/gaim.desktop |
---|
| 56 | installLocale ./share/locale |
---|
| 57 | copyFiles ./share/pixmaps "$PREFIX/share" |
---|
| 58 | copyFiles ./share/sounds "$PREFIX/share" |
---|
| 59 | installIcon ./share/pixmaps/gaim.png |
---|
| 60 | # install and fix the .pc file |
---|
| 61 | # move this to the -devel package when I make one |
---|
| 62 | # copyFile ./lib/pkgconfig/gaim.pc "$PREFIX/lib/pkgconfig/gaim.pc" |
---|
| 63 | # safeSed "$PREFIX/lib/pkgconfig/gaim.pc" "s|prefix=/usr/local|prefix=$PREFIX|" |
---|
| 64 | |
---|
| 65 | [Uninstall] |
---|
| 66 | # Usually just the following line is enough to uninstall everything |
---|
| 67 | uninstallFromLog |
---|