rev |
line source |
pankso@9327
|
1 # SliTaz package receipt.
|
pankso@9327
|
2
|
pankso@9327
|
3 PACKAGE="qca"
|
pankso@9327
|
4 VERSION="2.0.3"
|
pankso@9327
|
5 CATEGORY="system-tools"
|
pankso@9327
|
6 SHORT_DESC="QCA aims to provide a straightforward and cross-platform crypto API"
|
pankso@9327
|
7 MAINTAINER="pankso@slitaz.org"
|
pascal@14996
|
8 LICENSE="LGPL2.1"
|
pankso@9327
|
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
|
pankso@9327
|
10 WEB_SITE="http://delta.affinix.com/qca/"
|
pankso@9327
|
11 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
|
pankso@9327
|
12
|
psychomaniak@17180
|
13 DEPENDS="libQtCore"
|
pascal@14996
|
14 BUILD_DEPENDS="Qt4-dev qmake"
|
pascal@14996
|
15
|
pankso@9327
|
16 # Rules to configure and make the package.
|
pankso@9327
|
17 compile_rules()
|
pankso@9327
|
18 {
|
pankso@9327
|
19 cd $src
|
pankso@9327
|
20 ./configure \
|
pankso@9327
|
21 --prefix=/usr \
|
pankso@9327
|
22 --certstore-path=/etc/ssl/certs/ca-certificates.crt \
|
pankso@9327
|
23 --disable-tests \
|
pankso@9327
|
24 --no-separate-debug-info \
|
pankso@9327
|
25 --release &&
|
pankso@9327
|
26 make && make INSTALL_ROOT=$WOK/$PACKAGE/install install
|
pankso@9327
|
27 }
|
pankso@9327
|
28
|
pankso@9327
|
29 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@9327
|
30 genpkg_rules()
|
pankso@9327
|
31 {
|
pankso@9327
|
32 mkdir -p $fs/usr/lib
|
pascal@14996
|
33 cp -a $install/usr/bin $fs/usr
|
pascal@14996
|
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
|
pankso@9327
|
35 }
|