wok-next view soprano/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 579bfd0929b6 |
children | d2950281f122 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="soprano"
4 VERSION="2.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Soprano is the Qt/C++ RDF framework"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://soprano.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cmake qmake Qt4-dev raptor-dev libiodbc-dev"
15 SPLIT="soprano-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .. &&
23 make && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 soprano)
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/soprano $fs/usr/lib
33 cp -a $install/usr/share $fs/usr
34 DEPENDS="libQtCore libQtNetwork raptor libiodbc"
35 ;;
36 *-dev)
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
40 ;;
41 esac
42 }