Magellan Linux

Annotation of /trunk/extras/pilot-link/pilot-link-0.12.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2040 - (hide annotations) (download)
Fri Jun 12 17:43:23 2009 UTC (14 years, 11 months ago) by niro
File size: 2019 byte(s)
auto added: ver bump to 0.12.4-r1
1 niro 2040 # $Id$
2    
3     PNAME="pilot-link"
4     PVER="0.12.4"
5     PBUILD="r1"
6    
7     PCATEGORIE="net-misc"
8     STATE="unstable"
9    
10     DESCRIPTION="A suite of tools for moving data between a Palm device and a desktop."
11     HOMEPAGE="http://www.pilot-link.org/"
12    
13     DEPEND=">= virtual/glibc
14     >= sys-libs/ncurses-5.7
15     >= sys-libs/readline-6
16     >= dev-libs/popt-1.15
17     >= dev-libs/libusb-0.1.12
18     >= media-libs/libpng-1.2.36
19     >= net-wlan/bluez-4.41"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.bz2"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     sminclude mbuild
25    
26     SRC_URI=(
27     http://downloads.pilot-link.org/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     mirror://${PNAME}/${PNAME}-${PVER}-readline.patch
30     mirror://${PNAME}/${PNAME}-${PVER}-threads.patch
31     mirror://${PNAME}/${PNAME}-${PVER}-png.patch
32     mirror://${PNAME}/${PNAME}-${PVER}-werror.patch
33     mirror://${PNAME}/${PNAME}-${PVER}-glibc-open.patch
34     mirror://${PNAME}/${PNAME}-${PVER}-libusb-compat-usb_open.patch
35     )
36    
37     UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | firsttarball"
38    
39     src_prepare()
40     {
41     munpack ${SRCFILE} || die
42     cd ${SRCDIR}
43    
44     # fixing some broken configure switches and automagic deps
45     mpatch ${PNAME}-${PVER}-readline.patch || die
46     mpatch ${PNAME}-${PVER}-threads.patch || die
47     mpatch ${PNAME}-${PVER}-png.patch || die
48    
49     # upstream's check for Werror was wrong
50     mpatch ${PNAME}-${PVER}-werror.patch || die
51    
52     # fix glibc open without mode error
53     mpatch ${PNAME}-${PVER}-glibc-open.patch || die
54    
55     # libusb-compat requires you to check the return value of usb_open!
56     mpatch ${PNAME}-${PVER}-libusb-compat-usb_open.patch || die
57    
58     autoreconf --install --force --verbose || die
59     }
60    
61     src_configure()
62     {
63     cd ${SRCDIR}
64    
65     mconfigure \
66     --includedir=/usr/include/libpisock \
67     --disable-compile-werror \
68     --disable-debug \
69     --enable-conduits \
70     --enable-threads \
71     --enable-libusb \
72     --with-libpng=$(libpng-config --prefix) \
73     --with-bluez \
74     --with-readline \
75     --without-perl \
76     --without-included-popt \
77     --without-java \
78     --without-python \
79     --without-tcl \
80     || die
81    
82     # not parallel make safe
83     mmake -j1 || die
84     }

Properties

Name Value
svn:keywords Id