Advertisement
Guest User

Untitled

a guest
Nov 18th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. #Description : the mozilla javascript files
  2. #Maintainer : Roelof Wobben, rwobben at hotmail dot com
  3. #Group: Cinnamon
  4.  
  5. name=js185
  6. release=1
  7. version=1.0.0
  8. source=(http://ftp.mozilla.org/pub/mozilla.org/js/$name-$version.tar.gz)
  9.  
  10. build () {
  11. cd js-1.8.5/js/src
  12. unset CPPFLAGS
  13.  
  14. ./configure --prefix=/usr --with-system-nspr \
  15. --enable-threadsafe
  16. make
  17.  
  18. make DESTDIR="$PKG" install
  19. install -Dm755 shell/js "$pkgdir/usr/bin/js"
  20. find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
  21.  
  22. # Bad symlinks (absolute, including DESTDIR!)
  23. cd "$pkgdir/usr/lib"
  24. ln -sf libmozjs185.so.1.0.0 libmozjs185.so.1.0
  25. ln -sf libmozjs185.so.1.0 libmozjs185.so
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement