Skip to content
Permalink
b7ef5b9c45
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 37 lines (30 sloc) 903 Bytes
#!/bin/env beesh
# BEE_VERSION qtlinks-1.0.2-0
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/plugins
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 part in pkgconfig plugins; do
for f in /usr/local/qt5/lib/$part/*;do
ln -s $f $D/usr/local/lib/$part/
done
done
# handle remaining qt4_compat libs
for f in /usr/local/qt4/lib/lib*.so*;do
ln -s $f $D/usr/local/lib/
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
}