wok-next diff soprano/receipt @ rev 20790
1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 11:23:42 2018 +0000 (2018-06-09) |
parents | 579bfd0929b6 |
children | d2950281f122 |
line diff
1.1 --- a/soprano/receipt Sat Feb 22 11:27:57 2014 +0100 1.2 +++ b/soprano/receipt Sat Jun 09 11:23:42 2018 +0000 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="soprano" 1.8 VERSION="2.8.0" 1.9 @@ -6,29 +6,37 @@ 1.10 SHORT_DESC="Soprano is the Qt/C++ RDF framework" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://soprano.sourceforge.net/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://soprano.sourceforge.net/" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 -DEPENDS="libQtCore libQtNetwork raptor libiodbc" 1.20 BUILD_DEPENDS="cmake qmake Qt4-dev raptor-dev libiodbc-dev" 1.21 +SPLIT="soprano-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - mkdir -p build && cd build 1.27 +compile_rules() { 1.28 + mkdir build 1.29 + cd build 1.30 cmake \ 1.31 -DCMAKE_INSTALL_PREFIX=/usr \ 1.32 .. && 1.33 make && make install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib 1.40 - cp -a $install/usr/bin $fs/usr 1.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 - cp -a $install/usr/lib/soprano $fs/usr/lib 1.43 - cp -a $install/usr/share $fs/usr 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + soprano) 1.47 + mkdir -p $fs/usr/lib 1.48 + cp -a $install/usr/bin $fs/usr 1.49 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.50 + cp -a $install/usr/lib/soprano $fs/usr/lib 1.51 + cp -a $install/usr/share $fs/usr 1.52 + DEPENDS="libQtCore libQtNetwork raptor libiodbc" 1.53 + ;; 1.54 + *-dev) 1.55 + mkdir -p $fs/usr/lib 1.56 + cp -a $install/usr/include $fs/usr 1.57 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.58 + ;; 1.59 + esac 1.60 }