From 11355d26117066f7aef08bac6bd017bc891bdfbb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Apr 2009 17:21:30 +0200 Subject: [PATCH] Added acl-2.2.47 template. --HG-- extra : convert_revision : 85c063b297a7728f9c33b67b1c151e90f0a3559f --- templates/acl-devel | 1 + templates/acl-progs | 1 + templates/acl/depends | 2 ++ templates/acl/devel.template | 17 +++++++++++++++++ templates/acl/install.diff | 36 ++++++++++++++++++++++++++++++++++++ templates/acl/progs.template | 17 +++++++++++++++++ templates/acl/template | 33 +++++++++++++++++++++++++++++++++ 7 files changed, 107 insertions(+) create mode 120000 templates/acl-devel create mode 120000 templates/acl-progs create mode 100644 templates/acl/depends create mode 100644 templates/acl/devel.template create mode 100644 templates/acl/install.diff create mode 100644 templates/acl/progs.template create mode 100644 templates/acl/template diff --git a/templates/acl-devel b/templates/acl-devel new file mode 120000 index 0000000000..7c0f27c852 --- /dev/null +++ b/templates/acl-devel @@ -0,0 +1 @@ +acl \ No newline at end of file diff --git a/templates/acl-progs b/templates/acl-progs new file mode 120000 index 0000000000..7c0f27c852 --- /dev/null +++ b/templates/acl-progs @@ -0,0 +1 @@ +acl \ No newline at end of file diff --git a/templates/acl/depends b/templates/acl/depends new file mode 100644 index 0000000000..fe13a4179f --- /dev/null +++ b/templates/acl/depends @@ -0,0 +1,2 @@ +abi_depends=2.2.47 +api_depends=${abi_depends} diff --git a/templates/acl/devel.template b/templates/acl/devel.template new file mode 100644 index 0000000000..015fbb40eb --- /dev/null +++ b/templates/acl/devel.template @@ -0,0 +1,17 @@ +# Template file for 'acl-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run acl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/libacl.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libacl.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/man/man[235] ${DESTDIR}/usr/share/man +} diff --git a/templates/acl/install.diff b/templates/acl/install.diff new file mode 100644 index 0000000000..643715696c --- /dev/null +++ b/templates/acl/install.diff @@ -0,0 +1,36 @@ +--- include/builddefs.in.orig 2009-04-24 02:26:13.747541261 +0200 ++++ include/builddefs.in 2009-04-24 02:26:54.954519524 +0200 +@@ -27,14 +27,14 @@ PKG_RELEASE = @pkg_release@ + PKG_VERSION = @pkg_version@ + PKG_PLATFORM = @pkg_platform@ + PKG_DISTRIBUTION= @pkg_distribution@ +-PKG_BIN_DIR = @bindir@ +-PKG_SBIN_DIR = @sbindir@ +-PKG_LIB_DIR = @libdir@@libdirsuffix@ +-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@ +-PKG_INC_DIR = @includedir@ +-PKG_MAN_DIR = @mandir@ +-PKG_DOC_DIR = @datadir@/doc/@pkg_name@ +-PKG_LOCALE_DIR = @datadir@/locale ++PKG_BIN_DIR = $(DESTDIR)@bindir@ ++PKG_SBIN_DIR = $(DESTDIR)@sbindir@ ++PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@ ++PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@ ++PKG_INC_DIR = $(DESTDIR)@includedir@ ++PKG_MAN_DIR = $(DESTDIR)@mandir@ ++PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@ ++PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale + + CC = @cc@ + AWK = @awk@ +--- include/buildmacros.orig 2009-04-24 02:29:47.678556160 +0200 ++++ include/buildmacros 2009-04-24 02:29:59.566962810 +0200 +@@ -27,7 +27,7 @@ OBJECTS = $(ASFILES:.s=.o) \ + $(LFILES:.l=.o) \ + $(YFILES:%.y=%.tab.o) + +-INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP) ++INSTALL = $(TOPDIR)/install-sh + + SHELL = /bin/sh + IMAGES_DIR = $(TOPDIR)/all-images diff --git a/templates/acl/progs.template b/templates/acl/progs.template new file mode 100644 index 0000000000..71710a1e3d --- /dev/null +++ b/templates/acl/progs.template @@ -0,0 +1,17 @@ +# Template file for 'acl-progs'. +# +short_desc="${short_desc} (utilities)" +long_desc="${long_desc} + + This package contains binary utilities provided by the acl package." + +Add_dependency run glibc +Add_dependency run acl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/share/locale ${DESTDIR}/usr/share +} diff --git a/templates/acl/template b/templates/acl/template new file mode 100644 index 0000000000..305a964e9e --- /dev/null +++ b/templates/acl/template @@ -0,0 +1,33 @@ +# Template file for 'acl' +pkgname=acl +sourcepkg=$pkgname +version=2.2.47 +distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_${version}-1.tar.gz" +build_style=gnu_configure +configure_env="ac_cv_path_LIBTOOL=${XBPS_MASTERDIR}/usr/bin/libtool + ac_cv_path_MSGFMT=${XBPS_MASTERDIR}/usr/bin/msgfmt + ac_cv_path_MSGMERGE=${XBPS_MASTERDIR}/usr/bin/msgmerge + ac_cv_path_XGETTEXT=${XBPS_MASTERDIR}/usr/bin/xgettext" +make_install_args="install-lib install-dev" +short_desc="Access Control List filesystem support" +maintainer="Juan RP " +checksum=240906fbea566f5d2dc354d67c3c9e776ad7f8a35a189da2f411c4e9847969c8 +long_desc=" + This package includes support for Access Control Lists support for supported + filesystems." + +base_chroot=yes + +subpackages="devel progs" +Add_dependency build libtool +Add_dependency build gettext +Add_dependency run glibc +Add_dependency full attr + +post_install() +{ + mkdir ${DESTDIR}/lib + mv ${DESTDIR}/usr/lib/libacl.so.* ${DESTDIR}/lib + mv ${DESTDIR}/usr/libexec/libacl.* ${DESTDIR}/usr/lib + rm -rf ${DESTDIR}/usr/libexec +}