Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Description : the mozilla javascript files
- #Maintainer : Roelof Wobben, rwobben at hotmail dot com
- #Group: Cinnamon
- name=js185
- release=1
- version=1.0.0
- source=(http://ftp.mozilla.org/pub/mozilla.org/js/$name-$version.tar.gz)
- build () {
- cd js-1.8.5/js/src
- unset CPPFLAGS
- ./configure --prefix=/usr --with-system-nspr \
- --enable-threadsafe
- make
- make DESTDIR="$PKG" install
- install -Dm755 shell/js "$pkgdir/usr/bin/js"
- find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
- # Bad symlinks (absolute, including DESTDIR!)
- cd "$pkgdir/usr/lib"
- ln -sf libmozjs185.so.1.0.0 libmozjs185.so.1.0
- ln -sf libmozjs185.so.1.0 libmozjs185.so
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement