Added acl-2.2.47 template.

--HG--
extra : convert_revision : 85c063b297a7728f9c33b67b1c151e90f0a3559f
This commit is contained in:
Juan RP 2009-04-24 17:21:30 +02:00
parent 118de4ca6c
commit 11355d2611
7 changed files with 107 additions and 0 deletions

1
templates/acl-devel Symbolic link
View file

@ -0,0 +1 @@
acl

1
templates/acl-progs Symbolic link
View file

@ -0,0 +1 @@
acl

2
templates/acl/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=2.2.47
api_depends=${abi_depends}

View file

@ -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
}

View file

@ -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

View file

@ -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
}

33
templates/acl/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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
}