SHARE
TWEET

Untitled

a guest May 18th, 2013 39 Never
  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. }
RAW Paste Data
Top