]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/avahi/avahi.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / avahi / avahi.nm
index e062d88af8e8b4451c91bec072704001bc1c23a7..2ca00ecff854537d0bb48452c312ff2d7f97cfb3 100644 (file)
@@ -1,66 +1,70 @@
 ###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = avahi
-PKG_VER        = 0.6.25
-PKG_REL        = 0
+name       = avahi
+version    = 0.6.30
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Networking/Zeroconf
-PKG_URL        = http://avahi.org/
-PKG_LICENSE    = LGPLv2+
-PKG_SUMMARY    = Local network service discovery
+groups     = Networking/Zeroconf
+url        = http://avahi.org/
+license    = LGPLv2+
+summary    = Local network service discovery
 
-define PKG_DESCRIPTION
+description
        Avahi is a system which facilitates service discovery on \
        a local network -- this means that you can plug your laptop or \
        computer into a network and instantly be able to view other people who \
        you can chat with, find printers to print to or find files being \
        shared. This kind of technology is already found in MacOS X (branded \
        'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very \
-       convenient
-endef
+       convenient.
+end
 
-PKG_BUILD_DEPS+= dbus-devel dbus-glib-devel expat-devel gcc-c++ gettext \
-       libdaemon-devel intltool perl perl-XML-Parser pkg-config python-devel \
-       python-dbus
+source_dl  = http://avahi.org/download/
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+build
+       requires
+               dbus-devel
+               dbus-glib-devel
+               expat-devel
+               gcc-c++
+               gettext
+               libdaemon-devel>=0.14
+               intltool
+               perl
+               perl-XML-Parser
+               pkg-config
+               python-devel
+               python-dbus
+       end
 
-PKG_PACKAGES  += $(PKG_NAME)-devel $(PKG_NAME)-libs
+       configure_options += \
+               --bindir=/bin \
+               --mandir=/usr/share/man \
+               --sysconfdir=/etc \
+               --localstatedir=/var \
+               --with-distro=none \
+               --disable-gdbm \
+               --disable-qt3 \
+               --disable-qt4 \
+               --disable-gtk \
+               --disable-gtk3 \
+               --disable-pygtk \
+               --disable-mono
+end
 
-CONFIGURE_OPTIONS += \
-       --bindir=/bin \
-       --mandir=/usr/share/man \
-       --sysconfdir=/etc \
-       --localstatedir=/var \
-       --with-distro=none \
-       --disable-gdbm \
-       --disable-qt3 \
-       --disable-qt4 \
-       --disable-gtk \
-       --disable-pygtk \
-       --disable-mono
+packages
+       package %{name}
+               requires = libdaemon>=0.14
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+       
+       package %{name}-libs
+               template LIBS
+       end
+end