talimat 689 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: XFS dosya sistemi yardımcı programları
  2. # URL: http://oss.sgi.com/projects/xfs/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=xfsprogs
  7. surum=4.3.0
  8. devir=1
  9. kaynak=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \
  13. LOCAL_CONFIGURE_OPTIONS="--enable-readline"
  14. make DIST_ROOT=$PKG install
  15. make DIST_ROOT=$PKG install-dev
  16. if [ "`uname -m `" == "x86_64" ];then
  17. LIB="lib64"
  18. else
  19. LIB="lib"
  20. fi
  21. rm -rfv $PKG/$LIB/libhandle.{a,la,so}
  22. ln -sfv ../../$LIB/libhandle.so.1 $PKG/usr/$LIB/libhandle.so
  23. sed -i "s@libdir='/$LIB@libdir='/usr/$LIB@g" $PKG/usr/$LIB/libhandle.la
  24. }