Magellan Linux

Contents of /trunk/extras/pidgin/pidgin-2.4.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (16 years, 1 month ago) by niro
File size: 2843 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/pidgin/pidgin-2.4.3-r1.smage2,v 1.2 2008/07/10 09:35:27 niro Exp $
2
3 PNAME="pidgin"
4 PVER="2.4.3"
5 PBUILD="r1"
6
7 PCATEGORIE="net-im"
8 STATE="unstable"
9
10 DESCRIPTION="Pigin is a multi-protocol instant messaging client for Linux."
11 HOMEPAGE="http://gaim.sourceforge.net"
12
13 DEPEND=">= x11-libs/gtk2+-2.12
14 >= dev-libs/glib2-2.16
15 >= dev-libs/nspr-4.7
16 >= dev-libs/nss-3.11.9
17 >= app-text/gtkspell-2.0.11
18 >= x11-libs/startup-notification-0.9
19 >= dev-lang/perl-5.10
20 >= dev-lang/tcl-8.4.14
21 >= dev-lang/tk-8.4.14
22 >= sys-apps/dbus-1.1
23 >= dev-libs/dbus-glib-0.74
24 >= dev-libs/cyrus-sasl-2.1
25 >= media-libs/gstreamer-0.10.18
26 >= media-libs/gst-plugins-base-0.10.18
27 >= media-libs/gst-plugins-good-0.10.7
28 >= dev-db/sqlite-3.5
29 >= x11-libs/libXScrnSaver-1"
30
31 SDEPEND=">= sys-dev/gettext-0.17"
32
33 SRCFILE="${PNAME}-${PVER}.tar.bz2"
34 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
35
36 PIDGIN_ENC_PVER="3.0"
37 PIDGIN_ENC_FILE="${PNAME}-encryption-${PIDGIN_ENC_PVER}.tar.gz"
38 PIDGIN_ENC_DIR="${BUILDDIR}/${PNAME}-encryption-${PIDGIN_ENC_PVER}"
39
40 sminclude mtools
41
42 SRC_URI=(
43 sourceforge://${PNAME}/${SRCFILE}
44 sourceforge://pidgin-encrypt/${PIDGIN_ENC_FILE}
45 mirror://${PNAME}/${SRCFILE}
46 mirror://${PNAME}/${PIDGIN_ENC_FILE}
47 mirror://${PNAME}/pidgin-2.0.2-prefs.xml
48 )
49
50 src_prepare()
51 {
52 munpack ${SRCFILE} || die
53 munpack ${PIDGIN_ENC_FILE} || die
54 }
55
56 src_compile()
57 {
58 cd ${SRCDIR}
59
60 # pidgin
61 mconfigure \
62 --enable-nss \
63 --enable-perl \
64 --enable-tcl \
65 --enable-tk \
66 --enable-dbus \
67 --enable-gstreamer \
68 --enable-cyrus-sasl \
69 --disable-mono \
70 --disable-gevolution \
71 --disable-meanwhile \
72 --disable-avahi \
73 --disable-nm \
74 || die
75
76 mmake || die
77
78 # pidgin-encryption
79 cd ${PIDGIN_ENC_DIR}
80
81 PKG_CONFIG_PATH=${SRCDIR}/pidgin:${SRCDIR}/libpurple:${PKG_CONFIG_PATH} \
82 mconfigure || die
83 mmake || die
84 }
85
86 src_install()
87 {
88
89 # pidgin
90 cd ${SRCDIR}
91
92 # needed directories
93 minstalldir /etc/purple || die
94 minstalldir /usr/include/pidgin/src || die
95
96 mmake DESTDIR=${BINDIR} install || die
97
98 # install default preferences
99 minstallfile -s pidgin-2.0.2-prefs.xml /etc/purple/prefs.xml || die
100
101 # install includes
102 minstallfile config.h /usr/include/pidgin || die
103
104 cd ${SRCDIR}/src
105 tar cf - *.h | (cd ${BINDIR}/usr/include/pidgin/src ; tar xvf -)
106
107 cd ${SRCDIR}
108 minstalldocs ABOUT-NLS NEWS AUTHORS PROGRAMMING_NOTES COPYING \
109 README* COPYRIGHT ChangeLog* HACKING \
110 doc/CREDITS doc/FAQ || die
111
112 # pidgin-encryption
113 cd ${PIDGIN_ENC_DIR}
114
115 # needed directories
116 minstalldir /usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die
117
118 mmake DESTDIR=${BINDIR} install || die
119
120 # docs
121 local i
122 for i in CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
123 do
124 minstallfile ${i} /usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die ${i}
125 done
126 gzip -r9 ${BINDIR}/usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die
127 }

Properties

Name Value
svn:keywords Id