]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/libaal/libaal.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / libaal / libaal.nm
index 4da38c215a132d41c959a9f00ddd486882fe0495..e549015292e2de61327bed24ead001865fffc873 100644 (file)
@@ -1,56 +1,45 @@
 ###############################################################################
-#                                                                             #
-# 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       = libaal
-PKG_VER        = 1.0.5
-PKG_REL        = 0
-
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Filesystems
-PKG_URL        = http://www.kernel.org/pub/linux/utils/fs/reiser4/libaal/
-PKG_LICENSE    = GPL
-PKG_SUMMARY    = Reiser4's application abstraction library.
+name       = libaal
+version    = 1.0.5
+release    = 1
 
-PKG_BUILD_DEPS+= gcc-c++
+groups     = System/Filesystems
+url        = http://www.kernel.org/pub/linux/utils/fs/reiser4/libaal/
+license    = GPL
+summary    = Reiser4's application abstraction library.
 
-define PKG_DESCRIPTION
+description
        This library is part of the Reiser4's filesystem support tools.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-CONFIGURE_OPTIONS += \
-       --libdir=/lib
-
-define STAGE_INSTALL_CMDS
-       rm -vf $(BUILDROOT)/lib/libaal{,-minimal}.so
-       -mkdir -pv $(BUILDROOT)/usr/lib
-       ln -svf ../../lib/libaal-1.0.so.5 $(BUILDROOT)/usr/lib/libaal-1.0.so
-       ln -svf libaal-1.0.so $(BUILDROOT)/usr/lib/libaal.so
-       ln -svf ../../lib/libaal-minimal.so.0 $(BUILDROOT)/usr/lib/libaal-minimal.so
-endef
+end
+
+source_dl  =
+
+build
+       requires
+               gcc-c++
+       end
+
+       configure_options += \
+               --libdir=/lib
+
+       install_cmds
+               rm -vf %{BUILDROOT}/lib/libaal{,-minimal}.so
+               mkdir -pv %{BUILDROOT}/usr/lib
+               ln -svf ../../lib/libaal-1.0.so.5 %{BUILDROOT}/usr/lib/libaal-1.0.so
+               ln -svf libaal-1.0.so %{BUILDROOT}/usr/lib/libaal.so
+               ln -svf ../../lib/libaal-minimal.so.0 %{BUILDROOT}/usr/lib/libaal-minimal.so
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end