milis/talimatname/temel/attr/talimat

31 lines
726 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Utilities to administer the extended attributes on filesystem objects
# URL: http://savannah.nongnu.org/projects/attr
# Paketçi: milisarge@gmail.com
# Gerekler:
isim=attr
surum=2.4.47
devir=1
kaynak=(http://download.savannah.gnu.org/releases/$isim/$isim-$surum.src.tar.gz)
derle() {
cd attr-$surum
sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
INSTALL_USER=root \
INSTALL_GROUP=root \
./configure --prefix=/usr \
--bindir=/bin
make
make DIST_ROOT=$PKG install install-lib install-dev
chmod -v 755 $PKG/usr/lib/libattr.so
mkdir $PKG/lib
mv -v $PKG/usr/lib/libattr.so.* $PKG/lib
ln -sfv ../../lib/libattr.so.1 $PKG/usr/lib/libattr.so
rm -r $PKG/usr/share/man/man2
rm -r $PKG/usr/share/doc
}