Magellan Linux

Contents of /trunk/extras/gnokii/gnokii-0.6.28-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3915 - (show annotations) (download)
Sat Nov 14 00:21:07 2009 UTC (14 years, 11 months ago) by niro
File size: 1671 byte(s)
-removed upstream patches
1 # $Id$
2
3 PNAME="gnokii"
4 PVER="0.6.28"
5 PBUILD="r1"
6
7 PCATEGORIE="app-misc"
8 STATE="unstable"
9
10 DESCRIPTION="gnokii provides tools and a user space driver for use with mobile phones."
11 HOMEPAGE="http://www.gnokii.org/"
12
13 DEPEND=">= sys-libs/readline-6
14 >= dev-libs/glib2-2.22
15 >= dev-libs/libical-0.44
16 >= dev-libs/libusb-0.1.12
17 >= x11-libs/gtk2+-2.18
18 >= sys-apps/pcsc-lite-1.5.5
19 >= net-wlan/bluez-4.56"
20
21 SDEPEND=">= sys-dev/gettext-0.17
22 >= virtual/kernel-headers"
23
24 SRCFILE="${PNAME}-${PVER}.tar.bz2"
25 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26
27 sminclude mtools mbuild
28
29 SRC_URI=(
30 http://www.gnokii.org/download/${PNAME}/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd ${HOMEPAGE}/download/${PNAME}/ | grep ${PNAME}-[0-9] | lasttarball"
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 mconfigure \
41 --disable-fulldebug \
42 --disable-xdebug \
43 --disable-rlpdebug \
44 --enable-nls \
45 --enable-security \
46 --disable-unix98test \
47 --enable-libpcsclite \
48 --enable-libical \
49 --enable-libusb \
50 --enable-irda \
51 --enable-bluetooth \
52 --enable-smsd \
53 --with-x \
54 --disable-mysql \
55 --disable-postgres \
56 || die
57
58 mmake || die
59 }
60
61 src_install()
62 {
63 cd ${SRCDIR}
64 minstall || die
65
66 # needs suid bit
67 mchmod 4755 /usr/sbin/mgnokiidev || die
68
69 # gnokii config
70 sed -i 's:/usr/local:/usr:' Docs/sample/gnokiirc || die
71 minstalletc Docs/sample/gnokiirc || die
72
73 # missing desktop icon
74 minstallpixmap Docs/sample/logo/gnokii.xpm xgnokii.xpm || die
75 }
76
77 postinstall()
78 {
79 echo
80 echo "Make sure the user that runs gnokii has read/write access to the device"
81 echo "which your phone is connected to."
82 echo "The simple way of doing that is to add your user to the uucp group."
83 echo
84 }

Properties

Name Value
svn:keywords Id