milis/talimatname/genel/x/xfsprogs/talimat

28 lines
665 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: XFS filesystem utilities
# URL: http://oss.sgi.com/projects/xfs/
# Paketçi: milisarge
# Gerekler:
name=xfsprogs
version=4.3.0
release=1
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$name-$version.tar.gz)
build() {
cd $name-$version
make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \
LOCAL_CONFIGURE_OPTIONS="--enable-readline"
make DIST_ROOT=$PKG install
make DIST_ROOT=$PKG install-dev
if [ "`uname -m `" == "x86_64" ];then
LIB="lib64"
else
LIB="lib"
fi
rm -rfv $PKG/$LIB/libhandle.{a,la,so}
ln -sfv ../../$LIB/libhandle.so.1 $PKG/usr/$LIB/libhandle.so
sed -i "s@libdir='/$LIB@libdir='/usr/$LIB@g" $PKG/usr/$LIB/libhandle.la
}