]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/libVNCServer/libVNCServer.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / libVNCServer / libVNCServer.nm
index 4d69435c758eb1a15fa8480bc0c3240690bb0eac..db77f0cbd9cc9b651b56a8586b91784270d85025 100644 (file)
@@ -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 <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       = 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