]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/libxcb/libxcb.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / libxcb / libxcb.nm
index 59ab848f95d31cbb06c05ec0f6dd40de723d7d80..a96db904f1b55ed096bd48157e0cb58a0340d756 100644 (file)
@@ -1,57 +1,55 @@
 ###############################################################################
-#                                                                             #
-# 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       = libxcb
-PKG_VER        = 1.7
-PKG_REL        = 1
-
-PKG_MAINTAINER = Stefan Schantl <stefan.schantl@ipfire.org>
-PKG_GROUPS     = X/Libraries
-PKG_URL        = http://xcb.freedesktop.org/
-PKG_LICENSE    = MIT
-PKG_SUMMARY    = A C binding to the X11 protocol.
+name       = libxcb
+version    = 1.7
+release    = 1
 
-PKG_BUILD_DEPS+= autoconf automake libtool libXau-devel libxslt-devel \
-       pkg-config python-devel xcb-proto xorg-x11-proto-devel
+maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
+groups     = X/Libraries
+url        = http://xcb.freedesktop.org/
+license    = MIT
+summary    = A C binding to the X11 protocol.
 
-PKG_PACKAGES  += $(PKG_NAME)-devel
-PKG_DEPS-$(PKG_NAME)-devel += libXau-devel
-
-define PKG_DESCRIPTION
+description
        The X protocol C-language Binding (XCB) is a replacement for Xlib \
        featuring a small footprint, latency hiding, direct access to the \
        protocol, improved threading support, and extensibility.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
-       --disable-static
-
-define STAGE_PREPARE_CMDS
-       cd $(DIR_APP) && sed -e "s/pthread-stubs//g" -i configure.ac
-       cd $(DIR_APP) && autoreconf -f --install
-endef
+end
+
+source_dl  =
+
+build
+       requires
+               autoconf
+               automake
+               libtool
+               libXau-devel
+               libxslt-devel
+               pkg-config
+               python-devel
+               xcb-proto
+               xorg-x11-proto-devel
+       end
+
+       configure_options += \
+               --disable-static
+
+       prepare_cmds
+               sed -e "s/pthread-stubs//g" -i configure.ac
+               autoreconf -f --install
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       
+               requires = libXau-devel
+       end
+end