APP=libxaw3dxft
VERSION=1.6.2d
BUILD=1sml
HOMEPAGE="http://sourceforge.net/projects/sf-xpaint/files/libxaw3dxft/"
DOWNLOAD="https://sourceforge.net/projects/sf-xpaint/files/libxaw3dxft/libXaw3dXft-1.6.2d.tar.bz2"
DESC="xaw3d library for xpaint"
REQUIRES="libxmu libxpm libxaw3d "

build() {
  mkandenterbuilddir
  rm -rf libXaw3dXft-$VERSION

  tar xf $SRCDIR/libXaw3dXft-$VERSION.tar.?z*
  cd libXaw3dXft-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
5f3bbfd34ac6a2f806a0efce7e4441b7484d0421fa58bb8efb0fb4180b001540ff32680b412edd2de3ff6f832e0afbc2232b2bb18b2c9b08f4e41499f10fa1fd  libXaw3dXft-1.6.2d.tar.lz
"
