33 lines
758 B
Plaintext
33 lines
758 B
Plaintext
# Tanım: Commands for Manipulating POSIX Access Control Lists
|
||
# URL: http://savannah.nongnu.org/projects/acl
|
||
# Paketçi: milisarge@gmail.com
|
||
# Gerekler:
|
||
|
||
name=acl
|
||
version=2.2.52
|
||
release=1
|
||
|
||
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
||
|
||
derle() {
|
||
cd acl-*
|
||
|
||
sed -i -e 's|/@pkg_name@|&-@pkg_version@|' \
|
||
include/builddefs.in
|
||
|
||
sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \
|
||
libacl/__acl_to_any_text.c
|
||
|
||
INSTALL_USER=root \
|
||
INSTALL_GROUP=root \
|
||
./configure --prefix=/usr --libexecdir=/usr/lib \
|
||
--bindir=/bin
|
||
make
|
||
make DIST_ROOT=$PKG install install-lib install-dev
|
||
chmod -v 755 $PKG/usr/lib/libacl.so
|
||
mkdir $PKG/lib
|
||
mv -v $PKG/usr/lib/libacl.so.* $PKG/lib
|
||
ln -sfv ../../lib/libacl.so.1 \
|
||
$PKG/usr/lib/libacl.so
|
||
}
|