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

Josephgbr

By: a guest on Jan 25th, 2011  |  syntax: Bash  |  size: 0.74 KB  |  hits: 125  |  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. _pkgbasename=cracklib
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=2.8.18
  4. pkgrel=1
  5. pkgdesc="Password Checking Library (32 bit)"
  6. arch=('x86_64')
  7. license=('GPL')
  8. url="http://sourceforge.net/projects/cracklib"
  9. depends=('lib32-glibc' 'lib32-zlib' "$_pkgbasename")
  10. makedepends=('gcc-multilib')
  11. options=('!libtool')
  12. source=(http://downloads.sourceforge.net/sourceforge/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
  13. md5sums=('79053ad8bc714a44cd660cb12116211b')
  14.  
  15. build() {
  16.   cd $srcdir/$_pkgbasename-$pkgver
  17.   ./configure --prefix=/usr --libdir=/usr/lib32
  18.                 --without-python CC='gcc -m32' || return 1
  19.   make || return 1
  20. }
  21.  
  22. package() {
  23.   cd $srcdir/$_pkgbasename-$pkgver  
  24.   make DESTDIR=$pkgdir install  
  25.   rm -rf ${pkgdir}/usr/{include,sbin,share}
  26. }