]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/udisks/udisks.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / udisks / udisks.nm
index 5e9c3fd4506efd3051c3fab000e8cbf14ab8ad29..188edc50ec12f6d7f735db604df2d06ad085f941 100644 (file)
@@ -1,52 +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       = udisks
-PKG_VER        = 1.0.1
-PKG_REL        = 1
+name       = udisks
+version    = 1.0.1
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.freedesktop.org/wiki/Software/udisks
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = Storage Management Service.
+groups     = System/Libraries
+url        = http://www.freedesktop.org/wiki/Software/udisks
+license    = GPLv2+
+summary    = Storage Management Service.
 
-PKG_BUILD_DEPS+= dbus-devel dbus-glib-devel e2fsprogs-devel glib2-devel \
-       intltool libatasmart-devel libdevmapper-devel libudev-devel \
-       parted-devel polkit-devel pkg-config sg3-utils-devel
-PKG_DEPS      += dosfstools e2fsprogs mdadm parted udev util-linux xfsprogs
-
-define PKG_DESCRIPTION
-       udisks provides a daemon, D-Bus API and command line tools \
+description
+       udisks provides a daemon, D-Bus API and command line tools
        for managing disks and storage devices.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
-       --sysconfdir=/etc \
-       --libexecdir=/usr/lib \
-       --localstatedir=/var
+end
+
+source_dl  = http://hal.freedesktop.org/releases/
+
+build
+       requires
+               dbus-devel
+               dbus-glib-devel
+               e2fsprogs-devel
+               glib2-devel
+               intltool
+               libatasmart-devel
+               libdevmapper-devel
+               libudev-devel
+               parted-devel
+               polkit-devel
+               pkg-config
+               sg3-utils-devel
+       end
+
+       configure_options += \
+               --sysconfdir=/etc \
+               --libexecdir=/usr/lib \
+               --localstatedir=/var
+end
+
+packages
+       package %{name}
+               requires
+                       dosfstools
+                       e2fsprogs
+                       mdadm
+                       parted
+                       udev
+                       util-linux
+                       xfsprogs
+               end
+       end
+end