Contents of /branches/magellan-next/deprecated/avahi-qt4/avahi-qt4-0.6.27-r1.smage2
Parent Directory | Revision Log
Revision 8335 -
(show annotations)
(download)
Thu Jul 14 23:00:21 2011 UTC (13 years, 2 months ago) by niro
File size: 1370 byte(s)
Thu Jul 14 23:00:21 2011 UTC (13 years, 2 months ago) by niro
File size: 1370 byte(s)
-moved to 'deprecated'
1 | # $Id: avahi-qt4-0.6.25-r4.smage2 4820 2010-02-10 21:59:39Z niro $ |
2 | |
3 | PNAME="avahi-qt4" |
4 | PVER="0.6.27" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-dns" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Qt4 libraries for avahi." |
11 | HOMEPAGE="http://avahi.org/" |
12 | |
13 | DEPEND="== net-dns/avahi-${PVER} |
14 | >= x11-libs/qt4-core-4.7" |
15 | |
16 | SDEPEND=">= dev-util/intltool-0.41 |
17 | >= dev-util/pkgconfig-0.25" |
18 | |
19 | SRCFILE="${PNAME%-*}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME%-*}-${PVER}" |
21 | |
22 | sminclude mtools mbuild cleanutils qt4 |
23 | |
24 | SRC_URI=( |
25 | http://avahi.org/download/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd ${HOMEPAGE}/download | grep ${PNAME%-*}- | lasttarball gz" |
30 | |
31 | src_compile() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | mconfigure \ |
36 | --localstatedir=/var \ |
37 | --with-distro=none \ |
38 | --enable-compat-libdns_sd \ |
39 | --enable-compat-howl \ |
40 | --enable-autoipd \ |
41 | --with-autoipd-user=avahi \ |
42 | --with-autoipd-group=avahi \ |
43 | --disable-python-dbus \ |
44 | --disable-pygtk \ |
45 | --disable-monodoc \ |
46 | --disable-doxygen-doc \ |
47 | --disable-xmltoman \ |
48 | --disable-gdbm \ |
49 | --disable-mono \ |
50 | --disable-python \ |
51 | --enable-dbus \ |
52 | --enable-glib \ |
53 | --disable-gtk \ |
54 | --disable-gtk3 \ |
55 | --disable-qt3 \ |
56 | --enable-qt4 \ |
57 | || die |
58 | |
59 | mmake || die |
60 | } |
61 | |
62 | src_install() |
63 | { |
64 | cd ${SRCDIR} |
65 | mmake DESTDIR=${BINDIR} install || die |
66 | |
67 | zapmost ${BINDIR} \ |
68 | usr/$(mlibdir)/lib${PNAME}*.* \ |
69 | usr/$(mlibdir)/pkgconfig/${PNAME}*.* \ |
70 | usr/include/${PNAME} \ |
71 | || die |
72 | } |