milis/talimatname/temel/acl/talimat

33 lines
752 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: Commands for Manipulating POSIX Access Control Lists
2016-02-24 01:27:23 +01:00
# URL: http://savannah.nongnu.org/projects/acl
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge@gmail.com
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
isim=acl
surum=2.2.52
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=( http://download.savannah.gnu.org/releases/$isim/$isim-$surum.src.tar.gz)
2016-03-20 02:15:25 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
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
}