wok-next rev 20203
qca: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:41:01 2017 +0100 (2017-11-03) |
parents | e808dc893be0 |
children | 6ee7d8f3bc37 |
files | qca-dev/receipt qca/receipt |
line diff
1.1 --- a/qca-dev/receipt Fri Nov 03 22:12:56 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,22 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="qca-dev" 1.7 -VERSION="2.0.3" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="The qca devel files." 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -LICENSE="LGPL2.1" 1.12 -WANTED="qca" 1.13 -WEB_SITE="http://delta.affinix.com/qca/" 1.14 - 1.15 -DEPENDS="pkg-config" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib $fs/usr/share 1.21 - cp -a $install/usr/include $fs/usr 1.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 - cp -a $install/usr/lib/*.prl $fs/usr/lib 1.24 - cp -a $install/usr/share/qt $fs/usr/share 1.25 -}
2.1 --- a/qca/receipt Fri Nov 03 22:12:56 2017 +0100 2.2 +++ b/qca/receipt Fri Nov 03 22:41:01 2017 +0100 2.3 @@ -1,4 +1,4 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="qca" 2.8 VERSION="2.0.3" 2.9 @@ -10,13 +10,13 @@ 2.10 WEB_SITE="http://delta.affinix.com/qca/" 2.11 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL" 2.12 2.13 -DEPENDS="libQtCore" 2.14 BUILD_DEPENDS="Qt4-dev qmake" 2.15 +SPLIT="qca qca-dev" 2.16 2.17 # Rules to configure and make the package. 2.18 compile_rules() 2.19 { 2.20 - cd $src 2.21 + sed -i 's|set(in, n|this->&|' src/botantools/botan/botan/secmem.h 2.22 ./configure \ 2.23 --prefix=/usr \ 2.24 --certstore-path=/etc/ssl/certs/ca-certificates.crt \ 2.25 @@ -29,7 +29,21 @@ 2.26 # Rules to gen a SliTaz package suitable for Tazpkg. 2.27 genpkg_rules() 2.28 { 2.29 - mkdir -p $fs/usr/lib 2.30 - cp -a $install/usr/bin $fs/usr 2.31 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.32 + case $PACKAGE in 2.33 + qca) 2.34 + DEPENDS="libQtCore" 2.35 + mkdir -p $fs/usr/lib 2.36 + cp -a $install/usr/bin $fs/usr 2.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.38 + ;; 2.39 + qca-dev) 2.40 + CAT="development|The qca devel files." 2.41 + DEPENDS="pkg-config" 2.42 + mkdir -p $fs/usr/lib $fs/usr/share 2.43 + cp -a $install/usr/include $fs/usr 2.44 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.45 + cp -a $install/usr/lib/*.prl $fs/usr/lib 2.46 + cp -a $install/usr/share/qt $fs/usr/share 2.47 + ;; 2.48 + esac 2.49 }