Skip to content
Permalink
3e764aeff1
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 44 lines (31 sloc) 914 Bytes
#!/bin/env beesh
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
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
}