]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/nettle/nettle.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / nettle / nettle.nm
index f3b03dee86a107edbe8b8e3c72a5c84229817c23..6ae463158577f00d59d17362ed773fb3540e6210 100644 (file)
@@ -1,56 +1,47 @@
 ###############################################################################
-#                                                                             #
-# 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       = nettle
-PKG_VER        = 2.2
-PKG_REL        = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.lysator.liu.se/~nisse/nettle/
-PKG_LICENSE    = LGPL
-PKG_SUMMARY    = A low-level cryptographic library. 
+name       = nettle
+version    = 2.2
+release    = 1
 
-PKG_BUILD_DEPS+= gmp-devel m4 openssl-devel
-PKG_DEPS-nettle-devel += gmp-devel
+groups     = System/Libraries
+url        = http://www.lysator.liu.se/~nisse/nettle/
+license    = LGPL
+summary    = A low-level cryptographic library.
 
-define PKG_DESCRIPTION
+description
        Nettle is a cryptographic library that is designed to fit easily in
        more or less any context: In crypto toolkits for object-oriented
        languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
        or even in kernel space.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-CONFIGURE_OPTIONS += \
-       --enable-shared
-
-define STAGE_TEST
-       cd $(DIR_APP) && make check
-endef
+end
+
+source_dl  =
+
+build
+       requires
+               gmp-devel
+               m4
+               openssl-devel
+       end
+
+       configure_options += \
+               --enable-shared
+
+       test
+               make check
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               requires
+                       gmp-devel
+               end
+       end
+end