Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 29th, 2010  |  syntax: Bash  |  size: 0.78 KB  |  views: 226  |  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. # Contributor: Christoph Siegenthaler <csi@gmx.ch>
  2. # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
  3.  
  4. pkgname=tcpxtract
  5. pkgver=1.0.1
  6. pkgrel=2
  7. pkgdesc="tcpxtract is a tool for extracting files from network traffic"
  8. url="http://tcpxtract.sourceforge.net"
  9. arch=('i686' 'x86_64')
  10. license=('GPL')
  11. depends=('libpcap')
  12. source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
  13. conf_default_path.patch)
  14. md5sums=('1d8fe172d4590c33a157798e08dc0ccd' 'c7964f1e9c1315ae2d2b94c2bd06b4b7')
  15.  
  16. build(){
  17. cd $startdir/src/$pkgname-$pkgver
  18. # Applying conf_default_path patch
  19. patch -Np0 -i $startdir/src/conf_default_path.patch || return 1
  20.  
  21. ./configure --prefix=/usr --sysconfdir=/etc \
  22. || return 1
  23. make || return 1
  24. make DESTDIR=$startdir/pkg install || return 1
  25. }