###############################################################################
-# #
-# 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 = libgpg-error
-PKG_VER = 1.9
-PKG_REL = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS = System/Libraries
-PKG_URL = http://www.gnupg.org/
-PKG_LICENSE = LGPLv2+
-PKG_SUMMARY = Library for error values used by GnuPG components.
+name = libgpg-error
+version = 1.9
+release = 1
-PKG_BUILD_DEPS+= gcc-c++
+groups = System/Libraries
+url = http://www.gnupg.org/
+license = LGPLv2+
+summary = Library for error values used by GnuPG components.
-define PKG_DESCRIPTION
+description
This is a library that defines common error values for all GnuPG \
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, \
pinentry, SmartCard Daemon and possibly more in the future.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.bz2
-
-PKG_PACKAGES += $(PKG_NAME)-devel
-
-CONFIGURE_OPTIONS += \
- --libdir=/lib
-
-define STAGE_INSTALL_CMDS
- -mkdir -pv $(BUILDROOT)/usr/lib
- rm -vf $(BUILDROOT)/lib/libgpg-error.so
- ln -sfv ../../lib/libgpg-error.so.0 $(BUILDROOT)/usr/lib/libgpg-error.so
-endef
+end
+
+source_dl =
+sources = %{thisapp}.tar.bz2
+
+build
+ requires
+ gcc-c++
+ end
+
+ configure_options += \
+ --libdir=/lib
+
+ install_cmds
+ mkdir -pv %{BUILDROOT}/usr/lib
+ rm -vf %{BUILDROOT}/lib/libgpg-error.so
+ ln -sfv ../../lib/libgpg-error.so.0 %{BUILDROOT}/usr/lib/libgpg-error.so
+ end
+end
+
+packages
+ package %{name}
+ end
+
+ package %{name}-devel
+ template DEVEL
+ end
+end