Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 4th, 2011  |  syntax: Bash  |  size: 0.64 KB  |  hits: 77  |  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. pkgname=tokyocabinet
  2. pkgver=1.4.47
  3. pkgrel=1
  4. pkgdesc="a modern implementation of DBM"
  5. arch=('i686' 'x86_64')
  6. url="http://1978th.net/tokyocabinet"
  7. license=('LGPL')
  8. makedepends=('gcc>=3.1' 'make' 'pkgconfig')
  9. depends=('zlib' 'bzip2')
  10. source=("http://1978th.net/tokyocabinet/${pkgname}-${pkgver}.tar.gz")
  11. md5sums=('3d94fe2aebf5d9ff0478ed895bc46fc9')
  12.  
  13. build() {
  14.   cd "$srcdir/$pkgname-$pkgver"
  15.   ./configure --prefix=/usr --enable-off64 --enable-fastest
  16.   make
  17. }
  18.  
  19. check() {
  20.   cd "$srcdir/$pkgname-$pkgver"
  21.   make -k check
  22. }
  23.  
  24. package() {
  25.   cd "$srcdir/$pkgname-$pkgver"
  26.   make DESTDIR="$pkgdir/" install
  27. }
  28.  
  29. # vim:set ts=2 sw=2 et: