]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/eject/eject.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / eject / eject.nm
index ca9a1ab4d7be0817b935c2db3e842faede491c77..e2a74888bc2325f80d827d37df6bdb3cff8e86a7 100644 (file)
@@ -1,51 +1,39 @@
 ###############################################################################
-#                                                                             #
-# 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       = eject
-PKG_VER        = 2.1.5
-PKG_REL        = 0
+name       = eject
+version    = 2.1.5
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Base
-PKG_URL        = http://www.pobox.com/~tranter
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = A program that ejects removable media using software control.
+groups     = System/Base
+url        = http://www.pobox.com/~tranter
+license    = GPLv2+
+summary    = A program that ejects removable media using software control.
 
-PKG_BUILD_DEPS+= gettext libtool
-
-define PKG_DESCRIPTION
+description
        The eject program allows the user to eject removable media (typically \
        CD-ROMs, floppy disks or Iomega Jaz or Zip disks) using software \
        control. Eject can also control some multi-disk CD changers and even \
        some devices' auto-eject features.
-endef
+end
+
+source_dl  =
+
+build
+       requires
+               gettext
+               libtool
+       end
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+       DIR_APP = %{DIR_SRC}/%{name}
 
-DIR_APP        = $(DIR_SRC)/$(PKG_NAME)
+       configure_options += \
+               --mandir=/usr/share/man
+end
 
-CONFIGURE_OPTIONS += \
-       --mandir=/usr/share/man
+packages
+       package %{name}
+       end
+end