Skip to content
Permalink
update-mpfr-402
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 48 lines (33 sloc) 1003 Bytes
#!/bin/env beesh
# BEE_VERSION qtlinks-1.0.1-3
mee_install() {
mkdir -p $D/usr/local/bin
mkdir -p $D/usr/local/lib
mkdir $D/usr/local/lib/pkgconfig
mkdir $D/usr/local/lib/cmake
# qt4
ln -s /usr/local/qt4/bin/qmake $D/usr/local/bin/qmake4
for f in /usr/local/qt4/lib/pkgconfig/*.pc;do
ln -s $f $D/usr/local/lib/pkgconfig/
done
for f in /usr/local/qt4/lib/lib*.so*;do
ln -s $f $D/usr/local/lib/
done
# qt5
for f in /usr/local/qt5/bin/*; do
ln -s $f $D/usr/local/bin/
done
for f in /usr/local/qt5/lib/lib*.so*;do
ln -s $f $D/usr/local/lib/
done
for f in /usr/local/qt5/lib/pkgconfig/*.pc;do
ln -s $f $D/usr/local/lib/pkgconfig/
done
# this doesn't work as the files (eg Qt5Core/Qt5CoreConfig.cmake) use expressions like
# get_filename_component(_qt5Core_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
# to find the package
#
# for f in /usr/local/qt5/lib/cmake/*;do
# ln -s $f $D/usr/local/lib/cmake/
# done
}