]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/xrandr/xrandr.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / xrandr / xrandr.nm
index 651090cb524154c5abfbf4dfec7a8d31d2e079ee..1ce8c6a831cc6ebabe6b8ee62a5361c2fc28215b 100644 (file)
@@ -1,49 +1,40 @@
 ###############################################################################
-#                                                                             #
-# 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       = xrandr
-PKG_VER        = 1.3.3
-PKG_REL        = 0
+name       = xrandr
+version    = 1.3.3
+release    = 1
 
-PKG_MAINTAINER = 
-PKG_GROUPS     = X/Tools
-PKG_URL        = http://www.x.org/
-PKG_LICENSE    = MIT
-PKG_SUMMARY    = Primitive command line interface to RandR extension.
+groups     = X/Tools
+url        = http://www.x.org/
+license    = MIT
+summary    = Primitive command line interface to RandR extension.
 
-PKG_BUILD_DEPS+= libX11-devel libXrandr-devel libXrender-devel pkg-config
-
-define PKG_DESCRIPTION
+description
        Xrandr is used to set the screen size, orientation and/or \
        reflection using the RandR extension.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.bz2
-
-# Remove xkeystone, it has a bad interpreter and we don't need it.
-define STAGE_INSTALL_CMDS
-       rm -vf $(BUILDROOT)/usr/bin/xkeystone
-endef
+end
+
+source_dl = http://ftp.x.org/pub/individual/app
+sources   = %{thisapp}.tar.bz2
+
+build
+       requires
+               libX11-devel
+               libXrandr-devel
+               libXrender-devel
+               pkg-config
+       end
+
+       install_cmds
+               # Remove xkeystone, it has a bad interpreter and we don't need it.
+               rm -vf %{BUILDROOT}/usr/bin/xkeystone
+       end
+end
+
+packages
+       package %{name}
+       end
+end