]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/acl/acl.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / acl / acl.nm
index 1d4fa0a317ae0c0864d00f4909a7e1f7afc3d699..f75a039ffd48aecddd294a41f4bfdf201f9c30ad 100644 (file)
@@ -1,65 +1,58 @@
 ###############################################################################
-#                                                                             #
-# 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       = acl
+version    = 2.2.47
+release    = 1
 
-PKG_NAME       = acl
-PKG_VER        = 2.2.47
-PKG_REL        = 0
+groups     = System/Filesystems
+url        = http://oss.sgi.com/projects/xfs/
+license    = GPLv2+
+summary    = Access control list utilities.
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Filesystems
-PKG_URL        = http://oss.sgi.com/projects/xfs/
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = Access control list utilities.
-
-define PKG_DESCRIPTION
-       This package contains the getfacl and setfacl utilities needed for \
+description
+       This package contains the getfacl and setfacl utilities needed for
        manipulating access control lists.
-endef
-
-PKG_BUILD_DEPS+= gettext libattr-devel libnfsidmap-devel libtool
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-PKG_PACKAGES  += libacl libacl-devel
-
-PKG_FILES-libacl       = $(PKG_FILES-$(PKG_NAME_REAL)-libs)
-PKG_FILES-libacl-devel = $(PKG_FILES-$(PKG_NAME_REAL)-devel)
-
-CONFIGURE_OPTIONS += \
-       --bindir=/bin \
-       --disable-static \
-       --mandir=/usr/share/man
-
-STAGE_BUILD_TARGETS += LIBTOOL="libtool --tag=CC"
-
-define STAGE_INSTALL_CMDS
-       -mkdir -pv $(BUILDROOT)/{,usr/}lib $(BUILDROOT)/usr/include/{acl,sys}
-       install -v -m0755 $(DIR_APP)/libacl/.libs/libacl.so.1.2.0 $(BUILDROOT)/lib
-       ln -vsf libacl.so.1.2.0 $(BUILDROOT)/lib/libacl.so.1
-       ln -vsf ../../lib/libacl.so.1 $(BUILDROOT)/usr/lib/libacl.so
-       cp -vf $(DIR_APP)/include/libacl.h $(BUILDROOT)/usr/include/acl/
-       cp -vf $(DIR_APP)/include/acl.h $(BUILDROOT)/usr/include/sys/
-endef
+end
+
+source_dl  = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
+
+build
+       requires
+               gettext
+               libattr-devel
+               libnfsidmap-devel
+               libtool
+       end
+
+       configure_options += \
+               --bindir=/bin \
+               --disable-static \
+               --mandir=/usr/share/man
+
+       make_build_targets += LIBTOOL="libtool --tag=CC"
+
+       install_cmds
+               mkdir -pv %{BUILDROOT}/{,usr/}lib %{BUILDROOT}/usr/include/{acl,sys}
+               install -v -m0755 %{DIR_APP}/libacl/.libs/libacl.so.1.2.0 %{BUILDROOT}/lib
+               ln -vsf libacl.so.1.2.0 %{BUILDROOT}/lib/libacl.so.1
+               ln -vsf ../../lib/libacl.so.1 %{BUILDROOT}/usr/lib/libacl.so
+               cp -vf %{DIR_APP}/include/libacl.h %{BUILDROOT}/usr/include/acl/
+               cp -vf %{DIR_APP}/include/acl.h %{BUILDROOT}/usr/include/sys/
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package libacl
+               template LIBS
+       end
+       
+       package libacl-devel
+               template DEVEL
+       end
+end