wok-next view grantlee/receipt @ rev 20554
Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 16:49:09 2018 +0300 (2018-04-06) |
parents | c0521c689857 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="grantlee"
4 VERSION="5.1.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="Libraries for text templating with Qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/steveire/grantlee"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/grantlee.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://downloads.grantlee.org/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa-dev"
16 SPLIT="grantlee-dev"
18 compile_rules() {
19 mkdir build
20 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_BUILD_TYPE=Release \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 grantlee)
33 copy @std
34 DEPENDS="qt5-base qt5-script"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }