###############################################################################
-# #
-# 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 = vala
-PKG_VER = 0.11.2
-PKG_REL = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS = Development/Languages
-PKG_URL = http://live.gnome.org/Vala
-PKG_LICENSE = LGPLv2+ and BSD
-PKG_SUMMARY = A modern programming language.
-
-PKG_PACKAGES += $(PKG_NAME_REAL)-devel
-
-PKG_BUILD_DEPS+= bison dbus dbus-glib-devel flex pkg-config
-PKG_DEPS += glib2
-
-define PKG_DESCRIPTION
- Vala is a new programming language that aims to bring modern \
- programming language features to GNOME developers without imposing \
- any additional runtime requirements and without using a different \
- ABI compared to applications and libraries written in C.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.bz2
-
-# Disabled as it does total rubbish.
-#define STAGE_TEST
-# cd $(DIR_APP) && make check
-#endef
-
+name = vala
+version = 0.11.2
+major_ver = 0.11
+release = 1
+
+groups = Development/Languages
+url = http://live.gnome.org/Vala
+license = LGPLv2+ and BSD
+summary = A modern programming language.
+
+description
+ Vala is a new programming language that aims to bring modern
+ programming language features to GNOME developers without imposing
+ any additional runtime requirements and without using a different
+ ABI compared to applications and libraries written in C.
+end
+
+source_dl = http://download.gnome.org/sources/vala/%{major_ver}/
+sources = %{thisapp}.tar.bz2
+
+build
+ requires
+ bison
+ dbus
+ dbus-glib-devel
+ flex
+ pkg-config
+ end
+
+ # Disabled as it does total rubbish.
+ #def test
+ # make check
+ #end
+end
+
+packages
+ package %{name}
+ requires = glib2
+ end
+
+ package %{name}-devel
+ template DEVEL
+ end
+end