###############################################################################
-# #
-# 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 = libxml2
-PKG_VER = 2.7.7
-PKG_REL = 1
+name = libxml2
+version = 2.7.7
+release = 1
-PKG_MAINTAINER =
-PKG_GROUPS = System/Libraries
-PKG_URL = http://xmlsoft.org/
-PKG_LICENSE = MIT
-PKG_SUMMARY = Library providing XML and HTML support.
+groups = System/Libraries
+url = http://xmlsoft.org/
+license = MIT
+summary = Library providing XML and HTML support.
-PKG_BUILD_DEPS+= pkg-config zlib-devel
-
-define PKG_DESCRIPTION
+description
This library allows to manipulate XML files. It includes support \
to read, modify and write XML and HTML files. There is DTDs support \
this includes parsing and validation even with complex DtDs, either \
to select subnodes or ranges. A flexible Input/Output mechanism is \
available, with existing HTTP and FTP modules and combined to an URI \
library.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.gz
-
-PKG_PACKAGES += $(PKG_NAME)-devel
+end
+
+source_dl =
+
+build
+ requires
+ pkg-config
+ zlib-devel
+ end
+end
+
+packages
+ package %{name}
+ end
+
+ package %{name}-devel
+ template DEVEL
+ end
+end