Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

lib32-fltk

By: a guest on Jul 31st, 2011  |  syntax: Bash  |  size: 0.85 KB  |  hits: 90  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer :
  2. # Contributor :
  3.  
  4. _pkgbasename=fltk
  5. pkgname=lib32-$_pkgbasename
  6. pkgver=1.3.0
  7. pkgrel=1
  8. pkgdesc="Graphical user interface toolkit for X (32 bit)"
  9. arch=('x86_64')
  10. license=('LGPL')
  11. url="http://www.fltk.org/"
  12. depends=('fltk' 'lib32-gcc-libs' 'lib32-libjpeg-turbo'
  13.          'lib32-libpng' 'lib32-libxft' 'lib32-libxinerama')
  14. makedepends=('lib32-mesa' 'gcc-multilib')
  15. source=("http://ftp.easysw.com/pub/fltk/$pkgver/fltk-$pkgver-source.tar.gz")
  16. md5sums=('44d5d7ba06afdd36ea17da6b4b703ca3')
  17.  
  18. build() {
  19.   cd "$srcdir/$_pkgbasename-$pkgver"
  20.   ./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32/fltk \
  21.                   --enable-xft --enable-shared CC='gcc -m32' CXX='g++ -m32' \
  22.                   --enable-threads
  23.   make
  24. }
  25.  
  26. package() {
  27.   cd "$srcdir/$_pkgbasename-$pkgver"
  28.   make DESTDIR=$pkgdir install
  29.   rm -rf ${pkgdir}/usr/{bin,include,share}
  30. }