Skip to content
Permalink
update-openssh
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 46 lines (34 sloc) 1.03 KB
#!/bin/env beesh
# BEE_VERSION qtlinks-1.0.1-5
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
ln -s /usr/local/qt5/lib/plugins $D/usr/local/lib/
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
}