milis/talimatname/temel/attr/talimat

31 lines
734 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: Utilities to administer the extended attributes on filesystem objects
2016-02-24 01:27:23 +01:00
# URL: http://savannah.nongnu.org/projects/attr
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge@gmail.com
# Gerekler:
2016-02-24 01:27:23 +01:00
name=attr
version=2.4.47
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.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 attr-$version
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
2016-03-07 13:45:49 +01:00
rm -r $PKG/usr/share/man/man2
rm -r $PKG/usr/share/doc
2016-02-24 01:27:23 +01:00
}