wok annotate qca/receipt @ rev 12084

busybox: su should not chdir
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 09 18:20:06 2012 +0100 (2012-03-09)
parents
children 76b72f1ad63c
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"
pankso@9327 8 DEPENDS="qt4"
pankso@9327 9 BUILD_DEPENDS="Qt4-dev qmake"
pankso@9327 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@9327 11 WEB_SITE="http://delta.affinix.com/qca/"
pankso@9327 12 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
pankso@9327 13
pankso@9327 14 # Rules to configure and make the package.
pankso@9327 15 compile_rules()
pankso@9327 16 {
pankso@9327 17 cd $src
pankso@9327 18 ./configure \
pankso@9327 19 --prefix=/usr \
pankso@9327 20 --certstore-path=/etc/ssl/certs/ca-certificates.crt \
pankso@9327 21 --disable-tests \
pankso@9327 22 --no-separate-debug-info \
pankso@9327 23 --release &&
pankso@9327 24 make && make INSTALL_ROOT=$WOK/$PACKAGE/install install
pankso@9327 25 }
pankso@9327 26
pankso@9327 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9327 28 genpkg_rules()
pankso@9327 29 {
pankso@9327 30 mkdir -p $fs/usr/lib
pankso@9327 31 cp -a $_pkg/usr/bin $fs/usr
pankso@9327 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@9327 33 }