]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/iftop/iftop.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / iftop / iftop.nm
index ddb0683d795f74a174e178032d36250a9cc689ad..bee6dac1ceda601cdf413d6859894bcb58490e00 100644 (file)
@@ -1,49 +1,36 @@
 ###############################################################################
-#                                                                             #
-# 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       = iftop
-PKG_VER        = 0.17
-PKG_REL        = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS     = Base Applications/System
-PKG_URL        = http://www.ex-parrot.com/pdw/iftop/
-PKG_LICENSE    = GPL+
-PKG_SUMMARY    = Interactive traffic listings
+name       = iftop
+version    = 0.17
+release    = 1
 
-PKG_BUILD_DEPS+= libpcap-devel ncurses-devel
+groups     = Base Applications/System
+url        = http://www.ex-parrot.com/pdw/iftop/
+license    = GPL+
+summary    = Interactive traffic listings
 
-define PKG_DESCRIPTION
+description
        iftop is an interactive text-mode traffic viewer for Linux.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
-       --sysconfdir=/etc \
-       --mandir=/usr/share/man
-
-
+end
+
+source_dl  =
+sources    = %{thisapp}.tar.gz
+
+build
+       requires
+               libpcap-devel
+               ncurses-devel
+       end
+
+       configure_options += \
+               --sysconfdir=/etc \
+               --mandir=/usr/share/man
+end
+
+packages
+       package %{name}
+       end
+end