]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/gnutls/gnutls.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / gnutls / gnutls.nm
index 4c0a5174d1652e9564efc4eaa71a17eb5d67a4b6..04376dc0ff2de142da53ad5df283d896c17d9709 100644 (file)
@@ -1,59 +1,51 @@
 ###############################################################################
-#                                                                             #
-# 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       = gnutls
-PKG_VER        = 3.0.0
-PKG_REL        = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.gnu.org/software/gnutls/
-PKG_LICENSE    = LGPLv2.1+
-PKG_SUMMARY    = A general-purpose cryptography library.
+name       = gnutls
+version    = 3.0.0
+release    = 1
 
-PKG_BUILD_DEPS+= libtasn1-devel nettle-devel p11-kit-devel zlib-devel
+groups     = System/Libraries
+url        = http://www.gnu.org/software/gnutls/
+license    = LGPLv2.1+
+summary    = A general-purpose cryptography library.
 
-define PKG_DESCRIPTION
+description
        GnuTLS is a project that aims to develop a library which provides \
        a secure layer, over a reliable transport layer. Currently the \
        GnuTLS library implements the proposed standards by the IETF's \
        TLS working group.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.xz
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-# Build library without an executable stack.
-CFLAGS        += -Wa,--noexecstack
-
-CONFIGURE_OPTIONS += \
-       --with-included-libcfg \
-       --disable-srp-authentication
-
-define STAGE_TEST
-       cd $(DIR_APP) && make check
-endef
+end
+
+source_dl  =
+sources    = %{thisapp}.tar.xz
+
+build
+       requires
+               libtasn1-devel
+               nettle-devel
+               p11-kit-devel
+               zlib-devel
+       end
+
+       # Build library without an executable stack.
+       CFLAGS += -Wa,--noexecstack
+
+       configure_options += \
+               --with-included-libcfg \
+               --disable-srp-authentication
+
+       test
+               make check
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+end