wok-next annotate grantlee/receipt @ rev 21531
updated busybox (1.27.2 -> 1.31.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 20 17:14:40 2020 +0100 (2020-06-20) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20405 | 1 # SliTaz package receipt v2. |
al@20405 | 2 |
al@20405 | 3 PACKAGE="grantlee" |
al@20405 | 4 VERSION="5.1.0" |
al@20405 | 5 CATEGORY="libdevel" |
al@20405 | 6 SHORT_DESC="Libraries for text templating with Qt" |
al@20405 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20405 | 8 LICENSE="LGPL2.1" |
al@20405 | 9 WEB_SITE="https://github.com/steveire/grantlee" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/grantlee.html" |
al@20405 | 11 |
al@20405 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20405 | 13 WGET_URL="http://downloads.grantlee.org/$TARBALL" |
al@20405 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@20405 | 17 |
al@20405 | 18 compile_rules() { |
al@20405 | 19 mkdir build |
al@20405 | 20 cd build |
al@20405 | 21 |
al@20405 | 22 cmake \ |
al@20405 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20405 | 24 -DCMAKE_BUILD_TYPE=Release \ |
al@20405 | 25 .. && |
al@20405 | 26 make && |
al@20405 | 27 make install |
al@20405 | 28 } |
al@20405 | 29 |
al@20405 | 30 genpkg_rules() { |
al@20405 | 31 case $PACKAGE in |
al@20405 | 32 grantlee) |
al@20405 | 33 copy @std |
al@20405 | 34 DEPENDS="qt5-base qt5-script" |
al@20405 | 35 ;; |
al@20405 | 36 *-dev) |
al@20405 | 37 copy @dev |
al@20405 | 38 ;; |
al@20405 | 39 esac |
al@20405 | 40 } |