Magellan Linux

Contents of /trunk/core/avahi-glib/avahi-glib-0.6.25-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2797 - (show annotations) (download)
Fri Jul 10 20:26:35 2009 UTC (14 years, 9 months ago) by niro
File size: 1430 byte(s)
auto added: ver bump to 0.6.25-r1
1 # $Id$
2
3 PNAME="avahi-glib"
4 PVER="0.6.25"
5 PBUILD="r1"
6
7 PCATEGORIE="net-dns"
8 STATE="unstable"
9
10 DESCRIPTION="Glib2 libraries for avahi."
11 HOMEPAGE="http://avahi.org/"
12
13 DEPEND="== net-dns/avahi-${PVER}
14 >= dev-libs/glib-2.20"
15
16 SDEPEND=">= dev-util/intltool-0.40
17 >= dev-util/pkgconfig-0.23"
18
19 SRCFILE="${PNAME%-*}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME%-*}-${PVER}"
21
22 sminclude mtools mbuild cleanutils
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-qt3 \
55 --disable-qt4 \
56 || die
57
58 mmake || die
59 }
60
61 src_install()
62 {
63 cd ${SRCDIR}
64 mmake DESTDIR=${BINDIR} install || die
65
66 zapmost ${BINDIR} \
67 usr/$(mlibdir)/lib${PNAME}*.* \
68 usr/$(mlibdir)/pkgconfig/${PNAME}*.* \
69 usr/include/${PNAME} \
70 usr/$(mlibdir)/lib${PNAME/glib/gobject/}*.* \
71 usr/$(mlibdir)/pkgconfig/${PNAME/glib/gobject/}*.* \
72 usr/include/${PNAME/glib/gobject/} \
73 || die
74 }

Properties

Name Value
svn:keywords Id