wok-next view grantlee/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | ab7c63b80420 |
children | 757d032c55c7 |
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 fix ld
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_BUILD_TYPE=Release \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 grantlee)
34 copy @std
35 DEPENDS="qt5-base qt5-script"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }