]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pkgs/X11vnc/X11vnc.nm
Change file layout of the makefiles.
[people/stevee/ipfire-3.x.git] / pkgs / X11vnc / X11vnc.nm
index f62da62f7ff62e12bb9946293a0c3c5a8a69110b..f4b2b7795cb09e2abb6b87396efbaf8baa8f9322 100644 (file)
@@ -1,58 +1,56 @@
 ###############################################################################
-#                                                                             #
-# 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       = X11vnc
-PKG_VER        = 0.9.12
-PKG_REL        = 0
-
-PKG_MAINTAINER = 
-PKG_GROUPS     = Development/Tools
-PKG_URL        = http://www.karlrunge.com/x11vnc/
-PKG_LICENSE    = GPLv2
-PKG_SUMMARY    = VNC server for the current X11 session.
+name       = X11vnc
+version    = 0.9.12
+release    = 0
 
-PKG_BUILD_DEPS+= libX11-devel libXdamage-devel libXext-devel libXi-devel \
-       libXfixes-devel libXtst-devel libjpeg-devel libVNCServer-devel \
-       openssl-devel xorg-x11-proto-devel zlib-devel
-PKG_DEPS      += xorg-x11-server
+groups     = Development/Tools
+url        = http://www.karlrunge.com/x11vnc/
+license    = GPLv2
+summary    = VNC server for the current X11 session.
 
-define PKG_DESCRIPTION
+description
        X11vnc provides a VNC access to the current X11 session.
-endef
-
-PKG_TARBALL    = x11vnc-$(PKG_VER).tar.gz
-
-DIR_APP        = $(DIR_SRC)/x11vnc-$(PKG_VER)
-
-CONFIGURE_OPTIONS += \
-       --mandir=/usr/share/man \
-       --with-system-libvncserver \
-       --without-tightvnc-filetransfer
-
-# Remove java executables
-define STAGE_INSTALL_CMDS
-       cd $(BUILDROOT) && find -name '*.jar' -exec rm {} \;
-endef
+end
+
+source_dl  = http://sourceforge.net/projects/libvncserver/files/x11vnc/%{version}/
+sources    = x11vnc-%{version}.tar.gz
+
+build
+       requires
+               libX11-devel
+               libXdamage-devel
+               libXext-devel
+               libXi-devel
+               libXfixes-devel
+               libXtst-devel
+               libjpeg-devel
+               libVNCServer-devel
+               openssl-devel
+               xorg-x11-proto-devel
+               zlib-devel
+       end
+
+       DIR_APP = %{DIR_SRC}/x11vnc-%{version}
+
+       configure_options += \
+               --mandir=/usr/share/man \
+               --with-system-libvncserver \
+               --without-tightvnc-filetransfer
+
+       # Remove java executables
+       install_cmds
+               cd %{BUILDROOT} && find -name '*.jar' -exec rm {} \;
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       xorg-x11-server
+               end
+       end
+end