Contents of /branches/branch-xorg18/extras/pilot-link/pilot-link-0.12.4-r2.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 2039 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 2039 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="pilot-link" |
4 | PVER="0.12.4" |
5 | PBUILD="r2" |
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.40 |
19 | >= net-wlan/bluez-4.56" |
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-libiconv \ |
73 | --with-libpng=$(libpng-config --prefix) \ |
74 | --with-bluez \ |
75 | --with-readline \ |
76 | --without-perl \ |
77 | --without-included-popt \ |
78 | --without-java \ |
79 | --without-python \ |
80 | --without-tcl \ |
81 | || die |
82 | |
83 | # not parallel make safe |
84 | mmake -j1 || die |
85 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |