]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/libyaml/libyaml.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / libyaml / libyaml.nm
index 5bed2d20c4caef58dd29eff55d84e1c827bbc69b..420920d64c7504e3e0db82d2887c71e77919f9d3 100644 (file)
@@ -1,51 +1,39 @@
 ###############################################################################
-#                                                                             #
-# 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       = libyaml
-PKG_VER        = 0.1.3
-PKG_REL        = 0
+name       = libyaml
+version    = 0.1.3
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://pyyaml.org/
-PKG_LICENSE    = MIT
-PKG_SUMMARY    = YAML 1.1 parser and emitter written in C.
+groups     = System/Libraries
+url        = http://pyyaml.org/
+license    = MIT
+summary    = YAML 1.1 parser and emitter written in C.
 
-PKG_PACKAGES  += $(PKG_NAME_REAL)-devel
-
-define PKG_DESCRIPTION
+description
        YAML is a data serialization format designed for human readability \
        and interaction with scripting languages. LibYAML is a YAML parser \
        and emitter written in C.
-endef
-
-PKG_TARBALL    = yaml-$(PKG_VER).tar.gz
-
-DIR_APP        = $(DIR_SRC)/yaml-$(PKG_VER)
-
-define STAGE_TEST
-       cd $(DIR_APP) && make check
-endef
+end
+
+source_dl  =
+sources    = yaml-%{version}.tar.gz
+
+build
+       DIR_APP = %{DIR_SRC}/yaml-%{version}
+
+       test
+               make check
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end