Advertisement
timcowchip

Untitled

Dec 18th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # Description: CLI tool to transfer files via OBEX
  2. # URL: http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp
  3. # Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
  4. # Maintainer: Chris Farrell, timcowchip at gorge dot net
  5. # Depends on: openobex bluez cmake libiconv asciidoc xmlto fuse swig ruby tk
  6.  
  7. name=obexftp
  8. version=0.24.2
  9. release=2
  10. source=(https://iweb.dl.sourceforge.net/project/openobex/$name/$version/$name-$version-Source.tar.gz)
  11.  
  12. build () {
  13. mkdir build
  14. cd build
  15.  
  16. cmake ../$name-$version-Source \
  17. -DCMAKE_BUILD_TYPE=Release \
  18. -DCMAKE_INSTALL_PREFIX=/usr \
  19.  
  20. make
  21. make DESTDIR=$PKG install
  22.  
  23. # Install man pages
  24. # Generating the man pages required asciidoc and xmlto for version 0.24
  25. for i in $SRC/*.1; do
  26. install -o root -g root -D $i $PKG/usr/man/man1/${i##*/}
  27. done
  28.  
  29. rm -rf $PKG/usr/share
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement