ports/qca: Fixed issue with qcatool2 and preloaded libraries.

This commit is contained in:
Jose V Beneyto 2008-01-08 09:31:00 +01:00
parent 49441d655b
commit 239b2a2730
2 changed files with 13 additions and 1 deletions

View File

@ -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/

View File

@ -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
}