X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pkgs%2FlibVNCServer%2FlibVNCServer.nm;h=db77f0cbd9cc9b651b56a8586b91784270d85025;hb=802ea3af55e3167b6574e23b230cdbf0ed2ae0db;hp=4d69435c758eb1a15fa8480bc0c3240690bb0eac;hpb=f0b55c28746b56de89d7a10a4ad0ad2a4939baac;p=people%2Fms%2Fipfire-3.x.git
diff --git a/pkgs/libVNCServer/libVNCServer.nm b/pkgs/libVNCServer/libVNCServer.nm
index 4d69435c7..db77f0cbd 100644
--- a/pkgs/libVNCServer/libVNCServer.nm
+++ b/pkgs/libVNCServer/libVNCServer.nm
@@ -1,52 +1,43 @@
###############################################################################
-# #
-# 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 . #
-# #
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team #
###############################################################################
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME = libVNCServer
-PKG_VER = 0.9.7
-PKG_REL = 0
-
-PKG_MAINTAINER =
-PKG_GROUPS = System/Libraries
-PKG_URL = http://libvncserver.sourceforge.net/
-PKG_LICENSE = GPLv2+
-PKG_SUMMARY = Library to make writing a vnc server easy.
+name = libVNCServer
+version = 0.9.7
+release = 1
-PKG_BUILD_DEPS+= libjpeg-devel zlib-devel
+groups = System/Libraries
+url = http://libvncserver.sourceforge.net/
+license = GPLv2+
+summary = Library to make writing a vnc server easy.
-PKG_PACKAGES += $(PKG_NAME)-devel
-
-define PKG_DESCRIPTION
+description
LibVNCServer makes writing a VNC server (or more correctly, a program\
exporting a framebuffer via the Remote Frame Buffer protocol) easy.
-endef
-
-PKG_TARBALL = LibVNCServer-$(PKG_VER).tar.gz
-
-DIR_APP = $(DIR_SRC)/LibVNCServer-$(PKG_VER)
-
-CONFIGURE_OPTIONS += \
- --disable-static \
- --without-tightvnc-filetransfer
+end
+
+source_dl =
+sources = LibVNCServer-%{version}.tar.gz
+
+build
+ requires
+ libjpeg-devel
+ zlib-devel
+ end
+
+ DIR_APP = %{DIR_SRC}/LibVNCServer-%{version}
+
+ configure_options += \
+ --disable-static \
+ --without-tightvnc-filetransfer
+end
+
+packages
+ package %{name}
+ end
+
+ package %{name}-devel
+ template DEVEL
+ end
+end