ports/qca: Fixed issue with qcatool2 and preloaded libraries.
This commit is contained in:
parent
49441d655b
commit
239b2a2730
@ -35,6 +35,7 @@ drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/qca/
|
||||
drwxr-xr-x root/root usr/share/qca/certs/
|
||||
-rw-r--r-- root/root usr/share/qca/certs/rootcerts.pem
|
||||
-rwxr-xr-x root/root usr/share/qca/qcatool2
|
||||
drwxr-xr-x root/root usr/share/qt4/
|
||||
drwxr-xr-x root/root usr/share/qt4/mkspecs/
|
||||
drwxr-xr-x root/root usr/share/qt4/mkspecs/features/
|
||||
|
13
qca/Pkgfile
13
qca/Pkgfile
@ -6,7 +6,7 @@
|
||||
|
||||
name=qca
|
||||
version=2.0.0
|
||||
release=1
|
||||
release=3
|
||||
source=(http://delta.affinix.com/download/${name}/2.0/${name}-${version}.tar.bz2)
|
||||
|
||||
build() {
|
||||
@ -21,4 +21,15 @@ build() {
|
||||
find ${PKG} -type f -name '*.debug' -exec rm -rf {} \;
|
||||
find ${PKG} -type f -name 'README' -exec rm -rf {} \;
|
||||
mv ${PKG}/usr/share/man ${PKG}/usr
|
||||
install -d ${PKG}/usr/share/${name}
|
||||
mv ${PKG}/usr/bin/qcatool2 ${PKG}/usr/share/${name}/qcatool2
|
||||
cat > ${PKG}/usr/bin/qcatool2 <<EOF
|
||||
#!/bin/sh
|
||||
|
||||
export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/lib/qt4
|
||||
/usr/share/${name}/qcatool2
|
||||
|
||||
# End of file
|
||||
EOF
|
||||
chmod 0755 ${PKG}/usr/bin/qcatool2
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user