This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 18th, 2013  |  syntax: None  |  size: 0.72 KB  |  views: 35  |  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=swig-wx
  2. pkgver=1.3.29_fuerte
  3. pkgrel=1
  4. pkgdesc="SWIG (Simplified Wrapper and Interface Generator) for ROS Fuerte"
  5. url="https://github.com/ros/swig-wx/"
  6. arch=('x86_64' 'i686')
  7. license=('GPL')
  8. depends=('bison' 'gcc-libs')
  9. makedepends=()
  10. conflicts=()
  11. replaces=()
  12. backup=()
  13. source=("https://github.com/ros/$pkgname/archive/$pkgver.tar.gz")
  14. md5sums=('9fcc339dde0202c9f73efefef1cfe9b2')
  15.  
  16. build() {
  17.   cd "${srcdir}/${pkgname}-${pkgver}"
  18.   ./autogen.sh
  19.   ./configure
  20.   make
  21. }
  22.  
  23. package() {
  24.   cd "${srcdir}/${pkgname}-${pkgver}"
  25.   make DESTDIR="${pkgdir}" install
  26.   test -d "$pkgdir/opt/ros/fuerte/bin/" || mkdir -p "$pkgdir/opt/ros/fuert\
  27. e/bin/" && mv $pkgdir/usr/local/bin/swig $pkgdir/opt/ros/fuerte/bin/
  28. }
clone this paste RAW Paste Data