]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/noip/noip.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / noip / noip.nm
index d2a816b056fcdf07a88dc54e634c085ef6e0f4ea..16eaab2aebcfef828f15101ad949eacd35d9cbd6 100644 (file)
@@ -1,53 +1,37 @@
 ###############################################################################
-#                                                                             #
-# 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
+name       = noip
+version    = 2.1.7
+release    = 1
 
-PKG_NAME       = noip
-PKG_VER        = 2.1.7
-PKG_REL        = 0
+groups     = System/Daemons
+url        = http://www.no-ip.com
+license    = GPLv2+
+summary    = A dynamic DNS update client.
 
-PKG_MAINTAINER = 
-PKG_GROUPS     = System/Daemons
-PKG_URL        = http://www.no-ip.com
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = A dynamic DNS update client.
-
-define PKG_DESCRIPTION
-       Keep your current IP address in sync with your No-IP host or domain \
-       with this Dynamic Update Client (DUC). The client continually checks \
-       for IP address changes in the background and automatically updates \
+description
+       Keep your current IP address in sync with your No-IP host or domain
+       with this Dynamic Update Client (DUC). The client continually checks
+       for IP address changes in the background and automatically updates
        the DNS at No-IP whenever it changes.
-endef
+end
+
+source_dl  =
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+build
+       make_build_targets +=\
+               PREFIX=/usr \
+               CONFDIR=/etc
 
-define STAGE_BUILD
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS) PREFIX=/usr CONFDIR=/etc
-endef
+       install
+               mkdir -pv %{BUILDROOT}/usr/bin
+               cp noip2 %{BUILDROOT}/usr/bin/noip2
+       end
+end
 
-define STAGE_INSTALL
-       -mkdir -pv $(BUILDROOT)/usr/bin
-       cd $(DIR_APP) && cp noip2 $(BUILDROOT)/usr/bin/noip2    
-endef
+packages
+       package %{name}
+end