]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/swig/swig.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / swig / swig.nm
index 7c9a0f7d3ab789b69b2bccc4cd4962b553209961..2ce14b632a7f2ac90e0ae66645d3e65ddfd93074 100644 (file)
@@ -1,57 +1,49 @@
 ###############################################################################
-#                                                                             #
-# 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       = swig
-PKG_VER        = 2.0.1
-PKG_REL        = 0
+name       = swig
+version    = 2.0.1
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Development/Tools
-PKG_URL        = http://swig.sourceforge.net/
-PKG_LICENSE    = GPLv3+ and BSD
-PKG_SUMMARY    = Connects C/C++/Objective C to some high-level programming \
+groups     = Development/Tools
+url        = http://swig.sourceforge.net/
+license    = GPLv3+ and BSD
+summary    = Connects C/C++/Objective C to some high-level programming \
        languages.
 
-PKG_BUILD_DEPS+= autoconf automake gcc-c++ pcre-devel perl python-devel
-
-define PKG_DESCRIPTION
-       Simplified Wrapper and Interface Generator (SWIG) is a software \
-       development tool for connecting C, C++ and Objective C programs with a \
-       variety of high-level programming languages.  SWIG is primarily used \
-       with Perl, Python and Tcl/TK, but it has also been extended to Java, \
-       Eiffel and Guile.  SWIG is normally used to create high-level \
-       interpreted programming environments, systems integration, and as a \
+description
+       Simplified Wrapper and Interface Generator (SWIG) is a software
+       development tool for connecting C, C++ and Objective C programs with a
+       variety of high-level programming languages.  SWIG is primarily used
+       with Perl, Python and Tcl/TK, but it has also been extended to Java,
+       Eiffel and Guile.  SWIG is normally used to create high-level
+       interpreted programming environments, systems integration, and as a
        tool for building user interfaces.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
-       --sbindir=/sbin
-
-define STAGE_PREPARE_CMDS
-       cd $(DIR_APP) && ./autogen.sh
-endef
+end
+
+source_dl  = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
+
+build
+       requires
+               autoconf
+               automake
+               gcc-c++
+               pcre-devel
+               perl
+               python-devel
+       end
+
+       configure_options += \
+               --sbindir=/sbin
+
+       prepare_cmds
+               ./autogen.sh
+       end
+end
+
+packages
+       package %{name}
+       end
+end