]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/libevent/libevent.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / libevent / libevent.nm
index d0bf9818a92bd19176a15c660489ace1309466c1..b0d4f12cd0095e8d5345fb3a08e8253aa117a20d 100644 (file)
@@ -1,40 +1,18 @@
 ###############################################################################
-#                                                                             #
-# 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       = libevent
-PKG_VER        = 2.0.10
-PKG_REL        = 0
+name       = libevent
+version    = 2.0.10
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Development/Tools
-PKG_URL        = http://sourceforge.net/projects/levent/files/libevent/libevent-2.0
-PKG_LICENSE    = BSD
-PKG_SUMMARY    = Abstract asynchronous event notification library.
+groups     = Development/Tools
+url        = http://sourceforge.net/projects/levent/files/libevent/libevent-2.0
+license    = BSD
+summary    = Abstract asynchronous event notification library.
 
-define PKG_DESCRIPTION
+description
        The libevent API provides a mechanism to execute a callback \
        function when a specific event occurs on a file descriptor or \
        after a timeout has been reached. libevent is meant to replace \
@@ -42,12 +20,23 @@ define PKG_DESCRIPTION
        servers. An application just needs to call event_dispatch() and \
        can then add or remove events dynamically without having to \
        change the event loop.
-endef
-
-PKG_TARBALL    = $(THISAPP)-stable.tar.gz
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-DIR_APP = $(DIR_SRC)/$(THISAPP)-stable
-
-CONFIGURE_OPTIONS += --mandir=/usr/share/man
+end
+
+source_dl  =
+sources    = %{thisapp}-stable.tar.gz
+
+build
+       DIR_APP = %{DIR_SRC}/%{thisapp}-stable
+
+       configure_options += \
+               --mandir=/usr/share/man
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end