]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/reiser4progs/reiser4progs.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / reiser4progs / reiser4progs.nm
index 04ff9860e6c6393c8dc5de518a43f2ab9855fd2f..02c89689c39cf20cc113ceaaaa537ef83b608f0d 100644 (file)
@@ -1,69 +1,65 @@
 ###############################################################################
-#                                                                             #
-# 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
+name       = reiser4progs
+version    = 1.0.7
+release    = 1
 
-PKG_NAME       = reiser4progs
-PKG_VER        = 1.0.7
-PKG_REL        = 0
+groups     = System/Filesystems
+url        = http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/
+license    = GPL
+summary    = Administration utilities for the Reiser4 filesystem.
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Filesystems
-PKG_URL        = http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/
-PKG_LICENSE    = GPL
-PKG_SUMMARY    = Administration utilities for the Reiser4 filesystem.
-
-PKG_BUILD_DEPS+= autoconf automake e2fsprogs-devel libaal-devel libtool \
-       libuuid-devel ncurses-devel readline-devel
-
-define PKG_DESCRIPTION
+description
        The filesystem utilities for the reiser4 filesystem, including: \
        fsck.reiser4, measurefs.reiser4, mkfs.reiser4 and resizefs.reiser4.
-endef
+end
+
+source_dl  = http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/
+sources    = %{thisapp}.tar.bz2
 
-PKG_TARBALL    = $(THISAPP).tar.bz2
+build
+       requires
+               autoconf
+               automake
+               e2fsprogs-devel
+               libaal-devel
+               libtool
+               libuuid-devel
+               ncurses-devel
+               readline-devel
+       end
 
-PKG_PACKAGES  += $(PKG_NAME)-devel
+       configure_options += \
+               --sbindir=/sbin \
+               --libdir=/lib \
+               --disable-static \
+               --disable-libminimal
 
-CONFIGURE_OPTIONS += \
-       --sbindir=/sbin \
-       --libdir=/lib \
-       --disable-static \
-       --disable-libminimal
+       prepare_cmds
+               # Regenerate the buildsystem
+               libtoolize --install
+               aclocal
+               autoheader
+               autoconf
+               automake --add-missing
+       end
 
-define STAGE_PREPARE_CMDS
-       # Regenerate the buildsystem
-       cd $(DIR_APP) && libtoolize --install
-       cd $(DIR_APP) && aclocal
-       cd $(DIR_APP) && autoheader
-       cd $(DIR_APP) && autoconf
-       cd $(DIR_APP) && automake --add-missing
-endef
+       install_cmds
+               rm -vf %{BUILDROOT}/lib/lib{reiser4,repair}.so
+               mkdir -pv %{BUILDROOT}/usr/lib
+               ln -svf ../../lib/libreiser4-1.0.so.7 %{BUILDROOT}/usr/lib/libreiser4-1.0.so
+               ln -svf ../../lib/librepair-1.0.so.7 %{BUILDROOT}/usr/lib/librepair-1.0.so
+       end
+end
 
-define STAGE_INSTALL_CMDS
-       rm -vf $(BUILDROOT)/lib/lib{reiser4,repair}.so
-       -mkdir -pv $(BUILDROOT)/usr/lib
-       ln -svf ../../lib/libreiser4-1.0.so.7 $(BUILDROOT)/usr/lib/libreiser4-1.0.so
-       ln -svf ../../lib/librepair-1.0.so.7 $(BUILDROOT)/usr/lib/librepair-1.0.so
-endef
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end