]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/libpng/libpng.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / libpng / libpng.nm
index f8a035bafe87847c16a8e7559d6f465ef799ebc2..3b1ded281b981a8d643ef5939a182d51a782c553 100644 (file)
@@ -1,51 +1,42 @@
 ###############################################################################
-#                                                                             #
-# 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       = libpng
-PKG_VER        = 1.5.4
-PKG_REL        = 1
+name       = libpng
+version    = 1.5.4
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.libpng.org/pub/png/
-PKG_LICENSE    = zlib
-PKG_SUMMARY    = A library of functions for manipulating PNG image format files.
+groups     = System/Libraries
+url        = http://www.libpng.org/pub/png/
+license    = zlib
+summary    = A library of functions for manipulating PNG image format files.
 
-PKG_BUILD_DEPS+= pkg-config zlib-devel
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-define PKG_DESCRIPTION
+description
        The libpng package contains a library of functions for creating and \
        manipulating PNG (Portable Network Graphics) image format files. \
        PNG is a bit-mapped graphics format similar to the GIF format. PNG \
        was created to replace the GIF format, since GIF uses a patented \
        data compression algorithm.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.xz
-
-PKG_DEPS-$(PKG_NAME)-devel = zlib-devel
+end
+
+source_dl  =
+sources    = %{thisapp}.tar.xz
+
+build
+       requires
+               pkg-config
+               zlib-devel
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       
+               requires = zlib-devel
+       end
+end