]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/xterm/xterm.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / xterm / xterm.nm
index 782f21fbef36218a3b9971f1aa321f4b3b032f99..7ed670822948449d99c4d23306dfdf9134f5c882 100644 (file)
@@ -1,57 +1,51 @@
 ###############################################################################
-#                                                                             #
-# 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       = xterm
-PKG_VER        = 262
-PKG_REL        = 0
-
-PKG_MAINTAINER =
-PKG_GROUP      = X/Application
-PKG_URL        = http://invisible-island.net/xterm/
-PKG_LICENSE    = MIT
-PKG_SUMMARY    = Terminal emulator for the X Window System.
+name       = xterm
+version    = 262
+release    = 1
 
-PKG_BUILD_DEPS+= libXft-devel libXaw-devel libXext-devel libxkbfile-devel \
-       pkg-config
-PKG_DEPS      += xorg-x11-server
+groups     = X/Application
+url        = http://invisible-island.net/xterm/
+license    = MIT
+summary    = Terminal emulator for the X Window System.
 
-define PKG_DESCRIPTION
+description
        The xterm program is a terminal emulator for the X Window System. It \
        provides DEC VT102 and Tektronix 4014 compatible terminals for \
        programs that can't use the window system directly.
-endef
-
-PKG_TARBALL    = $(THISAPP).tgz
-
-CONFIGURE_OPTIONS += \
-       --mandir=/usr/share/man \
-       --enable-256-color \
-       --enable-exec-xterm \
-       --enable-luit \
-       --enable-warnings \
-       --enable-wide-chars \
-       --with-tty-group=tty \
-       --disable-full-tgetent
+end
+
+source_dl = ftp://invisible-island.net/xterm/
+
+sources   = %{thisapp}.tgz
+
+build
+       requires
+               libSM-devel
+               libXft-devel
+               libXaw-devel
+               libXext-devel
+               libxkbfile-devel
+               ncurses-devel
+               pkg-config
+       end
+
+       configure_options += \
+               --mandir=/usr/share/man \
+               --enable-256-color \
+               --enable-exec-xterm \
+               --enable-luit \
+               --enable-warnings \
+               --enable-wide-chars \
+               --with-tty-group=tty \
+               --disable-full-tgetent
+end
+
+packages
+       package %{name}
+               requires = xorg-x11-server
+       end
+end