###############################################################################
-# #
-# 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 = cpufrequtils
-PKG_VER = 008
-PKG_REL = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS = Base Applications/System
-PKG_URL = http://htop.sourceforge.net/
-PKG_LICENSE = GPLv2
-PKG_SUMMARY = Command line tools to determine current CPUfreq settings and to modify them
+name = cpufrequtils
+version = 008
+release = 4
-PKG_BUILD_DEPS+= gettext libtool sysfsutils
+groups = Base Applications/System
+url = http://htop.sourceforge.net/
+license = GPLv2
+summary = Command line tools to determine current CPUfreq settings and to modify them
-define PKG_DESCRIPTION
+description
Command line tools to determine current CPUfreq settings and to modify them
-endef
-
-PKG_TARBALL = $(THISAPP).tar.gz
-
-define STAGE_BUILD
- cd $(DIR_APP) && make
-endef
-
-define STAGE_INSTALL
- cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) mandir=/usr/share/man
-endef
-
-
+end
+
+source_dl =
+
+build
+ requires
+ gettext
+ libtool
+ sysfsutils
+ end
+
+ make_install_targets += mandir=/usr/share/man
+end
+
+packages
+ package %{name}
+ end
+
+ package %{name}-devel
+ template DEVEL
+ end
+end