wok-next annotate soprano/receipt @ rev 21010
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 12 16:40:30 2018 +0300 (2018-10-12) |
parents | e323d0535e2c |
children | d5aab818505e |
rev | line source |
---|---|
al@20463 | 1 # SliTaz package receipt v2. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="soprano" |
pankso@15936 | 4 VERSION="2.8.0" |
pascal@11227 | 5 CATEGORY="system-tools" |
pascal@11227 | 6 SHORT_DESC="Soprano is the Qt/C++ RDF framework" |
pascal@11227 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20463 | 9 WEB_SITE="http://soprano.sourceforge.net/" |
al@20463 | 10 |
pascal@11227 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11227 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 13 |
pankso@15936 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev raptor-dev libiodbc-dev" |
al@20463 | 15 SPLIT="soprano-dev" |
pascal@15002 | 16 |
al@20463 | 17 compile_rules() { |
al@20463 | 18 mkdir build |
al@20463 | 19 cd build |
pascal@11227 | 20 cmake \ |
pascal@11227 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
pascal@11227 | 22 .. && |
al@20956 | 23 make && |
al@20956 | 24 make install |
pascal@11227 | 25 } |
pascal@11227 | 26 |
al@20463 | 27 genpkg_rules() { |
al@20463 | 28 case $PACKAGE in |
al@20463 | 29 soprano) |
al@20956 | 30 copy @std |
al@20463 | 31 DEPENDS="libQtCore libQtNetwork raptor libiodbc" |
al@20463 | 32 ;; |
al@20463 | 33 *-dev) |
al@20956 | 34 copy @dev |
al@20463 | 35 ;; |
al@20463 | 36 esac |
pascal@11227 | 37 } |