1
0
forked from ports/contrib

qca: Fixed paths and cleanup.

This commit is contained in:
Jose V Beneyto 2008-04-28 17:01:53 +02:00
parent e75432fe29
commit c954beeaa9
2 changed files with 28 additions and 50 deletions

View File

@ -1,34 +1,31 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/qcatool -> /usr/bin/qcatool2
-rwxr-xr-x root/root usr/bin/qcatool2
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/qca/
drwxr-xr-x root/root usr/include/qca/QtCrypto/
-rw-r--r-- root/root usr/include/qca/QtCrypto/QtCrypto
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_basic.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_cert.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_core.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_export.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_keystore.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_publickey.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_securelayer.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_securemessage.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_support.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_textfilter.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qca_tools.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qcaprovider.h
-rw-r--r-- root/root usr/include/qca/QtCrypto/qpipe.h
drwxr-xr-x root/root usr/include/QtCrypto/
-rw-r--r-- root/root usr/include/QtCrypto/QtCrypto
-rw-r--r-- root/root usr/include/QtCrypto/qca.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_basic.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_cert.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_core.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_export.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_keystore.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_publickey.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_securelayer.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_securemessage.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_support.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_textfilter.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_tools.h
-rw-r--r-- root/root usr/include/QtCrypto/qcaprovider.h
-rw-r--r-- root/root usr/include/QtCrypto/qpipe.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libqca.prl
lrwxrwxrwx root/root usr/lib/libqca.so -> libqca.so.2.0.0
lrwxrwxrwx root/root usr/lib/libqca.so.2 -> libqca.so.2.0.0
lrwxrwxrwx root/root usr/lib/libqca.so.2.0 -> libqca.so.2.0.0
-rwxr-xr-x root/root usr/lib/libqca.so.2.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/qca2.pc
drwxr-xr-x root/root usr/lib/qca/
-rw-r--r-- root/root usr/lib/qca/libqca.prl
lrwxrwxrwx root/root usr/lib/qca/libqca.so -> libqca.so.2.0.0
lrwxrwxrwx root/root usr/lib/qca/libqca.so.2 -> libqca.so.2.0.0
lrwxrwxrwx root/root usr/lib/qca/libqca.so.2.0 -> libqca.so.2.0.0
-rwxr-xr-x root/root usr/lib/qca/libqca.so.2.0.0
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/qcatool2.1.gz
@ -36,9 +33,6 @@ 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
lrwxrwxrwx root/root usr/share/qca/include -> /usr/include/qca
lrwxrwxrwx root/root usr/share/qca/lib -> /usr/lib/qca
-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,32 +6,16 @@
name=qca
version=2.0.0
release=5
source=(http://delta.affinix.com/download/${name}/2.0/${name}-${version}.tar.bz2)
release=6
source=(http://delta.affinix.com/download/$name/2.0/$name-$version.tar.bz2)
build() {
cd ${name}-${version}
cd $name-$version
./configure --prefix=/usr \
--qtdir=/usr/share/qt4 \
--includedir=/usr/include/qca \
--libdir=/usr/lib/qca
--qtdir=/usr/share/qt4
make
export INSTALL_ROOT=${PKG}
make install
mv ${PKG}/usr/share/man ${PKG}/usr
rm -f `find ${PKG} -name '*.debug'` `find ${PKG} -name 'README'`
mv ${PKG}/usr/bin/qcatool2 ${PKG}/usr/share/${name}/qcatool2
ln -sf /usr/include/qca ${PKG}/usr/share/${name}/include
ln -sf /usr/lib/qca ${PKG}/usr/share/${name}/lib
cat > ${PKG}/usr/bin/qcatool2 <<EOF
#!/bin/sh
export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/lib/qca
/usr/share/${name}/qcatool2
# End of file
EOF
chmod 0755 ${PKG}/usr/bin/qcatool2
ln -sf /usr/bin/qcatool2 ${PKG}/usr/bin/qcatool
make INSTALL_ROOT=$PKG install
mv $PKG/usr/share/man $PKG/usr
rm -f $(find $PKG -name '*.debug') $(find $PKG -name 'README')
}