2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: XFS filesystem utilities
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://oss.sgi.com/projects/xfs/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=xfsprogs
|
|
|
|
|
surum=4.3.0
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$isim-$surum.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
|
|
|
|
}
|