talimat 751 B

1234567891011121314151617181920212223242526272829303132
  1. # URL: http://savannah.nongnu.org/projects/acl
  2. # Packager: milisarge@gmail.com
  3. description="Commands for Manipulating POSIX Access Control Lists."
  4. name=acl
  5. version=2.2.52
  6. release=1
  7. source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
  8. build() {
  9. cd acl-*
  10. sed -i -e 's|/@pkg_name@|&-@pkg_version@|' \
  11. include/builddefs.in
  12. sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \
  13. libacl/__acl_to_any_text.c
  14. INSTALL_USER=root \
  15. INSTALL_GROUP=root \
  16. ./configure --prefix=/usr --libexecdir=/usr/lib \
  17. --bindir=/bin
  18. make
  19. make DIST_ROOT=$PKG install install-lib install-dev
  20. chmod -v 755 $PKG/usr/lib/libacl.so
  21. mkdir $PKG/lib
  22. mv -v $PKG/usr/lib/libacl.so.* $PKG/lib
  23. ln -sfv ../../lib/libacl.so.1 \
  24. $PKG/usr/lib/libacl.so
  25. }