Magellan Linux

Annotation of /trunk/extras/pidgin/pidgin-2.6.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2999 - (hide annotations) (download)
Sat Sep 26 19:09:15 2009 UTC (14 years, 8 months ago) by niro
File size: 2852 byte(s)
auto added: ver bump to 2.6.2-r1
1 niro 2999 # $Id$
2    
3     PNAME="pidgin"
4     PVER="2.6.2"
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://www.pidgin.im/"
12    
13     DEPEND=">= x11-libs/gtk2+-2.16
14     >= dev-libs/glib2-2.20
15     >= dev-libs/nspr-4.8
16     >= dev-libs/nss-3.12
17     >= app-text/gtkspell-2.0.15
18     >= x11-libs/startup-notification-0.10
19     >= dev-lang/perl-5.10
20     >= dev-lang/tcl-8.5
21     >= dev-lang/tk-8.5
22     >= sys-apps/dbus-1.2
23     >= dev-libs/dbus-glib-0.80
24     >= dev-libs/cyrus-sasl-2.1
25     >= media-libs/gstreamer-0.10.23
26     >= media-libs/gst-plugins-base-0.10.23
27     >= media-libs/gst-plugins-good-0.10.15
28     >= dev-db/sqlite-3.6
29     >= x11-libs/libXScrnSaver-1
30     >= net-libs/meanwhile-1
31     >= net-dns/avahi-0.6.25"
32    
33     SDEPEND=">= sys-dev/gettext-0.17"
34    
35     SRCFILE="${PNAME}-${PVER}.tar.bz2"
36     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
37    
38     PIDGIN_ENC_PVER="3.0"
39     PIDGIN_ENC_FILE="${PNAME}-encryption-${PIDGIN_ENC_PVER}.tar.gz"
40     PIDGIN_ENC_DIR="${BUILDDIR}/${PNAME}-encryption-${PIDGIN_ENC_PVER}"
41    
42     sminclude mtools
43    
44     SRC_URI=(
45     sourceforge://${PNAME}/${SRCFILE}
46     sourceforge://pidgin-encrypt/${PIDGIN_ENC_FILE}
47     mirror://${PNAME}/${SRCFILE}
48     mirror://${PNAME}/${PIDGIN_ENC_FILE}
49     mirror://${PNAME}/pidgin-2.0.2-prefs.xml
50     )
51    
52     UP2DATE="updatecmd ${HOMEPAGE}/download/source/ | lasttarball"
53    
54     src_prepare()
55     {
56     munpack ${SRCFILE} || die
57     munpack ${PIDGIN_ENC_FILE} || die
58     }
59    
60     src_compile()
61     {
62     cd ${SRCDIR}
63    
64     # pidgin
65     mconfigure \
66     --enable-nss \
67     --enable-perl \
68     --enable-tcl \
69     --enable-tk \
70     --enable-dbus \
71     --enable-gstreamer \
72     --enable-cyrus-sasl \
73     --enable-meanwhile \
74     --enable-avahi \
75     --disable-mono \
76     --disable-gevolution \
77     --disable-nm \
78     || die
79    
80     mmake || die
81    
82     # pidgin-encryption
83     cd ${PIDGIN_ENC_DIR}
84    
85     PKG_CONFIG_PATH=${SRCDIR}/pidgin:${SRCDIR}/libpurple:${PKG_CONFIG_PATH} \
86     mconfigure || die
87     mmake || die
88     }
89    
90     src_install()
91     {
92    
93     # pidgin
94     cd ${SRCDIR}
95    
96     # needed directories
97     minstalldir /etc/purple || die
98     minstalldir /usr/include/pidgin/src || die
99    
100     mmake DESTDIR=${BINDIR} install || die
101    
102     # install default preferences
103     minstallfile -s pidgin-2.0.2-prefs.xml /etc/purple/prefs.xml || die
104    
105     # install includes
106     minstallfile config.h /usr/include/pidgin || die
107    
108     cd ${SRCDIR}/src
109     tar cf - *.h | (cd ${BINDIR}/usr/include/pidgin/src ; tar xvf -)
110    
111     cd ${SRCDIR}
112     minstalldocs ABOUT-NLS NEWS AUTHORS PROGRAMMING_NOTES COPYING \
113     README* COPYRIGHT ChangeLog* HACKING \
114     doc/CREDITS doc/FAQ || die
115    
116     # pidgin-encryption
117     cd ${PIDGIN_ENC_DIR}
118    
119     # needed directories
120     minstalldir /usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die
121    
122     mmake DESTDIR=${BINDIR} install || die
123    
124     # docs
125     local i
126     for i in CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
127     do
128     minstallfile ${i} /usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die ${i}
129     done
130     gzip -r9 ${BINDIR}/usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die
131     }

Properties

Name Value
svn:keywords Id